![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Manages assistant to assistant connections. More...
Inheritance diagram for DtRemoteAssistantInfoMgr:
Collaboration diagram for DtRemoteAssistantInfoMgr:Public Slots | |
| void | processConnectionAdded (const DtAssistantConnectionStruct &conn) |
| Process an added connection. More... | |
| void | processConnectionRemoved (const DtAssistantConnectionStruct &conn) |
| Process a removed connection. More... | |
| void | processConnectionConnect (const DtAssistantConnectionStruct &conn) |
| Process an connect/disconnect. More... | |
| void | processConnectionDisconnect (const DtAssistantConnectionStruct &conn) |
| virtual void | processAssistantFound (const DtAssistantInfo &) |
| virtual void | processAssistantLost (const DtAssistantInfo &) |
| void | assistantConnectionInfoUpdated (const DtAssistantConnectionStruct &, const DtAssistantConnectionStruct &) |
Public Slots inherited from DtAssistantMgr | |
| void | displayWarningDialogs () |
| Displays all warning dialogs. More... | |
Signals | |
| void | assistantToAssistantConnectionAdded (const DtAssistantConnectionStruct &) |
| Emitted when we have saved a new connection (can occur from someone connecting to us, or a GUI adding it) More... | |
| void | assistantToAssistantConnectionRemoved (const DtAssistantConnectionStruct &) |
| Emitted when we have removed a saved connection (GUI removing it) More... | |
| void | assistantToAssistantConnectionChanged (const DtAssistantConnectionStruct &, DtAssistantConnectionState) |
| void | queryAssistantInfo (const DtAssistantUuid &, DtAssistantInfo *infoIn) |
| Queries for assistant information. More... | |
Signals inherited from DtAssistantMgr | |
| void | warningDialogDisplayed () |
| Emitted when a warning dialog is displayed. More... | |
| void | warningDialogDismissed () |
| Emitted when a warning dialog is dismissed. More... | |
| void | popupRequested (const MAKRti::DtString &text, int sourceCompId, const MAKRti::DtString &advancedText) |
| Emitted when a popup dialog should be displayed. More... | |
| void | popupRequested (const MAKRti::DtString &text, const MAKRti::DtString &source, const MAKRti::DtString &advancedText) |
| Emitted when a popup dialog should be displayed. More... | |
| void | notificationRequested (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId, bool logOnly) |
| Emitted when a notification should be displayed. More... | |
| void | notificationRequested (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source, bool logOnly) |
| Emitted when a notification should be displayed. More... | |
Public Member Functions | |
| DtRemoteAssistantInfoMgr (std::shared_ptr< DtRtiAssistantServer > server, std::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, std::shared_ptr< DtAssistantConnectionInfoMgr > connInfoMgr) | |
| CTOR. More... | |
| virtual | ~DtRemoteAssistantInfoMgr () |
| Virtual DTOR. More... | |
| virtual void | initialize () |
| Initialization method. More... | |
| virtual void | tick () |
| Performs tasks that need to be completed periodically. More... | |
| virtual void | processAssistantToAssistantConnectionMsg (const DtAssistantToAssistantConnectionMsg &msg) |
| virtual void | handleAssistantConnectionLost (const DtAssistantConnectionStruct &sock) |
Public Member Functions inherited from DtAssistantMgr | |
| DtAssistantMgr (std::shared_ptr< DtRtiAssistantServer > server, std::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter) | |
| Constructor. More... | |
| virtual | ~DtAssistantMgr () |
| Destructor. More... | |
| virtual void | startShutdown () |
| Performs any necessary processing at the start of shutdown. More... | |
| virtual bool | dialogsVisible () const |
| Determines if there are any visible dialogs for which this manager is responsible. More... | |
| 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. More... | |
| virtual void | updateConfigWidget () |
| Forces the configuration widget to be updated. More... | |
| virtual void | processConfigWidgetAccept () |
| Process the changes that were accepted in the configuration widget. More... | |
Static Public Member Functions | |
| static void | processAssistantToAssistantConnectionMsg (const DtAssistantToAssistantConnectionMsg &msg, void *usr) |
| Assistant to assistant connection message callback. More... | |
| static void | handleAssistantConnectionLost (const DtAssistantConnectionStruct &sock, void *usr) |
Protected Member Functions | |
| void | processTimeouts () |
| void | processPendingSyns (const DtTime &now) |
| void | processPendingSynAcks (const DtTime &now) |
| void | processPendingAssistantInfos (const DtTime &now) |
| void | processPendingFins (const DtTime &now) |
| void | timeoutConnection (const DtAssistantConnectionStruct &, DtTime=0.0) |
| void | resetConnection (const DtAssistantConnectionStruct) |
| void | handleSyn (const DtAssistantToAssistantConnectionMsg &msg) |
| void | handleSynAck (const DtAssistantToAssistantConnectionMsg &msg) |
| void | handleAck (const DtAssistantToAssistantConnectionMsg &msg) |
| void | handleFin (const DtAssistantToAssistantConnectionMsg &msg) |
| void | handleRst (const DtAssistantToAssistantConnectionMsg &msg) |
| void | handleFinAck (const DtAssistantToAssistantConnectionMsg &msg) |
| bool | isAlreadyConnected (const DtAssistantToAssistantConnectionMsg &msg, bool wanOnly=false) const |
| bool | allowConnections () const |
| DtAssistantConnectionId | newConnectionId () const |
| void | addAssistantConnection (const DtAssistantConnectionStruct &connection, bool remote) |
| void | removeAssistantConnection (const DtAssistantConnectionStruct &connection) |
| void | connectingAssistantConnection (const DtAssistantConnectionStruct &uuid, const DtAssistantConnectionId &otherConnId) |
| void | disconnectingAssistantConnection (const DtAssistantConnectionStruct &uuid, DtAssistantConnectionState state=DtDisconnected) |
| void | addPendingAssistantInfo (const DtAssistantConnectionStruct &conn) |
| virtual bool | isConnecting (const DtAssistantConnectionStruct &conn) const |
Protected Member Functions inherited from DtAssistantMgr | |
| void | startDialog (QDialog *dlg, bool inTaskbar, bool warningDialog) |
| Sets up the given widget as a dialog. More... | |
| void | finishDialog (QDialog *dlg) |
| Should be called prior to deleting any dialog started with startDialog. More... | |
| void | showDialog (QDialog *dlg) |
| Shows the dialog. More... | |
| void | startMainWindow (QMainWindow *dlg) |
| Sets up a main window dialog. More... | |
| void | finishMainWindow (QMainWindow *dlg) |
| Should be called prior to deleting any dialog started with startMainWindow. More... | |
| void | showMainWindow (QMainWindow *dlg) |
| Shows the dialog. More... | |
| 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. More... | |
| 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. More... | |
| void | displayNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId=-1) |
| Displays and logs a notification from the given component. More... | |
| void | displayNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source) |
| Displays and logs notification with the given component name. More... | |
| void | logNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, int sourceCompId=-1) |
| Logs a notification from the given component, does not display. More... | |
| void | logNotification (const MAKRti::DtString &message, MAKRti::DtNotifyLevelType notifyLevel, const MAKRti::DtString &source) |
| Logs a notification with the given component name, does not display. More... | |
| virtual DtAssistantInfo | assistantInfoFromAssistantMsg (const DtAssistantMsg &assistantMsg, DtInetAddrSet *interfaces=0) |
Protected Attributes | |
| std::shared_ptr < DtAssistantConnectionInfoMgr > | myConnInfoMgr |
| MAKRti::DtClock | myClock |
| Clock for timeouts. More... | |
| DtTime | myTimeoutCheckingTime |
| unsigned int | myTimeout |
| DtAssistantPendingConnectionsWithTimeouts | myPendingSyns |
| DtAssistantPendingConnectionsWithTimeouts | myPendingSynAcks |
| DtAssistantPendingConnectionsWithTimeouts | myPendingFins |
| std::map< DtAssistantUuid, DtTime > | myPendingAssistantInfos |
| std::map< DtAssistantUuid, std::pair < DtAssistantConnectionStruct, DtAssistantConnectionId > > | myAssistantUuidToConnectionMap |
Protected Attributes inherited from DtAssistantMgr | |
| std::shared_ptr < DtRtiAssistantServer > | myServer |
| The Assistant server from which new messages will arrive from local RTI components. More... | |
| std::shared_ptr < DtRtiAssistantPeer > | myPeer |
| The Assistant peer which communicates with other Assistants. More... | |
| std::set< QDialog * > | myUnparentedDialogs |
| All unparented dialogs that are created by the GUI should be added to this set. More... | |
| std::set< QMainWindow * > | myMainWindows |
| All main windows that are created by the GUI should be added to this set. More... | |
| std::set< QDialog * > | myWarningDialogs |
| Set of the popup dialogs, either parented or unparented, which, when active, should cause a warning icon to be displayed. More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from DtAssistantMgr | |
| static QIcon | theRtiIcon |
| The icons used by the RTI Assistant. More... | |
| static QIcon | theSmallRtiIcon |
| static QIcon | theWebIcon |
| static QIcon | theNotifyRtiIcon |
| static QIcon | theWarningRtiIcon |
| static QIcon | thePreferencesIcon |
| static QIcon | theAboutIcon |
| static QIcon | theHelpIcon |
| static bool | theIconsAreLoaded |
| Whether or not the icons have yet been loaded. More... | |
Manages assistant to assistant connections.
| DtRemoteAssistantInfoMgr::DtRemoteAssistantInfoMgr | ( | std::shared_ptr< DtRtiAssistantServer > | server, |
| std::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtAssistantSignalRouter & | signalRouter, | ||
| std::shared_ptr< DtAssistantConnectionInfoMgr > | connInfoMgr | ||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
protected |
|
protected |
|
protected |
|
slot |
|
signal |
Emitted when we have saved a new connection (can occur from someone connecting to us, or a GUI adding it)
|
signal |
|
signal |
Emitted when we have removed a saved connection (GUI removing it)
|
protected |
|
protected |
|
protected |
|
static |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Initialization method.
Reimplemented from DtAssistantMgr.
|
protected |
|
protectedvirtual |
|
protected |
|
virtualslot |
|
virtualslot |
|
static |
Assistant to assistant connection message callback.
|
virtual |
|
slot |
Process an added connection.
|
slot |
Process an connect/disconnect.
|
slot |
|
slot |
Process a removed connection.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
signal |
Queries for assistant information.
|
protected |
|
protected |
|
virtual |
Performs tasks that need to be completed periodically.
Reimplemented from DtAssistantMgr.
|
protected |
|
protected |
|
protected |
Clock for timeouts.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |