15 #include <vlutil/vlUtil.h>
16 #include <vlutil/vlTime.h>
17 #include <vlutil/vlInetAddr.h>
63 DtBoost::shared_ptr<DtRtiexecCmdProc> cmdProc );
72 static void tick(
void* usr );
85 virtual void performParameterOverrides(
DtRIDParameters& ridParams )
const;
89 virtual void setForwarderInfo(
int forwarderPort,
90 const MAKRti::DtInetAddr& forwarderToConnectTo );
93 virtual void enableNotifications();
96 virtual void disableNotifications();
135 static void processTimeStateEvent(
const DtRtiExec& exec,
void* usr );
137 virtual void processTimeStateEvent(
const DtRtiExec& exec );
145 static void processLatencyTestStatusMsg(
const DtRtiMsg& msg,
void* usr );
150 static void processLatencyTestResultsMsg(
const DtRtiMsg& msg,
void* usr );
210 static void processAssistantDisconnect(
void* usr );
212 virtual void processAssistantDisconnect();
217 bool gotConnInfoFromAssistant();
219 virtual void sendTrayNotification(
const MAKRti::DtString& text, DtNotifyLevelType notifyLevel );
235 unsigned long connId,
const MAKRti::DtString& fedType,
const MAKRti::DtString& fedName,
238 int astntCompId,
const DtFedExec& fedExec );
241 virtual void sendConnectionInfo(
bool isConnected );
This file contains the declaration of DtAssistantFederationInfo.
virtual Boolean tick(TickTime minimum, TickTime maximum)
bool myGotConnInfoFromAssistant
Whether or not the assistant supplied connection info.
Definition: execObserverForAssistant.h:276
bool myFedReconnectEnabled
Is federate reconnect enabled?
Definition: execObserverForAssistant.h:261
virtual void processLogFileUpdatedEvent(const MAKRti::DtFilename &logFile)
Process a log file name update event.
Definition: execObserver.h:84
This file contains the declaration of DtTestMgrStatusMsg.
virtual void addCallbacks()=0
Adds all RTI message and tick callbacks. Called when a manager is set.
virtual void processSyncPtRegisteredEvent(DtFedExec *exec, DtSyncPt *pt)
Process a new sync. point registered event.
Definition: execObserver.h:66
Buffers data output by a DtBufferPrinter.
Definition: printerBuf.h:37
bool gotConnInfoFromAssistant()
Returns true if the assistant supplied the rtiexec connection info.
Definition: execObserverForAssistant.h:295
The DtTestMgrStatusMsg defines a msg for a client to report the results of a latency test...
Definition: testMgrStatusMsg.h:36
The DtAssistantLogEnableMsg defines a wrapper for the RTI Assistant logging enable message used by th...
Definition: assistantLogEnableMsg.h:31
DtFederationStateByNameMap myFederations
Cache the complete state of the federations.
Definition: execObserverForAssistant.h:267
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
virtual void processFedExDestroyedEvent(DtFedExec *exec)
Process a federation execution destroyed event.
Definition: execObserver.h:57
int myForwarderPort
Stored information about the forwarder.
Definition: execObserverForAssistant.h:287
This file contains the declaration of DtRtiConnectionInfo.
virtual void processFederateReconnectFailedEvent(DtFedExec *exec, DtFederate *fed)
Process a federate reconnect failed event.
Definition: execObserver.h:81
DtRIDParameters * myParams
The RID parameter settings.
Definition: execObserverForAssistant.h:282
std::pair< DtRtiConnectionInfo, DtRtiAssociatedConnectionData > DtRtiConnectionInfoDataPair
Pair of connection with associated data.
Definition: assistantConnectionInfo.h:29
virtual void processFederateDisconnectedEvent(DtFedExec *exec, DtFederate *fed)
Process a federate disconnect event.
Definition: execObserver.h:75
The DtAssistantDeleteFederationMsg defines a wrapper for the RTI Assistant delete federation message ...
Definition: assistantDeleteFederationMsg.h:32
DtHlaVersionId
Definition: rtiVersion.h:42
virtual void processFederationSynchronizedEvent(DtFedExec *exec, DtSyncPt *pt)
Process a federation synchronized to an existing sync. point event.
Definition: execObserver.h:69
DtAssistantPrinter * myAssistantPrinter
The printer which sends notifications to the assistant.
Definition: execObserverForAssistant.h:249
Sends data from an output stream to the RTI Assistant.
Definition: assistantPrinter.h:33
The DtAssistantDeleteFederateMsg defines a wrapper for the RTI Assistant delete federate command mess...
Definition: assistantDeleteFederateMsg.h:32
DtBoost::shared_ptr< DtPrinterBuf > myPrinterBuffer
Buffer which the buffer printer writes to.
Definition: execObserverForAssistant.h:255
MAKRti::DtTime myMinTimeBetweenUpdates
Min. time exec should wait between time state updates.
Definition: execObserverForAssistant.h:273
Stores information on a known federate.
Definition: federateInfo.h:21
virtual void processFederateReconnectSucceededEvent(DtFedExec *exec, DtFederate *fed)
Process a federate reconnect succeeded event.
Definition: execObserver.h:78
DtFederationNameByHandleMap myFederationNames
Map of federation handles to names.
Definition: execObserverForAssistant.h:270
The DtAssistantNtfyLvlUpdateMsg defines a wrapper for the RTI Assistant notify level update message u...
Definition: assistantNtfyLvlUpdateMsg.h:31
Definition: federate.h:39
The DtRtiexecObserver is the base class for all observers of rtiexec events.
Definition: execObserver.h:30
virtual void removeCallbacks()=0
Removes all RTI message and tick callbacks.
bool myExecIsObserved
Whether or not there is currently an assistant observing this rtiexec.
Definition: execObserverForAssistant.h:279
Observes the rtiexec and is responsible sending information on rtiexec to the RTI Assistant...
Definition: execObserverForAssistant.h:49
The DtLatencyReportMsg defines a msg for a client to report the results of a latency test...
Definition: latencyReportMsg.h:37
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
DtHandle DtFederateHandle
Definition: internalTypes.h:29
DtRIDParameters * ridParams()
Definition: execObserverForAssistant.h:222
MAKRti::DtInetAddr myForwarderToConnectTo
Stored information about the forwarder.
Definition: execObserverForAssistant.h:288
The DtAssistantChangeLatencyTestModeMsg defines a wrapper for the RTI Assistant initiate latency test...
Definition: assistantChangeLatencyTestModeMsg.h:36
DtBoost::shared_ptr< DtRtiexecCmdProc > myCmdProc
Processes commands to be performed by the rtiexec.
Definition: execObserverForAssistant.h:258
virtual void processSyncPtAchievedEvent(DtFedExec *exec, DtFederate *fed, DtSyncPt *pt)
Process an existing sync. point achieved event.
Definition: execObserver.h:72
virtual void processFederateJoinedEvent(DtFedExec *exec, DtFederate *federate)
Process a federate joined event.
Definition: execObserver.h:60
DtBufferPrinter * myBufferPrinter
The printer which stores all rtiexec output.
Definition: execObserverForAssistant.h:252
const DtRIDParameters * ridParams() const
Definition: execObserverForAssistant.h:221
Stores the information on an RTI configuration known by the Assistant.
Definition: assistantConnectionConfigurationInfo.h:61
bool myAllowNetworkTesting
Whether or not this rtiexec allows network testing for its federations.
Definition: execObserverForAssistant.h:264
virtual void startObservation()
Indicates that observation of the exec has begun.
Definition: execObserver.h:48
std::map< int, MAKRti::DtString > DtFederationNameByHandleMap
Map of federation handles to names.
Definition: federationInfo.h:38
virtual void processFederateResignedEvent(DtFedExec *exec, DtFederate *federate)
Process a federate resigned event.
Definition: execObserver.h:63
This file contains the declaration of DtLatencyReportMsg.
The DtAssistantRidParamsMsg defines a wrapper for the RTI Assistant RID parameter message used by the...
Definition: assistantRidParamsMsg.h:33
The DtAssistantStateObserveMsg defines a wrapper for the RTI Assistant message used by the Assistant ...
Definition: assistantStateObserveMsg.h:40
Prints data from an output stream to a buffer.
Definition: bufferPrinter.h:25
DtBoost::shared_ptr< DtRtiAssistantExecClient > myAssistantClient
The assistant client.
Definition: execObserverForAssistant.h:246
The DtAssistantExitMsg defines a wrapper for the RTI Assistant exit message used by the Assistant to ...
Definition: assistantExitMsg.h:32
The DtAssistantLogRequestMsg defines a wrapper for the RTI Assistant message used by the Assistant to...
Definition: assistantLogRequestMsg.h:31
virtual void processFedExCreatedEvent(DtFedExec *exec)
Process a new federation execution created event.
Definition: execObserver.h:54
std::map< MAKRti::DtString, DtAssistantFederationInfo > DtFederationStateByNameMap
Definition: federationInfo.h:138
The DtAssistantNetworkTestEnableMsg defines a wrapper for the RTI Assistant network testing enable/di...
Definition: assistantNetworkTestEnableMsg.h:31
The client connection to the RTI Assistant for the rtiexec.
Definition: rtiAssistantExecClient.h:23
Stores the information on an RTI connection known by the Assistant.
Definition: assistantConnectionInfo.h:36
#define DT_DLL_EXEC
Definition: rtiMsConfig.h:123