MAK RTIspy API Documentation for HLA Evolved
Public Slots | Signals | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions
DtAssistantFederationsInfoMgr Class Reference

Compiles federation information from rtiexecs and LRCs. More...

+ Inheritance diagram for DtAssistantFederationsInfoMgr:
+ Collaboration diagram for DtAssistantFederationsInfoMgr:

List of all members.

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< DtRtiConnectionInfomyRtiexecsRequestedForRemoteStart
 The list of remote rtiexecs which have been started by this Assistant but have yet to be verified or failed to start.
std::set< DtRtiConnectionInfomyRtiexecsStartedByRemoteRequest
 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, boolmyFederateSignalTickMessages
 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!
DtAssistantFederationsInfoMgroperator= (DtAssistantFederationsInfoMgr const &)
 Assignment not implemented -- Assignment Not Allowed!

Message Callbacks

Callbacks for federation information and command messages

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.

Detailed Description

Compiles federation information from rtiexecs and LRCs.


Member Typedef Documentation


Constructor & Destructor Documentation

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 
)

Copy Constructor not implemented -- Copy Not Allowed!


Member Function Documentation

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().

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::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().

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().

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!

Processes an RTI Assistant command message.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Processes removal of known connections.

References DtRtiConnectionAndConfiguration::connections(), and processConnectionRemoval().

Callback to process an rtiexec observe response message.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Called to process a exec state message on behalf of an rtiAssistanttoAssistantClient that requested the data.

Referenced by processExecStateMsgForConnection(), pruneTimedOutSingleUpdates(), and requestSingleUpdateFromConnectedRtiexecs().

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().

Callback to process a federate delete message.

References forwardMsgToLocalRtiexec().

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Callback to process a federate state message from a local rtiexec.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

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().

Callback to process a federation delete message.

References forwardMsgToLocalRtiexec().

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Callback to process a federation state message from a local rtiexec or remote assistant.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

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]
void DtAssistantFederationsInfoMgr::processObserveMsg ( const DtAssistantStateObserveMsg msg,
void *  usr 
) [static]

Callback to process a federation observe message.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Callback to process a popup message from a remote rtiexec.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Processes an update to an rtiexec connection.

References myKnownFederations, myLocalRtiexecConns, myRtiexecsStartedByRemoteRequest, and processConnectionRemoval().

Referenced by processConnectionsUpdate().

Callback to process a signal ticked message from a federate.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

Called by the callback function to process the signal ticked message.

References myFederateSignalTickMessages, DtAssistantMgr::myServer, and true.

Callback to process a synchronization point state message.

Referenced by DtAssistantFederationsInfoMgr(), and ~DtAssistantFederationsInfoMgr().

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().

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().

Emitted when an rtiexec response message is received with no federations.

Referenced by processFederationStateMsg().

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]

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().


Member Data Documentation

MAKRti::DtClock DtAssistantFederationsInfoMgr::myClock [protected]

Clock used to determine if we need to resend lost messages.

Referenced by DtAssistantFederationsInfoMgr(), pruneTimedOutSingleUpdates(), requestSingleUpdateFromConnectedRtiexecs(), and tick().

Set of federate component ids and signal ticks.

Referenced by processLocalFederateResigned(), processSignalTickedMsg(), tick(), and updateFederateWarningTickInterval().

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().

The preferences manager.

Referenced by DtAssistantFederationsInfoMgr().

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().

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().

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().

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().

Warning tick interval.

Referenced by processLocalFederateJoined(), tick(), and updateFederateWarningTickInterval().

The time, in seconds, to wait for information requested from a remote rtiexec.

Referenced by requestSingleUpdateFromConnectedRtiexecs().


The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)