![]() |
MAK RTIspy API Documentation for HLA 1516
|
Compiles federation information from rtiexecs and LRCs. More...
Inheritance diagram for DtAssistantFederationsInfoMgr:
Collaboration diagram for DtAssistantFederationsInfoMgr:Public Slots | |
| void | processLocalFederateJoined (int compId, const MAKRti::DtString &federateType, const MAKRti::DtString &federateName, unsigned federateHandle, const MAKRti::DtString &federationName, unsigned federationHandle, DtHlaVersionId hlaVersion) |
| Processes a local LRC joining a federation. | |
| void | processLocalFederateResigned (int compId) |
| Processes a local LRC resigning from its federation. | |
| void | processConnectionsUpdate (const DtRtiConnectionAndConfiguration &conns) |
| Processes changes in connection state. | |
| void | processConnectionsRemoval (const DtRtiConnectionAndConfiguration &conns) |
| Processes removal of known connections. | |
| void | sendAllFederationInfo () |
| Sends update messages for all local federations to remote assistants. | |
| void | pruneStaleFederationsAndObservers () |
| Removes any federations which have not been heartbeated and remote observers. | |
| void | startRtiexec (const DtRtiConnectionInfoDataPair &conn, const DtRtiConnectionConfigurationInfo &config, bool requestedRemotely=false) |
| Processes a request to start an rtiexec. | |
| void | updateFederateWarningTickInterval (float interval) |
| Updates the interval at which federates must tick in order to prevent warnings. | |
| void | sendObserveFederationsMsg () |
| Sends a message indicating the current connection whose federations are being observed by this assistant. | |
| void | processRtiexecWebServerChange (int compId) |
| Processes a change in local rtiexec info to see if we have obtained info on the rtiexec's web server. | |
Signals | |
| void | federationAdded (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName) |
| Emitted when a new federation is added. | |
| void | federationUpdated (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName) |
| Emitted when a federation is updated. | |
| void | federationRemoved (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName) |
| Emitted when a federation is destroyed. | |
| void | federateAdded (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, unsigned federateHandle) |
| Emitted when a new federate is added. | |
| void | federateUpdated (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, unsigned federateHandle) |
| Emitted when a federate is updated. | |
| void | federateRemoved (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, unsigned federateHandle) |
| Emitted when a federate is removed. | |
| void | rtiexecHasNoFederations (const DtRtiConnectionInfo &conn) |
| Emitted when an rtiexec response message is received with no federations. | |
| void | viewedWebSpyInfoUpdated (const MAKRti::DtInetAddr &addr, int port) |
| Emitted when the web spy info for the currently viewed connection is updated. | |
Public Member Functions | |
| DtAssistantFederationsInfoMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtBoost::shared_ptr< DtAssistantPreferencesInfoMgr > prefMgr, DtBoost::shared_ptr< DtAssistantComponentMgr > compMgr, DtBoost::shared_ptr< DtAssistantConnectionInfoMgr > connInfoMgr, const MAKRti::DtFilename &configDir) | |
| Constructor. | |
| ~DtAssistantFederationsInfoMgr () | |
| Destructor. | |
| virtual const DtAssistantFederationInfo * | federationInfo (const DtRtiConnectionInfo &conn, const MAKRti::DtString &name) const |
| Get information on the given federation. | |
| virtual const DtFederationStateByNameMap * | federations (const DtRtiConnectionInfo &conn) const |
| Get a list of federates in the given federation. | |
| virtual const DtAssistantFederateInfo * | federateInfo (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, unsigned federateHandle) |
| Get information on the given federate. | |
| virtual const DtFederateInfoByHandleMap * | federates (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName) const |
| Get a list of federates in the given federation. | |
| virtual int | localRtiexecCompId (const DtRtiConnectionInfo &conn) const |
| Returns the local component ID of the rtiexec on the given connection. | |
| virtual bool | isLocalRtiexecViewedRemotely (const DtRtiConnectionInfo &conn) const |
| Returns true if the connection is for a local rtiexec which is being viewed remotely. | |
| virtual void | tick () |
| Performs tasks that need to be completed periodically. | |
| virtual void | requestSingleUpdateFromConnectedRtiexecs (int id) |
| Performs a single data request of the connected rtiexecs. | |
| virtual void | pruneTimedOutSingleUpdates () |
| If there were rtiexec updates that timed out, we send back the incomplete msg. | |
| virtual void | viewFederationsForConnection (const DtRtiConnectionInfo &conn) |
| Tell the manager that the connection being viewed has changed. | |
Protected Types | |
| typedef std::map < DtAssistantInfo, bool > | DtRemoteObserversMap |
| typedef std::map < DtRtiConnectionInfo, DtRemoteObserversMap > | DtConnToObserversMap |
| typedef std::map < DtRtiConnectionInfo, DtFederationStateByNameMap > | DtConnToFederationStateMap |
| typedef std::map < DtRtiConnectionInfo, int > | DtConnToCompIdMap |
Protected Member Functions | |
| virtual void | processRtiexecConnUpdate (const DtRtiConnectionInfoDataPair &rtiexec) |
| Processes an update to an rtiexec connection. | |
| virtual void | processLightweightConnUpdate (const DtRtiConnectionInfoDataPair &conn) |
| Processes an update to a lightweight connection. | |
| virtual void | processConnectionRemoval (const DtRtiConnectionInfoDataPair &conn) |
| Processes the removal of a known connection. | |
| virtual bool | localFederateInfo (int compId, const DtAssistantFederateInfo **federate, DtAssistantFederationInfo **federation) |
| Returns the local federate info matching the given component ID. | |
Protected Attributes | |
| DtBoost::shared_ptr < DtAssistantPreferencesInfoMgr > | myPrefMgr |
| The preferences manager. | |
| DtBoost::shared_ptr < DtAssistantComponentMgr > | myCompMgr |
| The component manager. | |
| DtBoost::shared_ptr < DtAssistantConnectionInfoMgr > | myConnInfoMgr |
| The connection info manager. | |
| DtConnToFederationStateMap | myKnownFederations |
| All known information on all federations mapped by connection. | |
| DtConnToCompIdMap | myLocalRtiexecConns |
| Map of all connections which have an rtiexec running locally, mapped to the component ID of the local rtiexec. | |
| std::set< DtRtiConnectionInfo > | myRtiexecsRequestedForRemoteStart |
| The list of remote rtiexecs which have been started by this Assistant but have yet to be verified or failed to start. | |
| std::set< DtRtiConnectionInfo > | myRtiexecsStartedByRemoteRequest |
| The list of local rtiexecs whose startup was requested by remote Assistants but have yet to be verified or failed to start. | |
| DtConnToObserversMap | myRemotelyViewedConnections |
| Local connections currently being viewed by remote Assistants, and the set of all Assistants which are viewing them. | |
| DtRtiConnectionInfo | myViewedConnection |
| The connection currently being viewed at this Assistant. | |
| MAKRti::DtClock | myClock |
| Clock used to determine if we need to resend lost messages. | |
| unsigned int | myTimeStateUpdateInterval |
| The interval, in ms, at which local rtiexecs should be requested to send updated time state information. | |
| std::map< std::pair< int, MAKRti::DtTime >, std::map < int, MAKRti::DtString > > | myRequestedRtiexecUpdates |
| One time rtiexec updates that have been requested. | |
| float | myWarningTickInterval |
| Warning tick interval. | |
| MAKRti::DtTime | myLastTickTime |
| The last tick time. | |
| std::map< int, bool > | myFederateSignalTickMessages |
| Set of federate component ids and signal ticks. | |
Static Protected Attributes | |
| static const int | theTimeToWaitForExecInfo = 2 |
| The time, in seconds, to wait for information requested from a remote rtiexec. | |
Private Member Functions | |
| DtAssistantFederationsInfoMgr (DtAssistantFederationsInfoMgr const &) | |
| Copy Constructor not implemented -- Copy Not Allowed! | |
| DtAssistantFederationsInfoMgr & | operator= (DtAssistantFederationsInfoMgr const &) |
| Assignment not implemented -- Assignment Not Allowed! | |
Message Callbacks | |
| virtual void | processObserveMsg (const DtAssistantStateObserveMsg &msg) |
| Called by the callback function to process a federation observe message. | |
| virtual void | processExecObserveRspMsg (const DtAssistantExecObserveRspMsg &msg) |
| Called by the callback function to process an rtiexec observe response message. | |
| virtual void | processRemoteRtiexecPopupMsg (const DtAssistantPopupMsg &msg) |
| Called by the callback function to process a remote rtiexec popup msg. | |
| virtual void | processFederationStateMsg (const DtAssistantFederationStateMsg &msg) |
| Called by the callback function to process a federation state message from a local rtiexec or remote assistant. | |
| virtual void | processFederateStateMsg (const DtAssistantFederateStateMsg &msg) |
| Called by the callback function to process a federate state message from a local rtiexec. | |
| virtual void | processExecStateMsgForConnection (const DtAssistantExecStateMsg &msg) |
| Called by the callback function to process a federation state message on behalf of an rtiAssistanttoAssistantClient that requested the data. | |
| virtual void | processTimeStateMsg (const DtAssistantTimeStateMsg &msg) |
| Called by the callback function to process a time state message from a local rtiexec. | |
| virtual void | processSyncPtStateMsg (const DtAssistantSyncPtUpdateMsg &msg) |
| Called by the callback function to process a synchronization point state message. | |
| virtual void | processAssistantCommandMsg (const DtAssistantCommandMsg &msg) |
| Processes an RTI Assistant command message. | |
| virtual void | forwardMsgToLocalRtiexec (const DtAssistantMsg &msg, bool sendOnlyIfCommandsAccepted=false) |
| Called by callback functions to simply forward a message to a local rtiexec. | |
| virtual void | forwardMsgFromLocalRtiexec (const DtAssistantMsg &msg) |
| Called by the callback function to forward a local rtiexec message to remote assistants. | |
| virtual void | processSignalTickedMsg (const DtAssistantSignalTickedMsg &msg) |
| Called by the callback function to process the signal ticked message. | |
| static void | processObserveMsg (const DtAssistantStateObserveMsg &msg, void *usr) |
| Callback to process a federation observe message. | |
| static void | processExecObserveRspMsg (const DtAssistantExecObserveRspMsg &msg, void *usr) |
| Callback to process an rtiexec observe response message. | |
| static void | processRemoteRtiexecPopupMsg (const DtAssistantPopupMsg &msg, void *usr) |
| Callback to process a popup message from a remote rtiexec. | |
| static void | processFederationStateMsg (const DtAssistantFederationStateMsg &msg, void *usr) |
| Callback to process a federation state message from a local rtiexec or remote assistant. | |
| static void | processFederateStateMsg (const DtAssistantFederateStateMsg &msg, void *usr) |
| Callback to process a federate state message from a local rtiexec. | |
| static void | processExecStateMsgForConnection (const DtAssistantExecStateMsg &msg, void *usr) |
| Called to process a exec state message on behalf of an rtiAssistanttoAssistantClient that requested the data. | |
| static void | processTimeStateMsg (const DtAssistantTimeStateMsg &msg, void *usr) |
| Callback to process a time state message from a local rtiexec. | |
| static void | processSyncPtStateMsg (const DtAssistantSyncPtUpdateMsg &msg, void *usr) |
| Callback to process a synchronization point state message. | |
| static void | processAssistantCommandMsg (const DtAssistantCommandMsg &msg, void *usr) |
| Processes an RTI Assistant command message. | |
| static void | processFederateDeleteMsg (const DtAssistantDeleteFederateMsg &msg, void *usr) |
| Callback to process a federate delete message. | |
| static void | processFederationDeleteMsg (const DtAssistantDeleteFederationMsg &msg, void *usr) |
| Callback to process a federation delete message. | |
| static void | forwardRtiexecNotifyMsg (const DtAssistantNotifyMsg &msg, void *usr) |
| Callback to forward a notify message from a local rtiexec to a remote assistant. | |
| static void | forwardRtiexecPopupMsg (const DtAssistantPopupMsg &msg, void *usr) |
| Callback to forward a popup message from a local rtiexec to a remote assistant. | |
| static void | forwardRtiexecLogMsg (const DtAssistantLogMsg &msg, void *usr) |
| Callback to forward a log message from a local rtiexec to a remote assistant. | |
| static void | forwardLogRequestMsg (const DtAssistantLogRequestMsg &msg, void *usr) |
| Callback to process a log request from a remote peer for a local rtiexec. | |
| static void | forwardRtiexecExitMsg (const DtAssistantExitMsg &msg, void *usr) |
| Callback to process a request from a remote peer to shutdown a local rtiexec. | |
| static void | processSignalTickedMsg (const DtAssistantSignalTickedMsg &msg, void *usr) |
| Callback to process a signal ticked message from a federate. | |
Compiles federation information from rtiexecs and LRCs.
typedef std::map< DtRtiConnectionInfo, int > DtAssistantFederationsInfoMgr::DtConnToCompIdMap [protected] |
typedef std::map< DtRtiConnectionInfo, DtFederationStateByNameMap > DtAssistantFederationsInfoMgr::DtConnToFederationStateMap [protected] |
typedef std::map< DtRtiConnectionInfo, DtRemoteObserversMap > DtAssistantFederationsInfoMgr::DtConnToObserversMap [protected] |
typedef std::map< DtAssistantInfo, bool > DtAssistantFederationsInfoMgr::DtRemoteObserversMap [protected] |
| DtAssistantFederationsInfoMgr::DtAssistantFederationsInfoMgr | ( | DtBoost::shared_ptr< DtRtiAssistantServer > | server, |
| DtBoost::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtBoost::shared_ptr< DtAssistantPreferencesInfoMgr > | prefMgr, | ||
| DtBoost::shared_ptr< DtAssistantComponentMgr > | compMgr, | ||
| DtBoost::shared_ptr< DtAssistantConnectionInfoMgr > | connInfoMgr, | ||
| const MAKRti::DtFilename & | configDir | ||
| ) |
Constructor.
References DtAssistantSignalTickedMsg::addCallback(), DtAssistantExitMsg::addCallback(), DtAssistantLogRequestMsg::addCallback(), DtAssistantDeleteFederationMsg::addCallback(), DtAssistantTimeStateMsg::addCallback(), DtAssistantDeleteFederateMsg::addCallback(), DtAssistantLogMsg::addCallback(), DtAssistantExecObserveRspMsg::addCallback(), DtAssistantPopupMsg::addCallback(), DtAssistantNotifyMsg::addCallback(), DtAssistantSyncPtUpdateMsg::addCallback(), DtAssistantCommandMsg::addCallback(), DtAssistantStateObserveMsg::addCallback(), DtAssistantFederationStateMsg::addCallback(), DtAssistantFederateStateMsg::addCallback(), connect(), forwardLogRequestMsg(), forwardRtiexecExitMsg(), forwardRtiexecLogMsg(), forwardRtiexecNotifyMsg(), forwardRtiexecPopupMsg(), myClock, myCompMgr, myConnInfoMgr, DtAssistantMgr::myPeer, myPrefMgr, DtAssistantMgr::myServer, processAssistantCommandMsg(), processConnectionsUpdate(), processExecObserveRspMsg(), processFederateDeleteMsg(), processFederateStateMsg(), processFederationDeleteMsg(), processFederationStateMsg(), processLocalFederateJoined(), processLocalFederateResigned(), processObserveMsg(), processRemoteRtiexecPopupMsg(), processRtiexecWebServerChange(), processSignalTickedMsg(), processSyncPtStateMsg(), processTimeStateMsg(), pruneStaleFederationsAndObservers(), sendAllFederationInfo(), sendObserveFederationsMsg(), startRtiexec(), and updateFederateWarningTickInterval().
Destructor.
References forwardLogRequestMsg(), forwardRtiexecExitMsg(), forwardRtiexecLogMsg(), forwardRtiexecNotifyMsg(), forwardRtiexecPopupMsg(), DtAssistantMgr::myPeer, DtAssistantMgr::myServer, processAssistantCommandMsg(), processExecObserveRspMsg(), processFederateDeleteMsg(), processFederateStateMsg(), processFederationDeleteMsg(), processFederationStateMsg(), processObserveMsg(), processRemoteRtiexecPopupMsg(), processSignalTickedMsg(), processSyncPtStateMsg(), processTimeStateMsg(), DtAssistantSignalTickedMsg::removeCallback(), DtAssistantExitMsg::removeCallback(), DtAssistantLogRequestMsg::removeCallback(), DtAssistantDeleteFederationMsg::removeCallback(), DtAssistantTimeStateMsg::removeCallback(), DtAssistantDeleteFederateMsg::removeCallback(), DtAssistantLogMsg::removeCallback(), DtAssistantExecObserveRspMsg::removeCallback(), DtAssistantNotifyMsg::removeCallback(), DtAssistantPopupMsg::removeCallback(), DtAssistantSyncPtUpdateMsg::removeCallback(), DtAssistantCommandMsg::removeCallback(), DtAssistantStateObserveMsg::removeCallback(), DtAssistantFederationStateMsg::removeCallback(), and DtAssistantFederateStateMsg::removeCallback().
| DtAssistantFederationsInfoMgr::DtAssistantFederationsInfoMgr | ( | DtAssistantFederationsInfoMgr const & | ) | [private] |
Copy Constructor not implemented -- Copy Not Allowed!
| void DtAssistantFederationsInfoMgr::federateAdded | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName, | ||
| unsigned | federateHandle | ||
| ) | [signal] |
Emitted when a new federate is added.
Referenced by processLocalFederateJoined().
| const DtAssistantFederateInfo * DtAssistantFederationsInfoMgr::federateInfo | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName, | ||
| unsigned | federateHandle | ||
| ) | [virtual] |
Get information on the given federate.
References DtAssistantFederationInfo::federateInfo(), and federationInfo().
Referenced by processLocalFederateJoined().
| void DtAssistantFederationsInfoMgr::federateRemoved | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName, | ||
| unsigned | federateHandle | ||
| ) | [signal] |
Emitted when a federate is removed.
Referenced by processFederateStateMsg(), processLocalFederateResigned(), and pruneStaleFederationsAndObservers().
| const DtFederateInfoByHandleMap * DtAssistantFederationsInfoMgr::federates | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName | ||
| ) | const [virtual] |
Get a list of federates in the given federation.
References DtAssistantFederationInfo::federates(), and federationInfo().
| void DtAssistantFederationsInfoMgr::federateUpdated | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName, | ||
| unsigned | federateHandle | ||
| ) | [signal] |
Emitted when a federate is updated.
Referenced by processFederateStateMsg().
| void DtAssistantFederationsInfoMgr::federationAdded | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName | ||
| ) | [signal] |
Emitted when a new federation is added.
Referenced by processLocalFederateJoined().
| const DtAssistantFederationInfo * DtAssistantFederationsInfoMgr::federationInfo | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | name | ||
| ) | const [virtual] |
Get information on the given federation.
References myKnownFederations.
Referenced by federateInfo(), federates(), and processLocalFederateJoined().
| void DtAssistantFederationsInfoMgr::federationRemoved | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName | ||
| ) | [signal] |
Emitted when a federation is destroyed.
Referenced by processFederationStateMsg(), processLocalFederateResigned(), and pruneStaleFederationsAndObservers().
| const DtFederationStateByNameMap * DtAssistantFederationsInfoMgr::federations | ( | const DtRtiConnectionInfo & | conn | ) | const [virtual] |
Get a list of federates in the given federation.
References myKnownFederations.
Referenced by viewFederationsForConnection().
| void DtAssistantFederationsInfoMgr::federationUpdated | ( | const DtRtiConnectionInfo & | conn, |
| const MAKRti::DtString & | federationName | ||
| ) | [signal] |
Emitted when a federation is updated.
Referenced by processFederationStateMsg(), processSyncPtStateMsg(), and processTimeStateMsg().
| void DtAssistantFederationsInfoMgr::forwardLogRequestMsg | ( | const DtAssistantLogRequestMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a log request from a remote peer for a local rtiexec.
References forwardMsgToLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::forwardMsgFromLocalRtiexec | ( | const DtAssistantMsg & | msg | ) | [virtual] |
Called by the callback function to forward a local rtiexec message to remote assistants.
References DtAssistantComponentInfo::compId(), DtAssistantComponentInfo::compType(), DtAssistantComponentInfo::connUsed(), DtAssistantRtiexecComponent, myCompMgr, DtAssistantMgr::myPeer, myRemotelyViewedConnections, myRtiexecsStartedByRemoteRequest, and DtAssistantMgr::myServer.
Referenced by forwardRtiexecLogMsg(), forwardRtiexecNotifyMsg(), and forwardRtiexecPopupMsg().
| void DtAssistantFederationsInfoMgr::forwardMsgToLocalRtiexec | ( | const DtAssistantMsg & | msg, |
| bool | sendOnlyIfCommandsAccepted = false |
||
| ) | [virtual] |
Called by callback functions to simply forward a message to a local rtiexec.
Can optionally specify that the command should only be sent if remote commands are accepted.
References myConnInfoMgr, and DtAssistantMgr::myServer.
Referenced by forwardLogRequestMsg(), forwardRtiexecExitMsg(), processFederateDeleteMsg(), and processFederationDeleteMsg().
| void DtAssistantFederationsInfoMgr::forwardRtiexecExitMsg | ( | const DtAssistantExitMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a request from a remote peer to shutdown a local rtiexec.
References forwardMsgToLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::forwardRtiexecLogMsg | ( | const DtAssistantLogMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to forward a log message from a local rtiexec to a remote assistant.
References forwardMsgFromLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::forwardRtiexecNotifyMsg | ( | const DtAssistantNotifyMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to forward a notify message from a local rtiexec to a remote assistant.
References forwardMsgFromLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::forwardRtiexecPopupMsg | ( | const DtAssistantPopupMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to forward a popup message from a local rtiexec to a remote assistant.
References forwardMsgFromLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| bool DtAssistantFederationsInfoMgr::isLocalRtiexecViewedRemotely | ( | const DtRtiConnectionInfo & | conn | ) | const [virtual] |
Returns true if the connection is for a local rtiexec which is being viewed remotely.
References myRemotelyViewedConnections.
| bool DtAssistantFederationsInfoMgr::localFederateInfo | ( | int | compId, |
| const DtAssistantFederateInfo ** | federate, | ||
| DtAssistantFederationInfo ** | federation | ||
| ) | [protected, virtual] |
Returns the local federate info matching the given component ID.
Returns false if it could not be found.
References DtAssistantComponentInfo::connUsed(), myCompMgr, and myKnownFederations.
Referenced by processLocalFederateResigned(), and tick().
| int DtAssistantFederationsInfoMgr::localRtiexecCompId | ( | const DtRtiConnectionInfo & | conn | ) | const [virtual] |
Returns the local component ID of the rtiexec on the given connection.
If the rtiexec is not local, -1 is returned.
References myLocalRtiexecConns.
Referenced by viewFederationsForConnection().
| DtAssistantFederationsInfoMgr& DtAssistantFederationsInfoMgr::operator= | ( | DtAssistantFederationsInfoMgr const & | ) | [private] |
Assignment not implemented -- Assignment Not Allowed!
| void DtAssistantFederationsInfoMgr::processAssistantCommandMsg | ( | const DtAssistantCommandMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Processes an RTI Assistant command message.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processAssistantCommandMsg | ( | const DtAssistantCommandMsg & | msg | ) | [virtual] |
Processes an RTI Assistant command message.
References DtAssistantCommandMsg::commandType(), DtAssistantComponentInfo::compType(), DtAssistantCommandDeleteFederate, DtAssistantCommandKill, DtAssistantCommandList, DtAssistantCommandListForwarder, DtAssistantCommandListRtiExec, DtAssistantRtiexecComponent, myCompMgr, DtAssistantMgr::myServer, requestSingleUpdateFromConnectedRtiexecs(), DtAssistantCommandMsg::setIsAssistantToAssistant(), DtAssistantCommandMsg::setMessageString(), DtAssistantCommandMsg::targetAssistantComponentId(), DtAssistantCommandMsg::targetFederateHandle(), and DtAssistantCommandMsg::targetFederationHandle().
| void DtAssistantFederationsInfoMgr::processConnectionRemoval | ( | const DtRtiConnectionInfoDataPair & | conn | ) | [protected, virtual] |
Processes the removal of a known connection.
References myKnownFederations, myLocalRtiexecConns, and myRemotelyViewedConnections.
Referenced by processConnectionsRemoval(), processLightweightConnUpdate(), and processRtiexecConnUpdate().
| void DtAssistantFederationsInfoMgr::processConnectionsRemoval | ( | const DtRtiConnectionAndConfiguration & | conns | ) | [slot] |
Processes removal of known connections.
References DtRtiConnectionAndConfiguration::connections(), and processConnectionRemoval().
| void DtAssistantFederationsInfoMgr::processConnectionsUpdate | ( | const DtRtiConnectionAndConfiguration & | conns | ) | [slot] |
Processes changes in connection state.
References DtRtiConnectionAndConfiguration::connections(), processLightweightConnUpdate(), and processRtiexecConnUpdate().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processExecObserveRspMsg | ( | const DtAssistantExecObserveRspMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process an rtiexec observe response message.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processExecObserveRspMsg | ( | const DtAssistantExecObserveRspMsg & | msg | ) | [virtual] |
Called by the callback function to process an rtiexec observe response message.
References DtAssistantMsg::compId(), DtAssistantMsg::isAssistantToAssistantMessage(), DtRtiConnectionInfo::isValid(), myConnInfoMgr, DtAssistantMgr::myPeer, myViewedConnection, DtAssistantMsg::sourceAddr(), DtAssistantMsg::sourceHost(), DtAssistantMsg::sourceId(), viewedWebSpyInfoUpdated(), DtAssistantExecObserveRspMsg::webServerIp(), and DtAssistantExecObserveRspMsg::webServerPort().
| void DtAssistantFederationsInfoMgr::processExecStateMsgForConnection | ( | const DtAssistantExecStateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Called to process a exec state message on behalf of an rtiAssistanttoAssistantClient that requested the data.
Referenced by processExecStateMsgForConnection(), pruneTimedOutSingleUpdates(), and requestSingleUpdateFromConnectedRtiexecs().
| void DtAssistantFederationsInfoMgr::processExecStateMsgForConnection | ( | const DtAssistantExecStateMsg & | msg | ) | [virtual] |
Called by the callback function to process a federation state message on behalf of an rtiAssistanttoAssistantClient that requested the data.
References myCompMgr, myRequestedRtiexecUpdates, DtAssistantMgr::myServer, processExecStateMsgForConnection(), and DtAssistantExecStateMsg::removeCallback().
| void DtAssistantFederationsInfoMgr::processFederateDeleteMsg | ( | const DtAssistantDeleteFederateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a federate delete message.
References forwardMsgToLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processFederateStateMsg | ( | const DtAssistantFederateStateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a federate state message from a local rtiexec.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processFederateStateMsg | ( | const DtAssistantFederateStateMsg & | msg | ) | [virtual] |
Called by the callback function to process a federate state message from a local rtiexec.
References DtAssistantFederateStateMsg::connectionId(), DtAssistantComponentInfo::connUsed(), DtAssistantFederateStateMsg::federateHandle(), DtAssistantFederateInfo::federateHandle(), DtAssistantFederateStateMsg::federateHostIp(), DtAssistantFederateStateMsg::federateHostName(), DtAssistantFederateStateMsg::federateName(), federateRemoved(), DtAssistantFederateStateMsg::federateType(), federateUpdated(), DtAssistantFederateStateMsg::federationName(), DtAssistantFederateStateMsg::hlaVersion(), DtAssistantFederateStateMsg::isContinuousTest(), DtAssistantFederateStateMsg::isDisconnected(), DtAssistantFederateStateMsg::isReconnecting(), DtAssistantFederateStateMsg::isRemoval(), DtAssistantFederateStateMsg::isTestEnabled(), DtAssistantFederateStateMsg::isTestInProgress(), myCompMgr, myKnownFederations, DtAssistantMgr::myServer, DtAssistantFederateStateMsg::numInitiatedTests(), DtAssistantFederateStateMsg::numTestReports(), DtAssistantFederateInfo::setConnId(), DtAssistantFederateInfo::setContinuousTest(), DtAssistantFederateInfo::setFederateHandle(), DtAssistantFederateInfo::setFederateHostAddr(), DtAssistantFederateInfo::setFederateHostName(), DtAssistantFederateInfo::setFederateName(), DtAssistantFederateInfo::setFederateType(), DtAssistantFederateInfo::setHeartbeated(), DtAssistantFederateInfo::setHlaVersion(), DtAssistantFederateInfo::setIsDisconnected(), DtAssistantFederateInfo::setIsReconnecting(), DtAssistantFederateInfo::setNumInitiatedTests(), DtAssistantFederateInfo::setNumTestReports(), DtAssistantFederateInfo::setTestEnabled(), DtAssistantFederateInfo::setTestInProgress(), DtAssistantFederateInfo::setWebSpyAddr(), DtAssistantFederateInfo::setWebSpyHttpPort(), DtAssistantFederateStateMsg::webServerIp(), and DtAssistantFederateStateMsg::webServerPort().
| void DtAssistantFederationsInfoMgr::processFederationDeleteMsg | ( | const DtAssistantDeleteFederationMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a federation delete message.
References forwardMsgToLocalRtiexec().
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processFederationStateMsg | ( | const DtAssistantFederationStateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a federation state message from a local rtiexec or remote assistant.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processFederationStateMsg | ( | const DtAssistantFederationStateMsg & | msg | ) | [virtual] |
Called by the callback function to process a federation state message from a local rtiexec or remote assistant.
References DtAssistantComponentInfo::connUsed(), DtAssistantFederationInfo::enableTesting(), DtAssistantFederationStateMsg::federationHandle(), DtAssistantFederationInfo::federationName(), DtAssistantFederationStateMsg::federationName(), federationRemoved(), federationUpdated(), DtAssistantFederationStateMsg::getConnection(), DtAssistantFederationStateMsg::getFomModules(), DtAssistantFederationStateMsg::getUpdatedFederateStates(), DtAssistantMsg::isAssistantToAssistantMessage(), DtAssistantFederationStateMsg::isRemoval(), DtAssistantFederationStateMsg::isTestEnabled(), myCompMgr, myConnInfoMgr, myKnownFederations, DtAssistantMgr::myPeer, myRemotelyViewedConnections, DtAssistantMgr::myServer, DtAssistantFederationStateMsg::noFederations(), DtAssistantFederationInfo::replaceFederateList(), rtiexecHasNoFederations(), DtAssistantFederationInfo::setFederationHandle(), DtAssistantFederationInfo::setFederationName(), DtAssistantFederationInfo::setFomModules(), DtAssistantFederationInfo::setHeartbeated(), and DtAssistantFederationInfo::updateFederates().
| void DtAssistantFederationsInfoMgr::processLightweightConnUpdate | ( | const DtRtiConnectionInfoDataPair & | conn | ) | [protected, virtual] |
Processes an update to a lightweight connection.
References myKnownFederations, and processConnectionRemoval().
Referenced by processConnectionsUpdate().
| void DtAssistantFederationsInfoMgr::processLocalFederateJoined | ( | int | compId, |
| const MAKRti::DtString & | federateType, | ||
| const MAKRti::DtString & | federateName, | ||
| unsigned | federateHandle, | ||
| const MAKRti::DtString & | federationName, | ||
| unsigned | federationHandle, | ||
| DtHlaVersionId | hlaVersion | ||
| ) | [slot] |
Processes a local LRC joining a federation.
References DtAssistantComponentInfo::compId(), DtAssistantComponentInfo::connUsed(), DtGetLocalHostName(), DtAssistantFederationInfo::enableTesting(), federateAdded(), federateInfo(), federationAdded(), federationInfo(), federationName(), myCompMgr, myKnownFederations, DtAssistantMgr::myServer, myWarningTickInterval, DtAssistantFederateInfo::setConnId(), DtAssistantFederateInfo::setFederateHandle(), DtAssistantFederateInfo::setFederateHostAddr(), DtAssistantFederateInfo::setFederateHostName(), DtAssistantFederateInfo::setFederateName(), DtAssistantFederateInfo::setFederateType(), DtAssistantFederateInfo::setHlaVersion(), DtAssistantFederateInfo::setLocalCompId(), DtAssistantFederateInfo::setWebSpyAddr(), DtAssistantFederateInfo::setWebSpyHttpPort(), DtAssistantFederateInfo::setWebSpyId(), DtAssistantFederateInfo::setWebSpyRtiPort(), DtAssistantComponentInfo::webSpyAddr(), DtAssistantComponentInfo::webSpyHttpPort(), DtAssistantComponentInfo::webSpyId(), and DtAssistantComponentInfo::webSpyRtiPort().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processLocalFederateResigned | ( | int | compId | ) | [slot] |
Processes a local LRC resigning from its federation.
References DtAssistantComponentInfo::connUsed(), DtAssistantFederateInfo::federateHandle(), federateRemoved(), DtAssistantFederationInfo::federationName(), federationRemoved(), localFederateInfo(), myCompMgr, myFederateSignalTickMessages, myKnownFederations, DtAssistantFederationInfo::numFederates(), and DtAssistantFederationInfo::removeFederate().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processObserveMsg | ( | const DtAssistantStateObserveMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a federation observe message.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processObserveMsg | ( | const DtAssistantStateObserveMsg & | msg | ) | [virtual] |
Called by the callback function to process a federation observe message.
References DtAssistantComponentInfo::compId(), DtAssistantMsg::compId(), DtAssistantStateObserveFederationsOrRtiexec, DtAssistantStateObserveMsg::getConnection(), DtAssistantMsg::isAssistantToAssistantMessage(), DtAssistantStateObserveMsg::isLogRequest(), DtAssistantStateObserveMsg::isObserved(), myCompMgr, myKnownFederations, myLocalRtiexecConns, DtAssistantMgr::myPeer, myRemotelyViewedConnections, DtAssistantMgr::myServer, myTimeStateUpdateInterval, myViewedConnection, DtAssistantComponentInfo::notifyLevel(), DtAssistantMsg::sourceAddr(), DtAssistantMsg::sourceHost(), DtAssistantMsg::sourceId(), DtAssistantStateObserveMsg::targetType(), DtRtiConnectionInfo::useRtiexec(), DtAssistantComponentInfo::webSpyAddr(), and DtAssistantComponentInfo::webSpyHttpPort().
| void DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg | ( | const DtAssistantPopupMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a popup message from a remote rtiexec.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processRemoteRtiexecPopupMsg | ( | const DtAssistantPopupMsg & | msg | ) | [virtual] |
Called by the callback function to process a remote rtiexec popup msg.
References DtAssistantPopupMsg::advancedText(), DtAssistantMsg::compId(), myConnInfoMgr, DtAssistantMgr::myPeer, myRtiexecsRequestedForRemoteStart, myViewedConnection, DtAssistantMgr::showPopup(), DtAssistantMsg::sourceAddr(), DtAssistantMsg::sourceHost(), DtAssistantMsg::sourceId(), and DtAssistantPopupMsg::text().
| void DtAssistantFederationsInfoMgr::processRtiexecConnUpdate | ( | const DtRtiConnectionInfoDataPair & | rtiexec | ) | [protected, virtual] |
Processes an update to an rtiexec connection.
References myKnownFederations, myLocalRtiexecConns, myRtiexecsStartedByRemoteRequest, and processConnectionRemoval().
Referenced by processConnectionsUpdate().
| void DtAssistantFederationsInfoMgr::processRtiexecWebServerChange | ( | int | compId | ) | [slot] |
Processes a change in local rtiexec info to see if we have obtained info on the rtiexec's web server.
References DtAssistantComponentInfo::connUsed(), DtRtiConnectionInfo::isValid(), myCompMgr, myViewedConnection, viewedWebSpyInfoUpdated(), DtAssistantComponentInfo::webSpyAddr(), and DtAssistantComponentInfo::webSpyHttpPort().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processSignalTickedMsg | ( | const DtAssistantSignalTickedMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a signal ticked message from a federate.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processSignalTickedMsg | ( | const DtAssistantSignalTickedMsg & | msg | ) | [virtual] |
Called by the callback function to process the signal ticked message.
References myFederateSignalTickMessages, DtAssistantMgr::myServer, and true.
| void DtAssistantFederationsInfoMgr::processSyncPtStateMsg | ( | const DtAssistantSyncPtUpdateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a synchronization point state message.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processSyncPtStateMsg | ( | const DtAssistantSyncPtUpdateMsg & | msg | ) | [virtual] |
Called by the callback function to process a synchronization point state message.
References DtAssistantMsg::compId(), DtAssistantComponentInfo::connUsed(), DtAssistantSyncPtUpdateMsg::federationName(), federationUpdated(), DtAssistantSyncPtUpdateMsg::getPendingAndAchieved(), DtAssistantMsg::isAssistantToAssistantMessage(), DtAssistantSyncPtUpdateMsg::isRemoval(), myCompMgr, myConnInfoMgr, myKnownFederations, DtAssistantMgr::myPeer, myRemotelyViewedConnections, DtAssistantMgr::myServer, DtAssistantMsg::sourceAddr(), DtAssistantMsg::sourceHost(), DtAssistantMsg::sourceId(), and DtAssistantSyncPtUpdateMsg::syncPtName().
| void DtAssistantFederationsInfoMgr::processTimeStateMsg | ( | const DtAssistantTimeStateMsg & | msg, |
| void * | usr | ||
| ) | [static] |
Callback to process a time state message from a local rtiexec.
Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::processTimeStateMsg | ( | const DtAssistantTimeStateMsg & | msg | ) | [virtual] |
Called by the callback function to process a time state message from a local rtiexec.
References DtAssistantComponentInfo::connUsed(), DtAssistantTimeStateMsg::federationName(), federationUpdated(), DtAssistantTimeStateMsg::getFederateTimeStates(), myCompMgr, myKnownFederations, and DtAssistantMgr::myServer.
| void DtAssistantFederationsInfoMgr::pruneStaleFederationsAndObservers | ( | ) | [slot] |
Removes any federations which have not been heartbeated and remote observers.
References federateRemoved(), DtAssistantFederationInfo::federates(), DtAssistantFederationInfo::federationName(), federationRemoved(), DtAssistantFederationInfo::heartbeated(), myConnInfoMgr, myKnownFederations, myLocalRtiexecConns, myRemotelyViewedConnections, DtAssistantMgr::myServer, myTimeStateUpdateInterval, myViewedConnection, DtAssistantFederationInfo::numLocalFederates(), DtAssistantFederationInfo::removeFederate(), and DtAssistantFederationInfo::setHeartbeated().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::pruneTimedOutSingleUpdates | ( | ) | [virtual] |
If there were rtiexec updates that timed out, we send back the incomplete msg.
References myClock, myCompMgr, myRequestedRtiexecUpdates, DtAssistantMgr::myServer, processExecStateMsgForConnection(), and DtAssistantExecStateMsg::removeCallback().
Referenced by tick().
| void DtAssistantFederationsInfoMgr::requestSingleUpdateFromConnectedRtiexecs | ( | int | id | ) | [virtual] |
Performs a single data request of the connected rtiexecs.
References DtAssistantExecStateMsg::addCallback(), myClock, myCompMgr, myRequestedRtiexecUpdates, DtAssistantMgr::myServer, processExecStateMsgForConnection(), and theTimeToWaitForExecInfo.
Referenced by processAssistantCommandMsg().
| void DtAssistantFederationsInfoMgr::rtiexecHasNoFederations | ( | const DtRtiConnectionInfo & | conn | ) | [signal] |
Emitted when an rtiexec response message is received with no federations.
Referenced by processFederationStateMsg().
| void DtAssistantFederationsInfoMgr::sendAllFederationInfo | ( | ) | [slot] |
Sends update messages for all local federations to remote assistants.
References DtAssistantFederationInfo::federates(), DtAssistantFederationInfo::federationHandle(), DtAssistantFederationInfo::federationName(), DtAssistantFederationInfo::fomModules(), myConnInfoMgr, myKnownFederations, DtAssistantMgr::myPeer, myRemotelyViewedConnections, and DtAssistantFederationInfo::testingEnabled().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::sendObserveFederationsMsg | ( | ) | [slot] |
Sends a message indicating the current connection whose federations are being observed by this assistant.
References DtRtiConnectionInfo::isValid(), myConnInfoMgr, DtAssistantMgr::myPeer, myViewedConnection, and DtRtiConnectionInfo::useRtiexec().
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::startRtiexec | ( | const DtRtiConnectionInfoDataPair & | conn, |
| const DtRtiConnectionConfigurationInfo & | config, | ||
| bool | requestedRemotely = false |
||
| ) | [slot] |
Processes a request to start an rtiexec.
References DtRtiLibPath(), DtRtiConnectionConfigurationInfo::forceFullCompliance(), DtAssistantMgr::myPeer, myRtiexecsRequestedForRemoteStart, and myRtiexecsStartedByRemoteRequest.
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::tick | ( | ) | [virtual] |
Performs tasks that need to be completed periodically.
Reimplemented from DtAssistantMgr.
References DtAssistantMgr::displayNotification(), DtAssistantFederateInfo::federateHandle(), DtAssistantFederateInfo::federateType(), DtAssistantFederationInfo::federationName(), localFederateInfo(), myClock, myCompMgr, myConnInfoMgr, myFederateSignalTickMessages, myLastTickTime, myRemotelyViewedConnections, myRequestedRtiexecUpdates, DtAssistantMgr::myServer, myTimeStateUpdateInterval, myViewedConnection, myWarningTickInterval, DtAssistantComponentInfo::name(), and pruneTimedOutSingleUpdates().
| void DtAssistantFederationsInfoMgr::updateFederateWarningTickInterval | ( | float | interval | ) | [slot] |
Updates the interval at which federates must tick in order to prevent warnings.
References myFederateSignalTickMessages, DtAssistantMgr::myServer, and myWarningTickInterval.
Referenced by DtAssistantFederationsInfoMgr().
| void DtAssistantFederationsInfoMgr::viewedWebSpyInfoUpdated | ( | const MAKRti::DtInetAddr & | addr, |
| int | port | ||
| ) | [signal] |
Emitted when the web spy info for the currently viewed connection is updated.
Referenced by processExecObserveRspMsg(), and processRtiexecWebServerChange().
| void DtAssistantFederationsInfoMgr::viewFederationsForConnection | ( | const DtRtiConnectionInfo & | conn | ) | [virtual] |
Tell the manager that the connection being viewed has changed.
It will then make sure to request updates.
References federations(), DtRtiConnectionInfo::invalidConn(), DtRtiConnectionInfo::isValid(), localRtiexecCompId(), myConnInfoMgr, myKnownFederations, DtAssistantMgr::myPeer, myRemotelyViewedConnections, DtAssistantMgr::myServer, myViewedConnection, and DtRtiConnectionInfo::useRtiexec().
MAKRti::DtClock DtAssistantFederationsInfoMgr::myClock [protected] |
Clock used to determine if we need to resend lost messages.
Referenced by DtAssistantFederationsInfoMgr(), pruneTimedOutSingleUpdates(), requestSingleUpdateFromConnectedRtiexecs(), and tick().
DtBoost::shared_ptr<DtAssistantComponentMgr> DtAssistantFederationsInfoMgr::myCompMgr [protected] |
The component manager.
Referenced by DtAssistantFederationsInfoMgr(), forwardMsgFromLocalRtiexec(), localFederateInfo(), processAssistantCommandMsg(), processExecStateMsgForConnection(), processFederateStateMsg(), processFederationStateMsg(), processLocalFederateJoined(), processLocalFederateResigned(), processObserveMsg(), processRtiexecWebServerChange(), processSyncPtStateMsg(), processTimeStateMsg(), pruneTimedOutSingleUpdates(), requestSingleUpdateFromConnectedRtiexecs(), and tick().
DtBoost::shared_ptr<DtAssistantConnectionInfoMgr> DtAssistantFederationsInfoMgr::myConnInfoMgr [protected] |
The connection info manager.
Referenced by DtAssistantFederationsInfoMgr(), forwardMsgToLocalRtiexec(), processExecObserveRspMsg(), processFederationStateMsg(), processRemoteRtiexecPopupMsg(), processSyncPtStateMsg(), pruneStaleFederationsAndObservers(), sendAllFederationInfo(), sendObserveFederationsMsg(), tick(), and viewFederationsForConnection().
std::map<int, bool> DtAssistantFederationsInfoMgr::myFederateSignalTickMessages [protected] |
Set of federate component ids and signal ticks.
Referenced by processLocalFederateResigned(), processSignalTickedMsg(), tick(), and updateFederateWarningTickInterval().
All known information on all federations mapped by connection.
Referenced by federationInfo(), federations(), localFederateInfo(), processConnectionRemoval(), processFederateStateMsg(), processFederationStateMsg(), processLightweightConnUpdate(), processLocalFederateJoined(), processLocalFederateResigned(), processObserveMsg(), processRtiexecConnUpdate(), processSyncPtStateMsg(), processTimeStateMsg(), pruneStaleFederationsAndObservers(), sendAllFederationInfo(), and viewFederationsForConnection().
MAKRti::DtTime DtAssistantFederationsInfoMgr::myLastTickTime [protected] |
The last tick time.
Referenced by tick().
Map of all connections which have an rtiexec running locally, mapped to the component ID of the local rtiexec.
Referenced by localRtiexecCompId(), processConnectionRemoval(), processObserveMsg(), processRtiexecConnUpdate(), and pruneStaleFederationsAndObservers().
DtBoost::shared_ptr<DtAssistantPreferencesInfoMgr> DtAssistantFederationsInfoMgr::myPrefMgr [protected] |
The preferences manager.
Referenced by DtAssistantFederationsInfoMgr().
Local connections currently being viewed by remote Assistants, and the set of all Assistants which are viewing them.
Referenced by forwardMsgFromLocalRtiexec(), isLocalRtiexecViewedRemotely(), processConnectionRemoval(), processFederationStateMsg(), processObserveMsg(), processSyncPtStateMsg(), pruneStaleFederationsAndObservers(), sendAllFederationInfo(), tick(), and viewFederationsForConnection().
std::map<std::pair<int, MAKRti::DtTime>, std::map<int, MAKRti::DtString> > DtAssistantFederationsInfoMgr::myRequestedRtiexecUpdates [protected] |
One time rtiexec updates that have been requested.
Referenced by processExecStateMsgForConnection(), pruneTimedOutSingleUpdates(), requestSingleUpdateFromConnectedRtiexecs(), and tick().
std::set< DtRtiConnectionInfo > DtAssistantFederationsInfoMgr::myRtiexecsRequestedForRemoteStart [protected] |
The list of remote rtiexecs which have been started by this Assistant but have yet to be verified or failed to start.
Referenced by processRemoteRtiexecPopupMsg(), and startRtiexec().
std::set< DtRtiConnectionInfo > DtAssistantFederationsInfoMgr::myRtiexecsStartedByRemoteRequest [protected] |
The list of local rtiexecs whose startup was requested by remote Assistants but have yet to be verified or failed to start.
Referenced by forwardMsgFromLocalRtiexec(), processRtiexecConnUpdate(), and startRtiexec().
unsigned int DtAssistantFederationsInfoMgr::myTimeStateUpdateInterval [protected] |
The interval, in ms, at which local rtiexecs should be requested to send updated time state information.
Also takes into account remote assistants.
Referenced by processObserveMsg(), pruneStaleFederationsAndObservers(), and tick().
The connection currently being viewed at this Assistant.
Referenced by processExecObserveRspMsg(), processObserveMsg(), processRemoteRtiexecPopupMsg(), processRtiexecWebServerChange(), pruneStaleFederationsAndObservers(), sendObserveFederationsMsg(), tick(), and viewFederationsForConnection().
float DtAssistantFederationsInfoMgr::myWarningTickInterval [protected] |
Warning tick interval.
Referenced by processLocalFederateJoined(), tick(), and updateFederateWarningTickInterval().
const int DtAssistantFederationsInfoMgr::theTimeToWaitForExecInfo = 2 [static, protected] |
The time, in seconds, to wait for information requested from a remote rtiexec.
Referenced by requestSingleUpdateFromConnectedRtiexecs().