Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

SockEventBrokerC Class Reference

#include <sockeventbrokerc.h>

Inheritance diagram for SockEventBrokerC:

Inheritance graph
[legend]
Collaboration diagram for SockEventBrokerC:

Collaboration graph
[legend]
List of all members.

Public Methods

 SockEventBrokerC (const StringC &name, const StringC &endpoint, const char *)
 SockEventBrokerC ()
virtual ~SockEventBrokerC ()
virtual int AssignInterface (const StringC &, InterfaceC *)
virtual void InitializationReady ()
virtual int ProcessEvents ()

Protected Methods

void Init (const StringC &name, const StringC &endpoint, const char *)
void SetInitData (const char *, long)
void CalcInterfacesMaxLengths ()
virtual void Update ()
virtual void PostUpdate ()
virtual void Swap ()
virtual void SetSleep ()
virtual void SetWake ()
void ExchangeData ()
void BroadcastDataOfInterfaces (long &sockIter, long &dataIter)
void RecvDataOfInterfaces (long &sockIter, long &dataIter)
void WaitOnMaster ()
void SetDataOfInterfaces (char *data)
void SetDataOfInterfacesTCP (char *data, char *ownData)
void UpdateDatapackage ()
void CalcDataMinMaxLength ()
void WaitOnInitData (SockAddressC &)
void InitAsSlave ()
void InitAsNormal ()
void GetInterface (StringC interfacename, StringC trobjname, long &id, long &stype)
void ExchangeDataSlave ()
void ExchangeDataNormal ()
int ProcessEventsNormal ()
int ProcessEventsSlave ()

Protected Attributes

StringC m_name
SocketC m_socketToMaster
ByteArrayC m_data
ArrayC< ByteArrayCm_tmpdata
ArrayC< InterfaceC * > m_pInterface
ArrayC< long > m_interfaceDataAssignedLength
ArrayC< long > m_interfaceDataMinLength
ArrayC< long > m_interfaceDataMaxLength
long m_dataAssignedLength
long m_dataPresentLength
int m_datapackageUpdated
long m_dataPortBase
long m_anzahlTrObj
int m_init
int m_start
int m_dataBroadcasted
long m_anzahlDataPorts
StringC m_endpoint
SockAddressC m_udpAddressToMaster
ArrayC< SockAddressCm_dataBroadcastAddress
ArrayC< SocketC * > m_pUdpSocket
SocketCm_pUdpSocketSyncSwap
long m_broadcastBase
StringC m_broadcastNetAddr
long m_localType
char * m_szLocalIP
long * m_swapMsgData
long m_swapMsgDataSize
MsgDataStruct m_msgData

Constructor & Destructor Documentation

SockEventBrokerC::SockEventBrokerC const StringC   name,
const StringC   endpoint,
const char *   
 

SockEventBrokerC::SockEventBrokerC  
 

virtual SockEventBrokerC::~SockEventBrokerC   [virtual]
 


Member Function Documentation

virtual int SockEventBrokerC::AssignInterface const StringC  ,
InterfaceC  
[virtual]
 

Reimplemented from EventBrokerC.

void SockEventBrokerC::BroadcastDataOfInterfaces long &    sockIter,
long &    dataIter
[protected]
 

void SockEventBrokerC::CalcDataMinMaxLength   [protected]
 

void SockEventBrokerC::CalcInterfacesMaxLengths   [protected]
 

void SockEventBrokerC::ExchangeData   [protected]
 

void SockEventBrokerC::ExchangeDataNormal   [protected]
 

void SockEventBrokerC::ExchangeDataSlave   [protected]
 

void SockEventBrokerC::GetInterface StringC    interfacename,
StringC    trobjname,
long &    id,
long &    stype
[protected]
 

void SockEventBrokerC::Init const StringC   name,
const StringC   endpoint,
const char *   
[protected]
 

void SockEventBrokerC::InitAsNormal   [protected]
 

void SockEventBrokerC::InitAsSlave   [protected]
 

virtual void SockEventBrokerC::InitializationReady   [virtual]
 

Reimplemented from EventBrokerC.

virtual void SockEventBrokerC::PostUpdate   [protected, virtual]
 

Reimplemented in pfWinSockEventBrokerC.

virtual int SockEventBrokerC::ProcessEvents   [virtual]
 

Implements EventBrokerC.

int SockEventBrokerC::ProcessEventsNormal   [protected]
 

int SockEventBrokerC::ProcessEventsSlave   [protected]
 

void SockEventBrokerC::RecvDataOfInterfaces long &    sockIter,
long &    dataIter
[protected]
 

void SockEventBrokerC::SetDataOfInterfaces char *    data [protected]
 

void SockEventBrokerC::SetDataOfInterfacesTCP char *    data,
char *    ownData
[protected]
 

void SockEventBrokerC::SetInitData const char *   ,
long   
[protected]
 

virtual void SockEventBrokerC::SetSleep   [protected, virtual]
 

virtual void SockEventBrokerC::SetWake   [protected, virtual]
 

virtual void SockEventBrokerC::Swap   [protected, virtual]
 

virtual void SockEventBrokerC::Update   [protected, virtual]
 

void SockEventBrokerC::UpdateDatapackage   [protected]
 

void SockEventBrokerC::WaitOnInitData SockAddressC   [protected]
 

void SockEventBrokerC::WaitOnMaster   [protected]
 


Member Data Documentation

long SockEventBrokerC::m_anzahlDataPorts [protected]
 

Definition at line 136 of file sockeventbrokerc.h.

long SockEventBrokerC::m_anzahlTrObj [protected]
 

Definition at line 131 of file sockeventbrokerc.h.

long SockEventBrokerC::m_broadcastBase [protected]
 

Definition at line 146 of file sockeventbrokerc.h.

StringC SockEventBrokerC::m_broadcastNetAddr [protected]
 

Definition at line 147 of file sockeventbrokerc.h.

ByteArrayC SockEventBrokerC::m_data [protected]
 

Definition at line 118 of file sockeventbrokerc.h.

long SockEventBrokerC::m_dataAssignedLength [protected]
 

Definition at line 126 of file sockeventbrokerc.h.

ArrayC<SockAddressC> SockEventBrokerC::m_dataBroadcastAddress [protected]
 

Definition at line 141 of file sockeventbrokerc.h.

int SockEventBrokerC::m_dataBroadcasted [protected]
 

Definition at line 135 of file sockeventbrokerc.h.

int SockEventBrokerC::m_datapackageUpdated [protected]
 

Definition at line 128 of file sockeventbrokerc.h.

long SockEventBrokerC::m_dataPortBase [protected]
 

Definition at line 130 of file sockeventbrokerc.h.

long SockEventBrokerC::m_dataPresentLength [protected]
 

Definition at line 127 of file sockeventbrokerc.h.

StringC SockEventBrokerC::m_endpoint [protected]
 

Definition at line 138 of file sockeventbrokerc.h.

int SockEventBrokerC::m_init [protected]
 

Definition at line 133 of file sockeventbrokerc.h.

ArrayC<long> SockEventBrokerC::m_interfaceDataAssignedLength [protected]
 

Definition at line 122 of file sockeventbrokerc.h.

ArrayC<long> SockEventBrokerC::m_interfaceDataMaxLength [protected]
 

Definition at line 124 of file sockeventbrokerc.h.

ArrayC<long> SockEventBrokerC::m_interfaceDataMinLength [protected]
 

Definition at line 123 of file sockeventbrokerc.h.

long SockEventBrokerC::m_localType [protected]
 

Definition at line 150 of file sockeventbrokerc.h.

MsgDataStruct SockEventBrokerC::m_msgData [protected]
 

Definition at line 156 of file sockeventbrokerc.h.

StringC SockEventBrokerC::m_name [protected]
 

Definition at line 113 of file sockeventbrokerc.h.

ArrayC<InterfaceC*> SockEventBrokerC::m_pInterface [protected]
 

Definition at line 121 of file sockeventbrokerc.h.

ArrayC<SocketC*> SockEventBrokerC::m_pUdpSocket [protected]
 

Definition at line 143 of file sockeventbrokerc.h.

SocketC* SockEventBrokerC::m_pUdpSocketSyncSwap [protected]
 

Definition at line 144 of file sockeventbrokerc.h.

SocketC SockEventBrokerC::m_socketToMaster [protected]
 

Definition at line 116 of file sockeventbrokerc.h.

int SockEventBrokerC::m_start [protected]
 

Definition at line 134 of file sockeventbrokerc.h.

long* SockEventBrokerC::m_swapMsgData [protected]
 

Definition at line 153 of file sockeventbrokerc.h.

long SockEventBrokerC::m_swapMsgDataSize [protected]
 

Definition at line 154 of file sockeventbrokerc.h.

char* SockEventBrokerC::m_szLocalIP [protected]
 

Definition at line 151 of file sockeventbrokerc.h.

ArrayC<ByteArrayC> SockEventBrokerC::m_tmpdata [protected]
 

Definition at line 119 of file sockeventbrokerc.h.

SockAddressC SockEventBrokerC::m_udpAddressToMaster [protected]
 

Definition at line 140 of file sockeventbrokerc.h.


The documentation for this class was generated from the following file:
Generated on Tue Jul 29 14:31:01 2003 for Open ActiveWrl by doxygen1.3-rc2