![]() |
MAK RTIspy API Documentation for HLA 1516
|
Manages the current assistant preferences and displays the preferences dialog when required. More...
Inheritance diagram for DtAssistantPreferencesInfoMgr:
Collaboration diagram for DtAssistantPreferencesInfoMgr:Public Slots | |
| void | savePreferences () |
| Saves the current preferences to file. More... | |
| void | setLogUpdateInterval (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setKeepAlive (bool) |
| Slots for updating configuration parameters. More... | |
| void | setSendForeignQuery (bool) |
| Slots for updating configuration parameters. More... | |
| void | setLatencyTestInteractionPeriodMs (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setLatencyTestNumInteractions (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setLatencyTestPayloadBytes (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setDisplayPopupsAsNotifications (bool) |
| Slots for updating configuration parameters. More... | |
| void | setEnableNotifications (bool) |
| Slots for updating configuration parameters. More... | |
| void | setLightweightMemorySec (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setDefunctFederateRemovalTimeSec (float) |
| Slots for updating configuration parameters. More... | |
| void | setAssistantUpdateIntervalSec (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setLrcNetStatsUpdateIntervalSec (unsigned int) |
| Slots for updating configuration parameters. More... | |
| void | setShowRtiexecStartupPrompt (bool) |
| Slots for updating configuration parameters. More... | |
| void | setAcceptRemoteCommands (bool) |
| Slots for updating configuration parameters. More... | |
| void | setAssistantPersistent (bool) |
| Slots for updating configuration parameters. More... | |
| void | setDefaultToUnlicensed (bool) |
| Slots for updating configuration parameters. More... | |
| void | setWarningTickInterval (float) |
| Slots for updating configuration parameters. More... | |
| void | setDisplayRemoteNotifications (bool) |
| Slots for updating configuration parameters. More... | |
| void | setDisplayFederationColors (bool) |
| Slots for updating configuration parameters. More... | |
| void | setFederateIdentifier (unsigned int) |
| Slots for updating configuration parameters. More... | |
Public Slots inherited from DtAssistantMgr | |
| void | displayWarningDialogs () |
| Displays all warning dialogs. More... | |
Signals | |
| void | logUpdateIntervalUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | keepAliveUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | sendForeignQueryUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | latencyTestInteractionPeriodMsUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | latencyTestNumInteractionsUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | latencyTestPayloadBytesUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | displayPopupsAsNotificationsUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | enableNotificationsUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | lightweightMemorySecUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | defunctFederateRemovalTimeSecUpdated (float) |
| Signals for configuration parameter updates. More... | |
| void | assistantUpdateIntervalSecUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | lrcNetStatsUpdateIntervalSecUpdated (unsigned int) |
| Signals for configuration parameter updates. More... | |
| void | showRtiexecStartupPromptUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | acceptRemoteCommandsUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | assistantPersistentUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | defaultToUnlicensedUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | warningTickIntervalUpdated (float) |
| Signals for configuration parameter updates. More... | |
| void | displayRemoteNotificationsUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | displayFederationColorsUpdated (bool) |
| Signals for configuration parameter updates. More... | |
| void | federateIdentifierUpdated (unsigned int) |
| Signals for configuration parameter updates. 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 | |
| DtAssistantPreferencesInfoMgr (std::shared_ptr< DtRtiAssistantServer > server, std::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, const MAKRti::DtFilename &configDir) | |
| Constructor. More... | |
| virtual | ~DtAssistantPreferencesInfoMgr () |
| Destructor. More... | |
| virtual void | initialize () |
| Initializes this manager just prior to beginning assistant processing. More... | |
| virtual void | startShutdown () |
| Performs any necessary processing at the start of shutdown. More... | |
| virtual bool | isConfigFileVersionOld () const |
| Returns true if the opened config file had an older version. More... | |
| virtual unsigned int | logUpdateInterval () const |
| Accessors for configuration parameters. More... | |
| virtual bool | keepAlive () const |
| Accessors for configuration parameters. More... | |
| virtual bool | sendForeignQuery () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | latencyTestInteractionPeriodMs () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | latencyTestNumInteractions () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | latencyTestPayloadBytes () const |
| Accessors for configuration parameters. More... | |
| virtual bool | displayPopupsAsNotifications () const |
| Accessors for configuration parameters. More... | |
| virtual bool | enableNotifications () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | lightweightMemorySec () const |
| Accessors for configuration parameters. More... | |
| virtual float | defunctFederateRemovalTimeSec () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | assistantUpdateIntervalSec () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | lrcNetStatsUpdateIntervalSec () const |
| Accessors for configuration parameters. More... | |
| virtual bool | showRtiexecStartupPrompt () const |
| Accessors for configuration parameters. More... | |
| virtual bool | acceptRemoteCommands () const |
| Accessors for configuration parameters. More... | |
| virtual bool | assistantPersistent () const |
| Accessors for configuration parameters. More... | |
| virtual bool | defaultToUnlicensed () const |
| Accessors for configuration parameters. More... | |
| virtual float | warningTickInterval () const |
| Accessors for configuration parameters. More... | |
| virtual bool | displayRemoteNotifications () const |
| Accessors for configuration parameters. More... | |
| virtual bool | displayFederationColors () const |
| Accessors for configuration parameters. More... | |
| virtual unsigned int | federateIdentifier () const |
| Accessors for configuration parameters. More... | |
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 | tick () |
| Performs tasks that need to be completed periodically. 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... | |
Protected Attributes | |
| std::shared_ptr < DtAssistantConfig > | myConfig |
| The current Assistant configuration. More... | |
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... | |
Private Member Functions | |
| DtAssistantPreferencesInfoMgr (DtAssistantPreferencesInfoMgr const &) | |
| Copy Constructor not implemented – Copy Not Allowed! More... | |
| DtAssistantPreferencesInfoMgr & | operator= (DtAssistantPreferencesInfoMgr const &) |
| Assignment not implemented – Assignment Not Allowed! More... | |
Additional Inherited Members | |
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) |
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 the current assistant preferences and displays the preferences dialog when required.
| DtAssistantPreferencesInfoMgr::DtAssistantPreferencesInfoMgr | ( | std::shared_ptr< DtRtiAssistantServer > | server, |
| std::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtAssistantSignalRouter & | signalRouter, | ||
| const MAKRti::DtFilename & | configDir | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Constructor not implemented – Copy Not Allowed!
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Initializes this manager just prior to beginning assistant processing.
Reimplemented from DtAssistantMgr.
|
virtual |
Returns true if the opened config file had an older version.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
private |
Assignment not implemented – Assignment Not Allowed!
|
slot |
Saves the current preferences to file.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
slot |
Slots for updating configuration parameters.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
virtual |
Performs any necessary processing at the start of shutdown.
Reimplemented from DtAssistantMgr.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
|
protected |
The current Assistant configuration.