17 #include <vlutil/vlSmartPointers.h>
18 #include <vlutil/vlTime.h>
57 DtBoost::shared_ptr<DtAssistantComponentMgr> compMgr,
58 DtBoost::shared_ptr<DtAssistantRidConfigInfoMgr> ridInfoMgr,
59 DtBoost::shared_ptr<DtAssistantConnectionInfoMgr> connInfoMgr,
60 DtBoost::shared_ptr<DtAssistantForwarderCompInfoMgr> netConnInfoMgr );
83 unsigned federateHandle);
97 virtual void requestSingleUpdateFromConnectedRtiexecs(
int id );
101 virtual void pruneTimedOutSingleUpdates();
108 virtual void print(DtOutputStream& outputStream);
148 static void processExecStateMsgForConnection(
216 bool sendOnlyIfCommandsAccepted =
false );
220 virtual void forwardMsgFromLocalRtiexec(
const DtAssistantMsg& msg );
234 const MAKRti::DtString& federateType,
const MAKRti::DtString& federateName,
235 unsigned federateHandle,
const MAKRti::DtString& federationName,
248 void sendAllFederationInfo();
252 void pruneStaleFederationsAndObservers();
257 bool requestedRemotely );
262 bool requestedRemotely );
266 void updateFederateWarningTickInterval(
float interval );
270 void sendObserveFederationsMsg();
274 const MAKRti::DtString& federationName,
unsigned federateHandle,
279 const MAKRti::DtString& federationName,
286 const MAKRti::DtString& federationName,
unsigned federateHdl );
299 const MAKRti::DtString& federationName );
303 const MAKRti::DtString& federationName );
307 const MAKRti::DtString& federationName );
311 const MAKRti::DtString& federationName,
312 unsigned federateHandle );
316 const MAKRti::DtString& federationName,
317 unsigned federateHandle );
321 const MAKRti::DtString& federationName,
322 unsigned federateHandle );
330 const MAKRti::DtString& federationName,
unsigned federateHdl,
363 virtual void refreshFederateLocationInfo(
const DtRtiConnectionInfo& federationConnection,
const DtString& federationName,
384 const QStringList* specificCmds = 0 );
477 typedef std::map< DtRtiConnectionInfo, std::set<DtFedexFederatePair> >
DtFedsByConn;
Compiles network component information from RTI Forwarders.
Definition: networkCompInfoMgr.h:37
This file contains the declaration of DtAssistantFederationInfo.
The DtAssistantFederationStateMsg defines a wrapper for the RTI Assistant federation state message se...
Definition: assistantFederationStateMsg.h:31
DtConnToCompIdMap myLocalRtiexecConns
Map of all connections which have an rtiexec running locally, mapped to the component ID of the local...
Definition: federationsInfoMgr.h:424
The DtAssistantExecStateMsg defines a wrapper for the RTI Assistant federation state message sent to ...
Definition: assistantExecStateMsg.h:34
The DtAssistantCommandMsg defines a wrapper for the messages sent to and from the Assistant to delive...
Definition: assistantCommandMsg.h:32
DtBoost::shared_ptr< DtAssistantForwarderCompInfoMgr > myNetCompInfoMgr
The forwarder info manager.
Definition: federationsInfoMgr.h:417
This file contains the declaration of DtAssistantInfo.
The DtAssistantSyncPtUpdateMsg defines a wrapper for the RTI Assistant synchronization point update m...
Definition: assistantSyncPtUpdateMsg.h:33
The DtAssistantFederateRespMsg defines the RTI Assistant message used by one Assistant to respond to ...
Definition: assistantFederateRespMsg.h:27
std::pair< MAKRti::DtString, unsigned int > DtFederationNameFederateHandlePair
Definition: federationsInfoMgr.h:486
The DtAssistantNotifyMsg defines a wrapper for the RTI Assistant notify message used to send informat...
Definition: assistantNotifyMsg.h:32
MAKRti::DtClock myClock
Clock used to determine if we need to resend lost messages.
Definition: federationsInfoMgr.h:457
std::pair< DtRtiConnectionInfo, DtFederationNameFederateHandlePair > DtConnectionFederationNameFedHandleTriple
Definition: federationsInfoMgr.h:487
MAKRti::DtTime myLastTickTime
The last tick time.
Definition: federationsInfoMgr.h:470
Compare connections without considering the local interfaces used.
Definition: federationsInfoMgr.h:336
Contains the DtRtiConnectionAndConfiguration class declaration.
std::map< std::pair< int, MAKRti::DtTime >, std::map< int, MAKRti::DtString > > myRequestedRtiexecUpdates
One time rtiexec updates that have been requested.
Definition: federationsInfoMgr.h:464
At startup all of the assistant manager classes will register their signals and slots with the signal...
Definition: assistantSignalRouter.h:29
std::set< DtRtiConnectionInfo > myRemotelyViewedConnectionsNeedingUpdate
Local connections currently being viewed by remote Assistants which require an update to be sent as s...
Definition: federationsInfoMgr.h:448
DtBoost::shared_ptr< DtAssistantRidConfigInfoMgr > myRidInfoMgr
The RID info manager.
Definition: federationsInfoMgr.h:411
Stores basic information about a remote assistant.
Definition: assistantInfo.h:96
std::pair< DtRtiConnectionInfo, DtRtiAssociatedConnectionData > DtRtiConnectionInfoDataPair
Pair of connection with associated data.
Definition: assistantConnectionInfo.h:29
virtual bool useRtiexec() const
Returns whether this connection uses an rtiexec.
virtual int forwarderPort() const
Returns the forwarder port.
The DtAssistantDeleteFederationMsg defines a wrapper for the RTI Assistant delete federation message ...
Definition: assistantDeleteFederationMsg.h:32
Base class for assistant Messages.
Definition: assistantMsg.h:152
DtHlaVersionId
Definition: rtiVersion.h:41
DtConnToObserversMap myRemotelyViewedConnections
Local connections currently being viewed by remote Assistants, and the set of all Assistants which ar...
Definition: federationsInfoMgr.h:444
The DtAssistantLogMsg defines a wrapper for the RTI Assistant log message used to send a full log fro...
Definition: assistantLogMsg.h:36
std::set< DtRtiConnectionInfo > myRtiForwardersStartedByRemoteRequest
The list of local rti forwarders whose startup was requested by remote Assistants but have yet to be ...
Definition: federationsInfoMgr.h:436
unsigned int myTimeStateUpdateInterval
The interval, in ms, at which local rtiexecs should be requested to send updated time state informati...
Definition: federationsInfoMgr.h:461
static const int theTimeToWaitForExecInfo
The time, in seconds, to wait for information requested from a remote rtiexec.
Definition: federationsInfoMgr.h:482
DtBoost::shared_ptr< DtAssistantComponentMgr > myCompMgr
The component manager.
Definition: federationsInfoMgr.h:408
std::map< DtRtiConnectionInfo, std::set< DtFedexFederatePair > > DtFedsByConn
Definition: federationsInfoMgr.h:477
The DtAssistantDeleteFederateMsg defines a wrapper for the RTI Assistant delete federate command mess...
Definition: assistantDeleteFederateMsg.h:32
Stores information on a known federate.
Definition: federateInfo.h:21
virtual int tcpPort() const
Returns TCP port.
std::map< int, DtAssistantFederateInfo > DtFederateInfoByHandleMap
Map of federate handles to federate info.
Definition: federationInfo.h:28
std::set< DtRtiConnectionInfo > myRtiForwardersRequestedForRemoteStart
The list of remote rti forwarders which have been started by this Assistant but have yet to be verifi...
Definition: federationsInfoMgr.h:428
Stores information on any RTI components.
Definition: compInfo.h:25
The DtAssistantFederateReqMsg defines the RTI Assistant message used by one Assistant to request anot...
Definition: assistantFederateReqMsg.h:27
Base class for all classes which perform management activities for the Assistant. ...
Definition: assistantMgr.h:31
std::map< int, DtAssistantFederateInfo > DtFedInfoByCompIdMap
Maps of locally joined Federates based off Components.
Definition: federationsInfoMgr.h:485
DtRtiConnectionInfo myToBeViewedConnection
The connection to be viewed if it ever becomes valid.
Definition: federationsInfoMgr.h:454
This file contains the declaration of DtAssistantMgr.
std::pair< MAKRti::DtString, unsigned > DtFedexFederatePair
Federates we are trying to locate.
Definition: federationsInfoMgr.h:476
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
Maintains lists of known RTI connections.
Definition: connInfoMgr.h:49
Manages the server connections of the RTI Assistant.
Definition: rtiAssistantServer.h:45
std::map< DtConnectionFederationNameFedHandleTriple, DtAssistantFederateInfo > DtFedInfoByConnFederationPairMap
Definition: federationsInfoMgr.h:488
Compiles federation information from rtiexecs and LRCs.
Definition: federationsInfoMgr.h:50
DtAssistantMgr & operator=(DtAssistantMgr const &)
Assignment not implemented – Assignment Not Allowed!
The DtAssistantFederateStateMsg defines a wrapper for the RTI Assistant federate state message used b...
Definition: assistantSignalTickedMsg.h:30
virtual int udpPort() const
Returns UDP port.
Stores the information on an RTI configuration known by the Assistant.
Definition: assistantConnectionConfigurationInfo.h:61
virtual const MAKRti::DtInetAddr & udpAddress() const
Returns UDP IP address for best effort communication.
bool operator()(const DtRtiConnectionInfo &left, const DtRtiConnectionInfo &right) const
Definition: federationsInfoMgr.h:338
virtual void tick()
Performs tasks that need to be completed periodically.
Definition: assistantMgr.h:59
Maintains lists of known RTI connections.
Definition: ridConfigInfoMgr.h:23
DtFedsByConn myFederateLocQueries
Definition: federationsInfoMgr.h:478
The DtAssistantExecObserveRspMsg defines a wrapper for the RTI Assistant rtiexec observe response mes...
Definition: assistantExecObserveRspMsg.h:32
std::set< DtRtiConnectionInfo > myRtiexecsRequestedForRemoteStart
The list of remote rtiexecs which have been started by this Assistant but have yet to be verified or ...
Definition: federationsInfoMgr.h:432
virtual const DtHostNameAddress & hostNameAddress() const
Return the host name and address (TCP IP address)
float myWarningTickInterval
Warning tick interval.
Definition: federationsInfoMgr.h:467
DtBoost::shared_ptr< DtAssistantConnectionInfoMgr > myConnInfoMgr
The connection info manager.
Definition: federationsInfoMgr.h:414
The DtAssistantStateObserveMsg defines a wrapper for the RTI Assistant message used by the Assistant ...
Definition: assistantStateObserveMsg.h:40
std::map< DtRtiConnectionInfo, int > DtConnToCompIdMap
Definition: federationsInfoMgr.h:358
std::map< DtRtiConnectionInfo, DtRemoteObserversMap > DtConnToObserversMap
Definition: federationsInfoMgr.h:357
std::map< int, bool > myFederateSignalTickMessages
Set of federate component ids and signal ticks.
Definition: federationsInfoMgr.h:473
The DtAssistantExitMsg defines a wrapper for the RTI Assistant exit message used by the Assistant to ...
Definition: assistantExitMsg.h:32
Structure containing State information from a single federation.
Definition: federationInfo.h:42
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:122
DtRtiConnectionInfo myViewedConnection
The connection currently being viewed at this Assistant.
Definition: federationsInfoMgr.h:451
Stores the information on an RTI connection and possibly matching configuration known by the Assistan...
Definition: connectionAndConfiguration.h:22
std::map< DtAssistantInfo, bool > DtRemoteObserversMap
Definition: federationsInfoMgr.h:356
The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to...
Definition: assistantLogRequestMsg.h:31
DtFedInfoByCompIdMap myLocalJoinedFederatesByCompIdMap
Definition: federationsInfoMgr.h:490
DtConnToFederationStateMap myKnownFederations
All known information on all federations mapped by connection.
Definition: federationsInfoMgr.h:420
std::map< DtRtiConnectionInfo, DtFederationStateByNameMap, cmpConnectionWithoutLocalIntf > DtConnToFederationStateMap
When mapping connections to federations, the local interfaces used by a LRC/Exec to make a connection...
Definition: federationsInfoMgr.h:360
The DtAssistantTimeStateMsg defines a wrapper for the RTI Assistant federation time state message use...
Definition: assistantTimeStateMsg.h:32
std::map< MAKRti::DtString, DtAssistantFederationInfo > DtFederationStateByNameMap
Definition: federationInfo.h:138
Processes information on each local RTI component that is connected to this Assistant.
Definition: componentMgr.h:38
Stores the information on an RTI connection known by the Assistant.
Definition: assistantConnectionInfo.h:36
std::set< DtRtiConnectionInfo > myRtiexecsStartedByRemoteRequest
The list of local rtiexecs whose startup was requested by remote Assistants but have yet to be verifi...
Definition: federationsInfoMgr.h:440
The DtAssistantFederateStateMsg defines a wrapper for the RTI Assistant federate state message used b...
Definition: assistantFederateStateMsg.h:38
DtFedInfoByConnFederationPairMap myLocalJoinedFederatesByConnFederationNameMap
Definition: federationsInfoMgr.h:491