19 #include <vlutil/vlSmartPointers.h>
55 std::shared_ptr<DtRtiAssistantPeer> peer,
57 std::shared_ptr<DtAssistantComponentMgr> compMgr,
58 std::shared_ptr<DtAssistantConnectionInfoMgr> connInfoMgr,
59 std::shared_ptr<DtAssistantFederationsInfoMgr> fedInfoMgr,
60 std::shared_ptr<DtAssistantForwarderCompInfoMgr> netCompInfoMgr,
61 const MAKRti::DtFilename& configDir);
130 void logConnectionInfo(std::ofstream& fileStrm);
133 void logFederationInfo(std::ofstream& fileStrm);
136 void logFomInfo(std::ofstream& fileStrm,
const std::list<MAKRti::DtString>* foms);
155 void showRidDialog(
const QString& name,
const DtAssistantInfo& assistant,
163 const MAKRti::DtString& params,
const MAKRti::DtString& filename,
164 const MAKRti::DtString& federation,
unsigned federateHdl);
167 virtual void updatePeerForwarders(
172 virtual void updateRtiexecCompInfo(
177 virtual void updateFederateCompInfo(
184 virtual void updateUnclassifiedComps(
191 void showFederationsView();
194 virtual void sendLogRequest();
197 void connectForeignAssistant(
const QString& hostName,
198 const QString& hostIp,
const QString& localInterface);
201 void disconnectForeignAssistant(
const QString& hostName,
202 const QString& hostIP,
const QString& localInterface);
205 void startupRtiexec();
208 void shutdownRtiexec();
211 void startupRtiForwarder();
218 void shutdownRtiForwarder();
234 void processDoNotWaitForForwarders(
QWidget* dlg);
238 void processShutDownWaitingForwarder(
QWidget* dlg);
247 void resignFederate(
int,
const QString& );
250 void destroyFederation(
const QString& );
253 void sendNetworkTestingEnableMsg(
const QString& fedexName );
256 void sendNetworkTestingDisableMsg(
const QString& fedexName );
259 void showLatencyTestDialog(
const QString& fedexName,
int fedHandle );
263 const MAKRti::DtString& federationName);
267 const MAKRti::DtString& federationName);
271 const MAKRti::DtString& federationName,
272 unsigned federateHandle);
276 const MAKRti::DtString& federationName,
277 unsigned federateHandle);
292 void showFederationsViewPreferences();
295 void processFederateSelection(
const MAKRti::DtString& federation,
299 void processRtiexecSelection();
302 void processForwarderSelection(
const MAKRti::DtString& fwHostName,
int port);
305 void processPeerForwarderSelection(
const MAKRti::DtString& fwHostName,
int port);
310 void processFederationSelection(
const MAKRti::DtString& federation);
313 void processLightweightNodeSelection();
316 void showSyncPtDialog(
const MAKRti::DtString& federation);
319 void showFederateStatsDialog(
const MAKRti::DtString& federation,
int federateHandle);
322 void showFomDialog(
const MAKRti::DtString& federation,
int federateHandle);
325 void showRtiexecRidParams();
328 void showForwarderRidParams();
331 void showFederateRidParams(
const MAKRti::DtString& federation,
int federateHandle);
334 void destroyRidParamDialog(
QWidget* widget);
338 const MAKRti::DtString& federationName,
unsigned federateHdl,
342 void showRtiexecLog();
345 void showForwarderLog();
348 void showFederateLog(
const MAKRti::DtString& federation,
int federateHandle);
351 void removeDefunctFederateFromMap(
const MAKRti::DtString& federation,
int federateHandle);
362 void aboutDialogRequested();
365 void showPopup(
const MAKRti::DtString&,
const MAKRti::DtString&,
366 const MAKRti::DtString&);
370 void federateRemovalTimeChanged(
float period );
376 void showLrcLatencyTestDialog(
int id );
379 void showRtiexecLatencyTestDialog(
381 unsigned int federationHdl,
const MAKRti::DtString& federationName,
382 unsigned int federateHdl);
386 const MAKRti::DtString& federationName,
unsigned int federateHdl);
390 const MAKRti::DtString& federationName,
unsigned int federateHdl);
395 const MAKRti::DtString& federationName,
unsigned int federateHdl);
398 void showLogFileDialog(
int compId );
Compiles network component information from RTI Forwarders.
Definition: networkCompInfoMgr.h:37
static const unsigned theMaxLogLoadSize
The maximum number of bytes that can be requested from an rtiexec log.
Definition: federationsViewMgr.h:493
QSignalMapper * myRidDialogSignalMapper
Maps the close signals for RID parameter dialogs.
Definition: federationsViewMgr.h:473
This file contains the declaration of DtAssistantInfo.
std::list< DtCompRidParamDispStruct > myPendingFederateRidDialogs
Our federate RID parameter dialogs which are currently loading.
Definition: federationsViewMgr.h:486
The DtAssistantNotifyMsg defines a wrapper for the RTI Assistant notify message used to send informat...
Definition: assistantNotifyMsg.h:32
DtPreferencesPage
Definition: assistantEnums.h:17
QSignalMapper * myFwStatusAcceptSigMapper
Signal mapper for DtForwarderConnStatusDialog accepted signals.
Definition: federationsViewMgr.h:463
DtUuid DtAssistantUuid
Definition: assistantUtil.h:17
MAKRti::DtClock myClock
Clock used to determine if we need to resend lost messages.
Definition: federationsViewMgr.h:448
static const DtRtiConnectionInfo & invalidConn()
Returns an invalid connection.
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
DtRIDParameters * ridParams
Definition: federationsViewMgr.h:146
At startup all of the assistant manager classes will register their signals and slots with the signal...
Definition: assistantSignalRouter.h:29
std::map< DtInetAddrAndPort, DtAssistantNetworkCompInfo > DtPeerForwarderByAddrMap
Typedefs for information storage.
Definition: forwarderInfo.h:151
This file contains the declaration of DtRtiConnectionInfo.
Stores basic information about a remote assistant.
Definition: assistantInfo.h:96
std::shared_ptr< DtAssistantConnectionInfoMgr > myConnInfoMgr
The connection info manager.
Definition: federationsViewMgr.h:424
std::pair< DtRtiConnectionInfo, DtRtiAssociatedConnectionData > DtRtiConnectionInfoDataPair
Pair of connection with associated data.
Definition: assistantConnectionInfo.h:29
bool myReceivedRemoteForwarderInfo
Indicates if we have yet received an update on a remote Forwarder we are currently viewing...
Definition: federationsViewMgr.h:452
virtual bool dialogsVisible() const
Determines if there are any visible dialogs for which this manager is responsible.
DtAssistantForwarderInfo myCurrentForwarderInfo
The information on the currently displayed forwarder connection.
Definition: federationsViewMgr.h:436
std::pair< DtAssistantInfo, int > DtUniqueCompId
The assistant information and component ID of a component uniquely identify it across the entire netw...
Definition: federationsViewMgr.h:477
static const int theUpdatePeriod
The period, in seconds, to send updates on remotely observed federations that have been updated...
Definition: federationsViewMgr.h:490
unsigned federateHdl
Definition: federationsViewMgr.h:150
virtual void startShutdown()
Performs any necessary processing at the start of shutdown.
Definition: assistantMgr.h:62
DtRtiConnectionInfo myViewedConnection
The connection currently being viewed at this Assistant.
Definition: federationsViewMgr.h:433
Stores information on a known federate.
Definition: federateInfo.h:21
Stores information on a single component connected to a forwarder.
Definition: forwarderInfo.h:24
std::map< DtRtiConnectionInfo, DtAssistantInfoSet > DtConnectionToObserversMap
Definition: federationsViewMgr.h:418
DtConnectionToFwStatusDialogMap myFwStatusDlgMap
The map of forwarder connection info to forwarder status dialogs.
Definition: federationsViewMgr.h:460
std::map< int, DtAssistantFederateInfo > DtFederateInfoByHandleMap
Map of federate handles to federate info.
Definition: federationInfo.h:28
Base class for all classes which perform management activities for the Assistant. ...
Definition: assistantMgr.h:31
std::map< MAKRti::DtString, DtSyncPtDialog * > mySyncPtDialogs
The dialogs which show sync point information for a particular federation, indexed by federation name...
Definition: federationsViewMgr.h:470
std::shared_ptr< DtAssistantComponentMgr > myCompMgr
The local RTI component manager.
Definition: federationsViewMgr.h:421
This file contains the declaration of DtAssistantMgr.
MAKRti::DtTime myRemoteForwarderInfoTimeout
Time at which we assume our request to observe a remote Forwarder was lost, causing us to resend it...
Definition: federationsViewMgr.h:456
DtRtiAssistantPeer manages the sharing of information between one Assistant to other Assistants using...
Definition: rtiAssistantPeer.h:82
Contains the DtRtiAssistantClient class declaration.
Maintains lists of known RTI connections.
Definition: connInfoMgr.h:49
MAKRti::DtString federation
Definition: federationsViewMgr.h:149
Manages the server connections of the RTI Assistant.
Definition: rtiAssistantServer.h:45
Compiles federation information from rtiexecs and LRCs.
Definition: federationsInfoMgr.h:50
The DtAssistantAwaitingForwardersMsg defines a wrapper for the RTI Assistant message sent to an assis...
Definition: assistantAwaitingFwsMsg.h:36
DtAssistantMgr & operator=(DtAssistantMgr const &)
Assignment not implemented – Assignment Not Allowed!
std::map< DtRtiConnectionInfo, DtForwarderConnStatusDialog * > DtConnectionToFwStatusDialogMap
Definition: federationsViewMgr.h:458
DtWidgetDialog * ridDialog
Definition: federationsViewMgr.h:147
QString mySavedFile
The previously saved file name.
Definition: federationsViewMgr.h:496
virtual void tick()
Performs tasks that need to be completed periodically.
Definition: assistantMgr.h:59
Definition: syncPtDialog.h:17
Dialog to be displayed when a local forwarder is waiting for remote forwarders to connect...
Definition: forwarderConnStatusDialog.h:20
std::map< DtFedexNameFedHdlPair, DtAssistantNetworkCompInfo > DtCompByFederationAndHandleMap
Typedefs for information storage.
Definition: forwarderInfo.h:149
std::shared_ptr< DtAssistantForwarderCompInfoMgr > myNetCompInfoMgr
The federations info manager.
Definition: federationsViewMgr.h:430
The DtAssistantExecObserveRspMsg defines a wrapper for the RTI Assistant rtiexec observe response mes...
Definition: assistantExecObserveRspMsg.h:32
void showPopup(const MAKRti::DtString &text, int sourceCompId=-1, const MAKRti::DtString &advancedText=MAKRti::DtString::nullString())
Displays a popup message with the given text, advanced text, and name of the given source component...
The DtAssistantRidParamsMsg defines a wrapper for the RTI Assistant RID parameter message used by the...
Definition: assistantRidParamsMsg.h:33
Compiles federation information from rtiForwarders and displays federation view dialogs.
Definition: federationsViewMgr.h:47
std::shared_ptr< DtAssistantFederationsInfoMgr > myFedInfoMgr
The federations info manager.
Definition: federationsViewMgr.h:427
DtRidWidget * ridWidget
Definition: federationsViewMgr.h:148
#define DT_DLL_ASSISTANTAPP
Definition: rtiMsConfig.h:151
DtAssistantComponentType
Definition: rtiAssistantClient.h:32
Stores the information on an RTI connection and possibly matching configuration known by the Assistan...
Definition: connectionAndConfiguration.h:22
DtFederationsViewDialog * myFederationsViewDialog
The dialog to display the federations view.
Definition: federationsViewMgr.h:445
The DtAssistantForwarderConnectMsg defines a wrapper for the RTI Assistant forwarder connect message ...
Definition: assistantForwarderConnectMsg.h:35
Structure to hold all information to display RID parameters for a single component.
Definition: federationsViewMgr.h:144
Definition: federationsViewDialog.h:46
const DtAssistantForwarderInfo myEmptyForwaderInfo
Definition: federationsViewMgr.h:438
DtRidParmDlgByComp myRidParamDialogs
A map of all of our open RID parameter dialogs.
Definition: federationsViewMgr.h:483
std::map< DtUniqueCompId, DtCompRidParamDispStruct > DtRidParmDlgByComp
Map of component IDs to their RID param dialog info.
Definition: federationsViewMgr.h:480
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 current state of a single forwarder.
Definition: forwarderInfo.h:123
std::list< DtAssistantNetworkCompInfo > DtAssistantNetworkCompInfoList
Definition: forwarderInfo.h:120
Stores the information on an RTI connection known by the Assistant.
Definition: assistantConnectionInfo.h:36
QSignalMapper * myFwStatusRejectSigMapper
Signal mapper for DtForwarderConnStatusDialog rejected signals.
Definition: federationsViewMgr.h:466
std::set< std::pair< MAKRti::DtString, unsigned > > myLightweightFederates
The federations and handles of the currently displayed lightweight federates.
Definition: federationsViewMgr.h:442