Public Slots |
| void | processLocalFederateJoined (const DtAssistantComponentInfo *info, 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 (const DtAssistantComponentInfo *) |
| | 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) |
| | 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 | provideFederateInfo (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, unsigned federateHandle, const DtAssistantFederateInfo **info) |
| | Response to a query for federate info.
|
| void | provideFederationInfo (const DtRtiConnectionInfo &conn, const MAKRti::DtString &federationName, const DtAssistantFederationInfo **info) |
| | Response to a query for federation info.
|
| void | requestFederateLoc (const DtRtiConnectionInfo &connInfo, const MAKRti::DtString &federationName, unsigned federateHdl) |
| | Respond to a request for a federate location.
|
| void | removeFederationsForRtiexec (const DtAssistantComponentInfo *) |
| | Process the removal of a local rtiexec.
|
| void | displayWarningDialogs () |
| | Displays all warning dialogs.
|
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 | federateLocReceived (const DtRtiConnectionInfo &connInfo, const MAKRti::DtString &federationName, unsigned federateHdl, const DtAssistantInfo &astnt, unsigned compId) |
| | Emitted when remote federate location is received after processing a requestFederateLoc from another manager.
|
| void | warningDialogDisplayed () |
| | Emitted when a warning dialog is displayed.
|
| void | warningDialogDismissed () |
| | Emitted when a warning dialog is dismissed.
|
| void | popupRequested (const MAKRti::DtString &text, int sourceCompId, const MAKRti::DtString &advancedText) |
| | Emitted when a popup dialog should be displayed.
|
| void | popupRequested (const MAKRti::DtString &text, const MAKRti::DtString &source, const MAKRti::DtString &advancedText) |
| | Emitted when a popup dialog should be displayed.
|
| void | notificationRequested (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId, bool logOnly) |
| | Emitted when a notification should be displayed.
|
| void | notificationRequested (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source, bool logOnly) |
| | Emitted when a notification should be displayed.
|
Public Member Functions |
| | DtAssistantFederationsInfoMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, DtBoost::shared_ptr< DtAssistantComponentMgr > compMgr, DtBoost::shared_ptr< DtAssistantConnectionInfoMgr > connInfoMgr) |
| | 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 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.
|
| | DtAssistantMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter) |
| | Constructor.
|
| virtual | ~DtAssistantMgr () |
| | Destructor.
|
| virtual void | initialize () |
| | Initializes this manager just prior to beginning assistant processing.
|
| virtual void | startShutdown () |
| | Performs any necessary processing at the start of shutdown.
|
| virtual bool | dialogsVisible () const |
| | Determines if there are any visible dialogs for which this manager is responsible.
|
| virtual void | configWidget (DtAssistantConfigWidget **widget, QIcon &icon, QString &name, DtPreferencesPage &pageId) |
| | Retrieves a widget which will be placed in the configuration dialog for configuring user preferences.
|
| virtual void | updateConfigWidget () |
| | Forces the configuration widget to be updated.
|
| virtual void | processConfigWidgetAccept () |
| | Process the changes that were accepted in the configuration widget.
|
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.
|
| void | startDialog (QDialog *dlg, bool inTaskbar, bool warningDialog) |
| | Sets up the given widget as a dialog.
|
| void | finishDialog (QDialog *dlg) |
| | Should be called prior to deleting any dialog started with startDialog.
|
| void | showDialog (QDialog *dlg) |
| | Shows the dialog.
|
| void | startMainWindow (QMainWindow *dlg) |
| | Sets up a main window dialog.
|
| void | finishMainWindow (QMainWindow *dlg) |
| | Should be called prior to deleting any dialog started with startMainWindow.
|
| void | showMainWindow (QMainWindow *dlg) |
| | Shows the dialog.
|
| 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.
|
| void | showPopup (const MAKRti::DtString &text, const MAKRti::DtString &source, const MAKRti::DtString &advancedText=MAKRti::DtString::nullString()) |
| | Displays a popup message with the given text, advanced text, and source name.
|
| void | displayNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId=-1) |
| | Displays and logs a notification from the given component.
|
| void | displayNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source) |
| | Displays and logs notification with the given component name.
|
| void | logNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId=-1) |
| | Logs a notification from the given component, does not display.
|
| void | logNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source) |
| | Logs a notification with the given component name, does not display.
|
Protected Attributes |
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< DtRtiConnectionInfo > | myRtiexecsRequestedForRemoteStart |
| | The list of remote rtiexecs which have been started by this Assistant but have yet to be verified or failed to start.
|
| std::set< DtRtiConnectionInfo > | myRtiexecsStartedByRemoteRequest |
| | 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.
|
| std::set< DtRtiConnectionInfo > | myRemotelyViewedConnectionsNeedingUpdate |
| | Local connections currently being viewed by remote Assistants which require an update to be sent as soon as we get one.
|
| DtRtiConnectionInfo | myViewedConnection |
| | The connection currently being viewed at this Assistant.
|
| DtRtiConnectionInfo | myToBeViewedConnection |
| | The connection to be viewed if it ever becomes valid.
|
| 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, bool > | myFederateSignalTickMessages |
| | Set of federate component ids and signal ticks.
|
| DtFedsByConn | myFederateLocQueries |
| DtFedInfoByCompIdMap | myLocalJoinedFederatesByCompIdMap |
| DtFedInfoByConnFederationPairMap | myLocalJoinedFederatesByConnFederationNameMap |
DtBoost::shared_ptr
< DtRtiAssistantServer > | myServer |
| | The Assistant server from which new messages will arrive from local RTI components.
|
DtBoost::shared_ptr
< DtRtiAssistantPeer > | myPeer |
| | The Assistant peer which communicates with other Assistants.
|
| std::set< QDialog * > | myUnparentedDialogs |
| | All unparented dialogs that are created by the GUI should be added to this set.
|
| std::set< QMainWindow * > | myMainWindows |
| | All main windows that are created by the GUI should be added to this set.
|
| std::set< QDialog * > | myWarningDialogs |
| | Set of the popup dialogs, either parented or unparented, which, when active, should cause a warning icon to be displayed.
|
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 | processFederateRequestMsg (const DtAssistantFederateReqMsg &msg) |
| | Called by the callback function to process federate info request.
|
| virtual void | processFederateResponseMsg (const DtAssistantFederateRespMsg &msg) |
| | Called by the callback function to process federate info response.
|
| 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 | processFederateRequestMsg (const DtAssistantFederateReqMsg &msg, void *usr) |
| | Callback to process a federate info request from a remote peer.
|
| static void | processFederateResponseMsg (const DtAssistantFederateRespMsg &msg, void *usr) |
| | Callback to process a federate info response from a remote peer.
|
| 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.
|
Compiles federation information from rtiexecs and LRCs.