![]() |
MAK RTIspy API Documentation for HLA 1516
|
Manages the current assistant preferences and displays the preferences dialog when required. More...
Inheritance diagram for DtAssistantPreferencesViewMgr:
Collaboration diagram for DtAssistantPreferencesViewMgr:Public Slots | |
| void | showConfigDialog (int pageNum=-1) |
| Displays the configuration dialog. | |
| void | processConfigAccept () |
| Processes the acceptance of the configuration dialog. | |
| void | showMsgStats () |
| Displays the message statistics dialog. | |
| void | showAssistantLog () |
| Show assistant log. | |
| void | deleteAssistantLogs () |
| Delete all the assistant logs. | |
Public Member Functions | |
| DtAssistantPreferencesViewMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtBoost::shared_ptr< DtAssistantPreferencesInfoMgr > prefInfoMgr, DtBoost::shared_ptr< DtAssistantTrayIconMgr > trayMgr) | |
| Constructor. | |
| virtual | ~DtAssistantPreferencesViewMgr () |
| Destructor. | |
| virtual void | initialize () |
| Initializes this manager just prior to beginning assistant processing. | |
| virtual unsigned | addConfigWidgetMgr (DtAssistantMgr *mgr) |
| Adds a manager to the list of managers that have configuration widgets that must also be displayed in the configuration dialog. | |
| virtual void | tick () |
| Periodically update console. | |
| virtual void | setAssistantLogFileName (const MAKRti::DtString &) |
| Sets assistant log file name. | |
Protected Attributes | |
| DtBoost::shared_ptr < DtAssistantPreferencesInfoMgr > | myPrefInfoMgr |
| The preferences info mgr. | |
| DtAssistantConfigDialog * | myConfigDialog |
| The Assistant configuration dialog. | |
| DtLatencyTestConfigWidget * | myLatencyTestConfigWidget |
| The widget which configures latency test parameters. | |
| DtAssistantPreferencesWidget * | myAssistantConfigWidget |
| The widget which configures the Assistant parameters. | |
| DtNotificationAndLoggingConfigWidget * | myNotificationAndLoggingConfigWidget |
| The widget which configures the Assistant's notification and logging parameters. | |
| std::vector< DtAssistantMgr * > | myConfigWidgetMgrs |
| Managers that own other configuration widgets which are also displayed in the configuration dialog. | |
| DtAssistantMsgStatsDialog * | myMsgStatsDialog |
| The dialog that displays assistant message statistics. | |
| DtFileConsoleWidget * | myAssistantConsoleWidget |
| The Assistant log widget. | |
| DtConsoleDialog * | myAssistantConsoleDialog |
| The Assistant Log dialog. | |
| MAKRti::DtString | myAssistantLogStringName |
| Assistant log string name. | |
Private Member Functions | |
| DtAssistantPreferencesViewMgr (DtAssistantPreferencesViewMgr const &) | |
| Copy Constructor not implemented -- Copy Not Allowed! | |
| DtAssistantPreferencesViewMgr & | operator= (DtAssistantPreferencesViewMgr const &) |
| Assignment not implemented -- Assignment Not Allowed! | |
Manages the current assistant preferences and displays the preferences dialog when required.
| DtAssistantPreferencesViewMgr::DtAssistantPreferencesViewMgr | ( | DtBoost::shared_ptr< DtRtiAssistantServer > | server, |
| DtBoost::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtBoost::shared_ptr< DtAssistantPreferencesInfoMgr > | prefInfoMgr, | ||
| DtBoost::shared_ptr< DtAssistantTrayIconMgr > | trayMgr | ||
| ) |
Constructor.
References connect(), myAssistantConfigWidget, myAssistantConsoleDialog, myAssistantConsoleWidget, myConfigDialog, myLatencyTestConfigWidget, myMsgStatsDialog, myNotificationAndLoggingConfigWidget, NULL, processConfigAccept(), showConfigDialog(), showMsgStats(), and DtAssistantMgr::startDialog().
Destructor.
References myAssistantConfigWidget, myAssistantConsoleWidget, myLatencyTestConfigWidget, and myNotificationAndLoggingConfigWidget.
| DtAssistantPreferencesViewMgr::DtAssistantPreferencesViewMgr | ( | DtAssistantPreferencesViewMgr const & | ) | [private] |
Copy Constructor not implemented -- Copy Not Allowed!
| unsigned DtAssistantPreferencesViewMgr::addConfigWidgetMgr | ( | DtAssistantMgr * | mgr | ) | [virtual] |
Adds a manager to the list of managers that have configuration widgets that must also be displayed in the configuration dialog.
This must be called prior to initialize.
References myConfigWidgetMgrs.
| void DtAssistantPreferencesViewMgr::deleteAssistantLogs | ( | ) | [slot] |
Delete all the assistant logs.
Referenced by initialize().
| void DtAssistantPreferencesViewMgr::initialize | ( | ) | [virtual] |
Initializes this manager just prior to beginning assistant processing.
Reimplemented from DtAssistantMgr.
References DtAssistantConfigDialog::addConfigWidget(), DtAssistantConfigDialog::completeDialogSetup(), connect(), DtNotificationAndLoggingConfigWidget::deleteAllAssistantLogsButton(), deleteAssistantLogs(), DtNotificationAndLoggingConfigWidget::displayAssistantLogButton(), DtRtiLibPath(), myAssistantConfigWidget, myConfigDialog, myConfigWidgetMgrs, myLatencyTestConfigWidget, myNotificationAndLoggingConfigWidget, and showAssistantLog().
| DtAssistantPreferencesViewMgr& DtAssistantPreferencesViewMgr::operator= | ( | DtAssistantPreferencesViewMgr const & | ) | [private] |
Assignment not implemented -- Assignment Not Allowed!
| void DtAssistantPreferencesViewMgr::processConfigAccept | ( | ) | [slot] |
Processes the acceptance of the configuration dialog.
References DtNotificationAndLoggingConfigWidget::alwaysViewLog(), DtAssistantPreferencesWidget::assistantPersistent(), DtAssistantPreferencesWidget::assistantUpdateIntervalSec(), changeAssistantStartup(), DtAssistantPreferencesWidget::defunctFederateTimeoutMs(), DtNotificationAndLoggingConfigWidget::displayRemoteNotifications(), DtAssistantStartupInstallUser, DtAssistantStartupUninstall, DtAssistantPreferencesWidget::enableLoopback(), DtNotificationAndLoggingConfigWidget::enableNotifications(), DtAssistantPreferencesWidget::enableRemoteCommands(), DtLatencyTestConfigWidget::interactionPeriod(), DtAssistantPreferencesWidget::keepAlive(), DtAssistantPreferencesWidget::lightweightMemorySec(), DtNotificationAndLoggingConfigWidget::logUpdateIntervalMs(), myAssistantConfigWidget, myConfigWidgetMgrs, myLatencyTestConfigWidget, myNotificationAndLoggingConfigWidget, myPrefInfoMgr, DtLatencyTestConfigWidget::numInteractions(), DtLatencyTestConfigWidget::payloadBytes(), DtNotificationAndLoggingConfigWidget::popupsAsNotifications(), DtNotificationAndLoggingConfigWidget::showViewLogPrompt(), and DtNotificationAndLoggingConfigWidget::warningTickInterval().
Referenced by DtAssistantPreferencesViewMgr().
| void DtAssistantPreferencesViewMgr::setAssistantLogFileName | ( | const MAKRti::DtString & | str | ) | [virtual] |
Sets assistant log file name.
References myAssistantLogStringName.
| void DtAssistantPreferencesViewMgr::showAssistantLog | ( | ) | [slot] |
Show assistant log.
References myAssistantConsoleDialog, myAssistantConsoleWidget, myAssistantLogStringName, NULL, DtConsoleWidget::removeNotifyComboBox(), DtFileConsoleWidget::setLogFile(), DtFileConsoleWidget::setName(), and DtAssistantMgr::startDialog().
Referenced by initialize().
| void DtAssistantPreferencesViewMgr::showConfigDialog | ( | int | pageNum = -1 | ) | [slot] |
Displays the configuration dialog.
References myAssistantConfigWidget, myConfigDialog, myConfigWidgetMgrs, myLatencyTestConfigWidget, myNotificationAndLoggingConfigWidget, DtAssistantMgr::myPeer, myPrefInfoMgr, DtAssistantMgr::myServer, DtAssistantPreferencesWidget::setAssistantConnParams(), DtAssistantPreferencesWidget::setAssistantPersistent(), DtAssistantPreferencesWidget::setAssistantUpdateIntervalSec(), DtLatencyTestConfigWidget::setConfig(), DtAssistantPreferencesWidget::setDefunctFederateTimeoutMs(), DtNotificationAndLoggingConfigWidget::setDisplayRemoteNotifications(), DtAssistantPreferencesWidget::setEnableLoopback(), DtNotificationAndLoggingConfigWidget::setEnableNotifications(), DtAssistantPreferencesWidget::setEnableRemoteCommands(), DtAssistantPreferencesWidget::setKeepAlive(), DtAssistantPreferencesWidget::setLightweightMemorySec(), DtNotificationAndLoggingConfigWidget::setLogUpdateIntervalMs(), DtAssistantConfigDialog::setPage(), DtNotificationAndLoggingConfigWidget::setPopupsAsNotifications(), DtNotificationAndLoggingConfigWidget::setViewLogPrompt(), DtNotificationAndLoggingConfigWidget::setWarningTickInterval(), and DtAssistantMgr::showDialog().
Referenced by DtAssistantPreferencesViewMgr().
| void DtAssistantPreferencesViewMgr::showMsgStats | ( | ) | [slot] |
Displays the message statistics dialog.
References myMsgStatsDialog, DtAssistantMgr::myPeer, DtAssistantMsgStatsDialog::setStatistics(), and DtAssistantMgr::showDialog().
Referenced by DtAssistantPreferencesViewMgr().
| void DtAssistantPreferencesViewMgr::tick | ( | ) | [virtual] |
Periodically update console.
Reimplemented from DtAssistantMgr.
References myAssistantConsoleWidget, NULL, and DtFileConsoleWidget::updateConsole().
The widget which configures the Assistant parameters.
Referenced by DtAssistantPreferencesViewMgr(), initialize(), processConfigAccept(), showConfigDialog(), and ~DtAssistantPreferencesViewMgr().
The Assistant Log dialog.
Referenced by DtAssistantPreferencesViewMgr(), and showAssistantLog().
The Assistant log widget.
Referenced by DtAssistantPreferencesViewMgr(), showAssistantLog(), tick(), and ~DtAssistantPreferencesViewMgr().
MAKRti::DtString DtAssistantPreferencesViewMgr::myAssistantLogStringName [protected] |
Assistant log string name.
Referenced by setAssistantLogFileName(), and showAssistantLog().
The Assistant configuration dialog.
Referenced by DtAssistantPreferencesViewMgr(), initialize(), and showConfigDialog().
std::vector<DtAssistantMgr*> DtAssistantPreferencesViewMgr::myConfigWidgetMgrs [protected] |
Managers that own other configuration widgets which are also displayed in the configuration dialog.
Referenced by addConfigWidgetMgr(), initialize(), processConfigAccept(), and showConfigDialog().
The widget which configures latency test parameters.
Referenced by DtAssistantPreferencesViewMgr(), initialize(), processConfigAccept(), showConfigDialog(), and ~DtAssistantPreferencesViewMgr().
The dialog that displays assistant message statistics.
Referenced by DtAssistantPreferencesViewMgr(), and showMsgStats().
DtNotificationAndLoggingConfigWidget* DtAssistantPreferencesViewMgr::myNotificationAndLoggingConfigWidget [protected] |
The widget which configures the Assistant's notification and logging parameters.
Referenced by DtAssistantPreferencesViewMgr(), initialize(), processConfigAccept(), showConfigDialog(), and ~DtAssistantPreferencesViewMgr().
DtBoost::shared_ptr<DtAssistantPreferencesInfoMgr> DtAssistantPreferencesViewMgr::myPrefInfoMgr [protected] |
The preferences info mgr.
Referenced by processConfigAccept(), and showConfigDialog().