![]() |
MAK RTIspy API Documentation for HLA Evolved
|
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. | |
| void | setLogUpdateInterval (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setKeepAlive (bool) |
| Slots for updating configuration parameters. | |
| void | setLatencyTestInteractionPeriodMs (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setLatencyTestNumInteractions (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setLatencyTestPayloadBytes (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setDisplayPopupsAsNotifications (bool) |
| Slots for updating configuration parameters. | |
| void | setEnableNotifications (bool) |
| Slots for updating configuration parameters. | |
| void | setLightweightMemorySec (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setDefunctFederateRemovalTimeSec (float) |
| Slots for updating configuration parameters. | |
| void | setAssistantUpdateIntervalSec (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setLrcNetStatsUpdateIntervalSec (unsigned int) |
| Slots for updating configuration parameters. | |
| void | setShowRtiexecStartupPrompt (bool) |
| Slots for updating configuration parameters. | |
| void | setAcceptRemoteCommands (bool) |
| Slots for updating configuration parameters. | |
| void | setAssistantPersistent (bool) |
| Slots for updating configuration parameters. | |
| void | setDefaultToUnlicensed (bool) |
| Slots for updating configuration parameters. | |
| void | setWarningTickInterval (float) |
| Slots for updating configuration parameters. | |
| void | setDisplayRemoteNotifications (bool) |
| Slots for updating configuration parameters. | |
| void | setDisplayFederationColors (bool) |
| Slots for updating configuration parameters. | |
| void | setFederateIdentifier (unsigned int) |
| Slots for updating configuration parameters. | |
Public Slots inherited from DtAssistantMgr | |
| void | displayWarningDialogs () |
| Displays all warning dialogs. | |
Signals | |
| void | logUpdateIntervalUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | keepAliveUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | latencyTestInteractionPeriodMsUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | latencyTestNumInteractionsUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | latencyTestPayloadBytesUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | displayPopupsAsNotificationsUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | enableNotificationsUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | lightweightMemorySecUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | defunctFederateRemovalTimeSecUpdated (float) |
| Signals for configuration parameter updates. | |
| void | assistantUpdateIntervalSecUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | lrcNetStatsUpdateIntervalSecUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
| void | showRtiexecStartupPromptUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | acceptRemoteCommandsUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | assistantPersistentUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | defaultToUnlicensedUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | warningTickIntervalUpdated (float) |
| Signals for configuration parameter updates. | |
| void | displayRemoteNotificationsUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | displayFederationColorsUpdated (bool) |
| Signals for configuration parameter updates. | |
| void | federateIdentifierUpdated (unsigned int) |
| Signals for configuration parameter updates. | |
Signals inherited from DtAssistantMgr | |
| 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 | |
| DtAssistantPreferencesInfoMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, const MAKRti::DtFilename &configDir) | |
| Constructor. | |
| virtual | ~DtAssistantPreferencesInfoMgr () |
| 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 | isConfigFileVersionOld () const |
| Returns true if the opened config file had an older version. | |
| virtual unsigned int | logUpdateInterval () const |
| Accessors for configuration parameters. | |
| virtual bool | keepAlive () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | latencyTestInteractionPeriodMs () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | latencyTestNumInteractions () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | latencyTestPayloadBytes () const |
| Accessors for configuration parameters. | |
| virtual bool | displayPopupsAsNotifications () const |
| Accessors for configuration parameters. | |
| virtual bool | enableNotifications () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | lightweightMemorySec () const |
| Accessors for configuration parameters. | |
| virtual float | defunctFederateRemovalTimeSec () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | assistantUpdateIntervalSec () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | lrcNetStatsUpdateIntervalSec () const |
| Accessors for configuration parameters. | |
| virtual bool | showRtiexecStartupPrompt () const |
| Accessors for configuration parameters. | |
| virtual bool | acceptRemoteCommands () const |
| Accessors for configuration parameters. | |
| virtual bool | assistantPersistent () const |
| Accessors for configuration parameters. | |
| virtual bool | defaultToUnlicensed () const |
| Accessors for configuration parameters. | |
| virtual float | warningTickInterval () const |
| Accessors for configuration parameters. | |
| virtual bool | displayRemoteNotifications () const |
| Accessors for configuration parameters. | |
| virtual bool | displayFederationColors () const |
| Accessors for configuration parameters. | |
| virtual unsigned int | federateIdentifier () const |
| Accessors for configuration parameters. | |
Public Member Functions inherited from DtAssistantMgr | |
| DtAssistantMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter) | |
| Constructor. | |
| virtual | ~DtAssistantMgr () |
| Destructor. | |
| virtual void | tick () |
| Performs tasks that need to be completed periodically. | |
| 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 Attributes | |
| DtBoost::shared_ptr < DtAssistantConfig > | myConfig |
| The current Assistant configuration. | |
Protected Attributes inherited from DtAssistantMgr | |
| 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. | |
Private Member Functions | |
| DtAssistantPreferencesInfoMgr (DtAssistantPreferencesInfoMgr const &) | |
| Copy Constructor not implemented – Copy Not Allowed! | |
| DtAssistantPreferencesInfoMgr & | operator= (DtAssistantPreferencesInfoMgr const &) |
| Assignment not implemented – Assignment Not Allowed! | |
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. | |
| 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. | |
Static Protected Attributes inherited from DtAssistantMgr | |
| static QIcon | theRtiIcon |
| The icons used by the RTI Assistant. | |
| static QIcon | theSmallRtiIcon |
| static QIcon | theWebIcon |
| static QIcon | theNotifyRtiIcon |
| static QIcon | theWarningRtiIcon |
| static QIcon | thePreferencesIcon |
| static QIcon | theAboutIcon |
| static QIcon | theHelpIcon |
| static bool | theIconsAreLoaded = false |
| Whether or not the icons have yet been loaded. | |
Manages the current assistant preferences and displays the preferences dialog when required.
| DtAssistantPreferencesInfoMgr::DtAssistantPreferencesInfoMgr | ( | DtBoost::shared_ptr< DtRtiAssistantServer > | server, |
| DtBoost::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtAssistantSignalRouter & | signalRouter, | ||
| const MAKRti::DtFilename & | configDir | ||
| ) |
Constructor.
References acceptRemoteCommandsUpdated(), assistantPersistentUpdated(), assistantUpdateIntervalSecUpdated(), changeAssistantStartup(), defaultToUnlicensedUpdated(), defunctFederateRemovalTimeSecUpdated(), displayFederationColorsUpdated(), displayPopupsAsNotificationsUpdated(), displayRemoteNotificationsUpdated(), DtAcceptRemoteCommandsUpdatedSig, DtAssistantPersistentUpdatedSig, DtAssistantStartupInstallUser, DtAssistantStartupUninstall, DtAssistantUpdateIntervalSecUpdatedSig, DtDefaultToUnlicensedUpdatedSig, DtDefunctFederateRemovalTimeSecUpdatedSig, DtDisplayFederationColorsUpdatedSig, DtDisplayPopupsAsNotificationsUpdatedSig, DtDisplayRemoteNotificationsUpdatedSig, DtEnableNotificationsUpdatedSig, DtFederateIdentifierUpdatedSig, DtKeepAliveUpdatedSig, DtLatencyTestInteractionPeriodMsUpdatedSig, DtLatencyTestNumInteractionsUpdatedSig, DtLatencyTestPayloadBytesUpdatedSig, DtLightweightMemorySecUpdatedSig, DtLogUpdateIntervalUpdatedSig, DtLrcUpdateIntervalSecUpdatedSig, DtSavePreferencesSig, DtShowRtiexecStartupPromptUpdatedSig, DtUpdateAcceptRemoteCommandsSig, DtUpdateAssistantPersistentSig, DtUpdateAssistantUpdateIntervalSecSig, DtUpdateDefaultToUnlicensedSig, DtUpdateDefunctFederateRemovalTimeSecSig, DtUpdateDisplayFederationColorsSig, DtUpdateDisplayPopupsAsNotificationsSig, DtUpdateDisplayRemoteNotificationsSig, DtUpdateEnableNotificationsSig, DtUpdateFederateIdentifierSig, DtUpdateKeepAliveSig, DtUpdateLatencyTestInteractionPeriodMsSig, DtUpdateLatencyTestNumInteractionsSig, DtUpdateLatencyTestPayloadBytesSig, DtUpdateLightweightMemorySecSig, DtUpdateLogUpdateIntervalSig, DtUpdateLrcUpdateIntervalSecSig, DtUpdateShowRtiexecStartupPromptSig, DtUpdateWarningTickIntervalSig, DtWarningTickIntervalUpdatedSig, enableNotificationsUpdated(), federateIdentifierUpdated(), keepAliveUpdated(), latencyTestInteractionPeriodMsUpdated(), latencyTestNumInteractionsUpdated(), latencyTestPayloadBytesUpdated(), lightweightMemorySecUpdated(), logUpdateIntervalUpdated(), lrcNetStatsUpdateIntervalSecUpdated(), myConfig, DtAssistantSignalRouter::registerSignal(), DtAssistantSignalRouter::registerSlot(), savePreferences(), setAcceptRemoteCommands(), setAssistantPersistent(), setAssistantUpdateIntervalSec(), setDefaultToUnlicensed(), setDefunctFederateRemovalTimeSec(), setDisplayFederationColors(), setDisplayPopupsAsNotifications(), setDisplayRemoteNotifications(), setEnableNotifications(), setFederateIdentifier(), setKeepAlive(), setLatencyTestInteractionPeriodMs(), setLatencyTestNumInteractions(), setLatencyTestPayloadBytes(), setLightweightMemorySec(), setLogUpdateInterval(), setLrcNetStatsUpdateIntervalSec(), setShowRtiexecStartupPrompt(), setWarningTickInterval(), showRtiexecStartupPromptUpdated(), and warningTickIntervalUpdated().
|
virtual |
Destructor.
References changeAssistantStartup(), and DtAssistantStartupUninstall.
|
private |
Copy Constructor not implemented – Copy Not Allowed!
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Initializes this manager just prior to beginning assistant processing.
Reimplemented from DtAssistantMgr.
References acceptRemoteCommandsUpdated(), assistantPersistentUpdated(), assistantUpdateIntervalSecUpdated(), defaultToUnlicensedUpdated(), defunctFederateRemovalTimeSecUpdated(), displayFederationColorsUpdated(), displayPopupsAsNotificationsUpdated(), displayRemoteNotificationsUpdated(), enableNotificationsUpdated(), federateIdentifierUpdated(), keepAliveUpdated(), latencyTestInteractionPeriodMsUpdated(), latencyTestNumInteractionsUpdated(), latencyTestPayloadBytesUpdated(), lightweightMemorySecUpdated(), logUpdateIntervalUpdated(), lrcNetStatsUpdateIntervalSecUpdated(), myConfig, showRtiexecStartupPromptUpdated(), and warningTickIntervalUpdated().
|
virtual |
Returns true if the opened config file had an older version.
References myConfig.
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
private |
Assignment not implemented – Assignment Not Allowed!
|
slot |
Saves the current preferences to file.
References myConfig.
Referenced by DtAssistantPreferencesInfoMgr(), and startShutdown().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
slot |
Slots for updating configuration parameters.
Referenced by DtAssistantPreferencesInfoMgr().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
virtual |
Performs any necessary processing at the start of shutdown.
Reimplemented from DtAssistantMgr.
References savePreferences().
|
virtual |
Accessors for configuration parameters.
|
signal |
Signals for configuration parameter updates.
Referenced by DtAssistantPreferencesInfoMgr(), and initialize().
|
protected |
The current Assistant configuration.
Referenced by DtAssistantPreferencesInfoMgr(), initialize(), isConfigFileVersionOld(), and savePreferences().