![]() |
MAK RTIspy API Documentation for HLA 1516
|
Coordinates Assistant activities. More...
Collaboration diagram for DtRtiAssistant:Public Member Functions | |
| DtRtiAssistant (int &argc, char **argv, bool autoExit, DtAssistantShowDialogMsg::DtAssistantShowDialogEnum showDialog=DtAssistantShowDialogMsg::DoNotShowDialog, DtAssistantShutdownMsg::DtShutdownEnum shouldShutdown=DtAssistantShutdownMsg::DtDoNotShutdown, bool disableMulticast=false) | |
| Constructor. More... | |
| virtual | ~DtRtiAssistant () |
| Destructor. More... | |
| void | tick () |
Static Public Member Functions | |
| static void | tick (void *usr) |
| Ticks the server and peer to receive and process new messages. More... | |
Protected Types | |
| typedef std::vector < DtAssistantMgr * > | DtAssistantMgrVector |
Protected Member Functions | |
| virtual void | initializeAssistantServer (int &argc, char **argv, DtAssistantShowDialogMsg::DtAssistantShowDialogEnum showDialog) |
| Called by constructor. More... | |
| virtual bool | processCommands (DtAssistantShowDialogMsg::DtAssistantShowDialogEnum showDialog, DtAssistantShutdownMsg::DtShutdownEnum shouldShutdown) |
| If there are available commands we should process them and return. More... | |
| virtual bool | showDialogOnConnectedAssistant (DtAssistantShowDialogMsg::DtAssistantShowDialogEnum dialog) |
| Called by constructor. More... | |
| virtual void | sendShutdownToConnectedAssistant (DtAssistantShutdownMsg::DtShutdownEnum shouldShutDown) |
| Called by constructor. More... | |
| virtual bool | connectToAssistant () |
| Called by constructor. More... | |
| virtual void | processShutdown (bool shouldConfirm) |
| Called by the callback function to process a shutdown all request. More... | |
Static Protected Member Functions | |
| static void | processShutdown (void *usr) |
| Callback to process a request to shutdown all components from the GUI. More... | |
Protected Attributes | |
| DtBoost::shared_ptr < DtRtiAssistantServer > | myServer |
| The Assistant server from which new messages will arrive. More... | |
| DtBoost::shared_ptr < DtRtiAssistantPeer > | myPeer |
| The Assistant peer which communicates with other Assistants. More... | |
| QApplication * | myQApp |
| The Qt Application for the Assistant. More... | |
| DtAssistantMgrVector | myManagers |
| List of all managers. More... | |
| DtSignalToCallbackMapper * | myShutdownSignalMapper |
| Maps shutdown signals to the shutdown callback function. More... | |
| DtSignalToCallbackMapper * | myTickSignalMapper |
| Maps tick signals to the tick callback function. More... | |
| QTimer * | myTickTimer |
| Timer which causes tick to occur. More... | |
| int | myServerPortNumber |
| Port the RTIAssistant server should bind to. More... | |
| int | myClientPortNumber |
| Port the RTI Assistant client should use to communicate. More... | |
| bool | myAutoExit |
| Indicates whether or not the Assistant should exit when the last connection has closed. More... | |
| bool | myShutdownInProgress |
| Indicates that a user requested shutdown is currently in progress. More... | |
| DtTime | myExitTime |
| Time at which Assistant should be closed due to loss of all connections. More... | |
| DtClock | myClock |
| Clock for timeouts. More... | |
| DtBoost::shared_ptr < DtFilePrinter > | myLogPrinter |
| Assistant printer. More... | |
| MAKRti::DtString | myAssistantLogName |
| Assistant log name. More... | |
| DtAssistantSignalRouter | mySignalRouter |
| The signal router between all of the assistant managers. More... | |
Managers | |
| DtBoost::shared_ptr < DtAssistantComponentMgr > | myCompMgr |
| The Assistant component manager, which maintains information on all attached local RTI components. More... | |
| DtBoost::shared_ptr < DtAssistantPreferencesInfoMgr > | myPrefMgr |
| The Assistant preferences manager, which maintains the current settings for all user configurable Assistant preferences. More... | |
| DtBoost::shared_ptr < DtAssistantRidConfigInfoMgr > | myRidInfoMgr |
| The Assistant RID Configuration info manager. More... | |
| DtBoost::shared_ptr < DtAssistantConnectionInfoMgr > | myConnInfoMgr |
| The Assistant connection information manager, which maintains a list of all known connection configurations and their current states. More... | |
| DtBoost::shared_ptr < DtAssistantFederationsInfoMgr > | myFederationInfoMgr |
| The Assistant federation information manager, which maintains the current state of all known federations. More... | |
| DtBoost::shared_ptr < DtAssistantForwarderCompInfoMgr > | myForwarderInfoMgr |
| The Assistant forwarder component information manager, which maintains the current state of all known forwarders. More... | |
| DtBoost::shared_ptr < DtAssistantTrayIconMgr > | myTrayIconMgr |
| The Assistant tray icon manager, which manages the icon and its menu. More... | |
| DtBoost::shared_ptr < DtAssistantLogFileMgr > | myLogFileMgr |
| The Assistant tray icon manager, which manages the icon and its menu. More... | |
| DtBoost::shared_ptr < DtAssistantPopupMsgMgr > | myPopupMgr |
| The Assistant popup message manager, which display popup dialogs. More... | |
| DtBoost::shared_ptr < DtAssistantConnQueryMgr > | myConnQueryMgr |
| The Assistant connection query manager, which processes queries for connection info from connecting components. More... | |
| DtBoost::shared_ptr < DtAssistantLicenseQueryMgr > | myLicQueryMgr |
| The Assistant license query manager, which processes queries for license server info from connecting components. More... | |
| DtBoost::shared_ptr < DtAssistantLatencyTestMgr > | myLatTestMgr |
| The Assistant latency test manager, which initiates and reports results of federate latency tests. More... | |
| DtBoost::shared_ptr < DtAssistantPreferencesViewMgr > | myPrefViewMgr |
| The Assistant preferences view manager, which manages the preferences dialog to display and update user preferences. More... | |
| DtBoost::shared_ptr < DtRidConfigViewMgr > | myRidConfigViewMgr |
| The RID config view manager, which manages the RID Config Dialog for displaying and updating RID Settings. More... | |
| DtBoost::shared_ptr < DtAssistantFederationsViewMgr > | myFederationsViewMgr |
| The Assistant federations view manager, which is responsible for displaying federation and network information in the Federations View. More... | |
| DtBoost::shared_ptr < DtAssistantFederateViewMgr > | myFederateViewMgr |
| The Assistant federate info view manager, which is responsible for displaying federate information in the Federate Info Dialog. More... | |
| DtBoost::shared_ptr < DtAssistantFomViewMgr > | myFomViewMgr |
| The Assistant FOM view manager, which is responsible for displaying FOM information in the Federate FOM Dialog. More... | |
| DtBoost::shared_ptr < DtRemoteAssistantViewMgr > | myRemoteAssistantViewMgr |
| The Remote Assistant View. More... | |
| DtBoost::shared_ptr < DtRemoteAssistantInfoMgr > | myRemoteAssistantInfoMgr |
| The Remote Assistant Info Manager. More... | |
Private Member Functions | |
| DtRtiAssistant (const DtRtiAssistant &) | |
| Copy Constructor not implemented – Copy Not Allowed! More... | |
| DtRtiAssistant & | operator= (const DtRtiAssistant &) |
| Assignment not implemented – Assignment Not Allowed! More... | |
Message Callbacks | |
| virtual void | processAssistantShutdownMsg (const DtAssistantShutdownMsg &msg) |
| Called by the callback function to process an assistant shutdown msg. More... | |
| static void | processAssistantShutdownMsg (const DtAssistantShutdownMsg &msg, void *usr) |
| Callback to process an assistant shutdown message. More... | |
Coordinates Assistant activities.
The DtRtiAssistant coordinates Assistant activities between the DtRtiAssistantServer, DtRtiAssistantPeer, and managers. It does this primarily by registering callbacks and signals with these classes to process new messages or GUI input.
|
protected |
| DtRtiAssistant::DtRtiAssistant | ( | int & | argc, |
| char ** | argv, | ||
| bool | autoExit, | ||
| DtAssistantShowDialogMsg::DtAssistantShowDialogEnum | showDialog = DtAssistantShowDialogMsg::DoNotShowDialog, |
||
| DtAssistantShutdownMsg::DtShutdownEnum | shouldShutdown = DtAssistantShutdownMsg::DtDoNotShutdown, |
||
| bool | disableMulticast = false |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Constructor not implemented – Copy Not Allowed!
|
protectedvirtual |
Called by constructor.
THIS assistant instance was NOT able to bind to the assistantPort. To make sure the app using the port is an assistant of this RTI version, we will connect to it and make sure we get a valid response.
|
protectedvirtual |
Called by constructor.
This assistant instance was able to bind to the assistantPort and should act as an ordinary server. Normal startup
|
private |
Assignment not implemented – Assignment Not Allowed!
|
staticprotected |
Callback to process an assistant shutdown message.
|
protectedvirtual |
Called by the callback function to process an assistant shutdown msg.
|
protectedvirtual |
If there are available commands we should process them and return.
If true, commands were processed and this process should exit, else this process should run as an assistant.
|
staticprotected |
Callback to process a request to shutdown all components from the GUI.
|
protectedvirtual |
Called by the callback function to process a shutdown all request.
|
protectedvirtual |
Called by constructor.
This assistant instance was NOT able to bind to the assistantPort and should act as a client to the server assistant sending any required messages to the server assistant and exiting. Shows the preferences dialog on the connected assistant.
|
protectedvirtual |
Called by constructor.
This assistant instance was NOT able to bind to the assistantPort and should act as a client to the server assistant sending any required messages to the server assistant and exiting. Shows the specified dialog on the connected assistant. returns success.
|
static |
Ticks the server and peer to receive and process new messages.
| void DtRtiAssistant::tick | ( | ) |
|
protected |
Assistant log name.
|
protected |
Indicates whether or not the Assistant should exit when the last connection has closed.
|
protected |
Port the RTI Assistant client should use to communicate.
|
protected |
Clock for timeouts.
|
protected |
The Assistant component manager, which maintains information on all attached local RTI components.
|
protected |
The Assistant connection information manager, which maintains a list of all known connection configurations and their current states.
|
protected |
The Assistant connection query manager, which processes queries for connection info from connecting components.
|
protected |
Time at which Assistant should be closed due to loss of all connections.
|
protected |
The Assistant federate info view manager, which is responsible for displaying federate information in the Federate Info Dialog.
|
protected |
The Assistant federation information manager, which maintains the current state of all known federations.
|
protected |
The Assistant federations view manager, which is responsible for displaying federation and network information in the Federations View.
|
protected |
The Assistant FOM view manager, which is responsible for displaying FOM information in the Federate FOM Dialog.
|
protected |
The Assistant forwarder component information manager, which maintains the current state of all known forwarders.
|
protected |
The Assistant latency test manager, which initiates and reports results of federate latency tests.
|
protected |
The Assistant license query manager, which processes queries for license server info from connecting components.
|
protected |
The Assistant tray icon manager, which manages the icon and its menu.
|
protected |
Assistant printer.
|
protected |
List of all managers.
|
protected |
The Assistant peer which communicates with other Assistants.
|
protected |
The Assistant popup message manager, which display popup dialogs.
|
protected |
The Assistant preferences manager, which maintains the current settings for all user configurable Assistant preferences.
|
protected |
The Assistant preferences view manager, which manages the preferences dialog to display and update user preferences.
|
protected |
The Qt Application for the Assistant.
|
protected |
The Remote Assistant Info Manager.
This is responsible for keeping track of connections and directing the peer manager to make/break connections
|
protected |
The Remote Assistant View.
|
protected |
The RID config view manager, which manages the RID Config Dialog for displaying and updating RID Settings.
|
protected |
The Assistant RID Configuration info manager.
Maintains a list of all known RID configurations.
|
protected |
The Assistant server from which new messages will arrive.
|
protected |
Port the RTIAssistant server should bind to.
|
protected |
Indicates that a user requested shutdown is currently in progress.
|
protected |
Maps shutdown signals to the shutdown callback function.
|
protected |
The signal router between all of the assistant managers.
|
protected |
Maps tick signals to the tick callback function.
|
protected |
Timer which causes tick to occur.
|
protected |
The Assistant tray icon manager, which manages the icon and its menu.