Public Member Functions |
| | DtRtiForwarderObserverMgr () |
| | Constructor.
|
| virtual | ~DtRtiForwarderObserverMgr () |
| | Destructor.
|
| virtual void | setForwarderNode (DtBoost::shared_ptr< DtForwarderNode > forwarder) |
| | Sets the forwarder to be observed.
|
| virtual void | addObserver (DtBoost::shared_ptr< DtRtiForwarderObserver > observer) |
| | Add a new RTI Forwarder observer.
|
| virtual void | removeObserver (DtBoost::shared_ptr< DtRtiForwarderObserver > observer) |
| | Remove RTI Forwarder observer.
|
| virtual void | removeAllObservers () |
| | Remove all RTI Forwarder observers.
|
| virtual void | addRtiMsgCallback (DtRtiMsgKind msgKind, DtRtiMsgCbMgr::DtCallbackFcn fcn, DtRtiForwarderObserver *observer, bool isMomCallback) |
| | Add callback for incoming RTI message.
|
| virtual void | removeRtiMsgCallback (DtRtiMsgKind msgKind, DtRtiMsgCbMgr::DtCallbackFcn fcn, DtRtiForwarderObserver *observer, bool isMomCallback) |
| | Remove callback for incoming RTI message.
|
| virtual int | clientToForwarderConnectionEstablished (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual int | clientToForwarderConnectionLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual void | clientToForwarderFederateJoined (const MAKRti::DtString &connName, const MAKRti::DtString &connType, const MAKRti::DtString &federationName, unsigned int connID, unsigned int fedHandle, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &hostName, unsigned int procesId, const MAKRti::DtString &processName, const MAKRti::DtString &commandArgs, DtHlaVersionId hlaVersion) |
| virtual int | clientToForwarderSocketQueueUpdate (unsigned int connId, int connQueueStatus) |
| virtual void | clientToForwarderFederateLost (const MAKRti::DtString &connName, const MAKRti::DtString &connType, unsigned int connID, unsigned int fedHandle, const DtInetAddrAndPort &connAddr) |
| virtual int | forwarderToForwarderExecConnected (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &connHost, bool fullyCompliant) |
| virtual int | forwarderToForwarderExecLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual int | clientToForwarderExecConnected (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &hostName, bool fullyCompliant) |
| virtual int | clientToForwarderExecLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual int | forwarderToForwarderConnectionEstablished (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual int | forwarderToForwarderConnectionLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr) |
| virtual void | waitingForFowrarderConnections (const DtForwarderPort::DtConnAndNameMap &allNeededFws, const DtForwarderPort::DtConnAndNameMap &stillNeededFws) |
| virtual void | notWaitingForFowrarderConnections () |
| virtual void | addTickCallback (DtTickCbFn fcn, DtRtiForwarderObserver *observer, MAKRti::DtTime interval) |
| | Add a tick callback function to be called periodically at the given time interval.
|
| virtual void | removeTickCallback (DtTickCbFn fcn, DtRtiForwarderObserver *observer) |
| | Remove tick callback.
|
| virtual unsigned long | connectionId () const |
| | Retrieve information about this node.
|
| virtual const DtInetAddrAndPort & | connectionAddr () const |
| virtual MAKRti::DtString | connectionName () const |
Static Public Member Functions |
| static int | clientToForwarderConnectionEstablished (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for established client<->forwarder connections.
|
| static int | clientToForwarderConnectionLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for lost client<->forwarder connections.
|
| static void | clientToForwarderFederateJoined (const MAKRti::DtString &connName, const MAKRti::DtString &connType, const MAKRti::DtString &federationName, unsigned int connID, unsigned int fedHandle, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &hostName, unsigned int procesId, const MAKRti::DtString &processName, const MAKRti::DtString &commandArgs, DtHlaVersionId hlaVersion, void *usr) |
| | Callback for established client<->forwarder connections.
|
| static int | clientToForwarderSocketQueueUpdate (unsigned int connId, int connQueueStatus, void *usr) |
| static void | clientToForwarderFederateLost (const MAKRti::DtString &connName, const MAKRti::DtString &connType, unsigned int connID, unsigned int fedHandle, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for lost client<->forwarder connections.
|
| static int | forwarderToForwarderExecConnected (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &connHost, bool fullyCompliant, void *usr) |
| | Callback for established forwarder<->forwarder rtiexec connections.
|
| static int | forwarderToForwarderExecLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for lost forwarder<->forwarder rtiexec connections.
|
| static int | clientToForwarderExecConnected (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, const MAKRti::DtString &hostName, bool fullyCompliant, void *usr) |
| | Callback for established client<->forwarder rtiexec connections.
|
| static int | clientToForwarderExecLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for lost client<->forwarder rtiexec connections.
|
| static int | forwarderToForwarderConnectionEstablished (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for established forwarder<->forwarder connections.
|
| static int | forwarderToForwarderConnectionLost (const MAKRti::DtString &connName, unsigned int connID, const DtInetAddrAndPort &connAddr, void *usr) |
| | Callback for lost forwarder<->forwarder connections.
|
| static void | waitingForFowrarderConnections (const DtForwarderPort::DtConnAndNameMap &allNeededFws, const DtForwarderPort::DtConnAndNameMap &stillNeededFws, void *usr) |
| | Callback to signal that forwarder is waiting for forwarder<->forwarder connections.
|
| static void | notWaitingForFowrarderConnections (void *usr) |
| | Callback to signal that forwarder is no longer waiting for forwarder<->forwarder connections.
|
The DtRtiForwarderObserverMgr is the class which manages all RTI Forwarder observers.