MAK RTIspy API Documentation for HLA 1516
Public Slots | Public Member Functions | Protected Attributes | Private Member Functions
DtAssistantPreferencesViewMgr Class Reference

Manages the current assistant preferences and displays the preferences dialog when required. More...

+ Inheritance diagram for DtAssistantPreferencesViewMgr:
+ Collaboration diagram for DtAssistantPreferencesViewMgr:

List of all members.

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.
DtAssistantConfigDialogmyConfigDialog
 The Assistant configuration dialog.
DtLatencyTestConfigWidgetmyLatencyTestConfigWidget
 The widget which configures latency test parameters.
DtAssistantPreferencesWidgetmyAssistantConfigWidget
 The widget which configures the Assistant parameters.
DtNotificationAndLoggingConfigWidgetmyNotificationAndLoggingConfigWidget
 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.
DtAssistantMsgStatsDialogmyMsgStatsDialog
 The dialog that displays assistant message statistics.
DtFileConsoleWidgetmyAssistantConsoleWidget
 The Assistant log widget.
DtConsoleDialogmyAssistantConsoleDialog
 The Assistant Log dialog.
MAKRti::DtString myAssistantLogStringName
 Assistant log string name.

Private Member Functions

 DtAssistantPreferencesViewMgr (DtAssistantPreferencesViewMgr const &)
 Copy Constructor not implemented -- Copy Not Allowed!
DtAssistantPreferencesViewMgroperator= (DtAssistantPreferencesViewMgr const &)
 Assignment not implemented -- Assignment Not Allowed!

Detailed Description

Manages the current assistant preferences and displays the preferences dialog when required.


Constructor & Destructor Documentation

DtAssistantPreferencesViewMgr::DtAssistantPreferencesViewMgr ( DtBoost::shared_ptr< DtRtiAssistantServer server,
DtBoost::shared_ptr< DtRtiAssistantPeer peer,
DtBoost::shared_ptr< DtAssistantPreferencesInfoMgr prefInfoMgr,
DtBoost::shared_ptr< DtAssistantTrayIconMgr trayMgr 
)

Copy Constructor not implemented -- Copy Not Allowed!


Member Function Documentation

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.

Delete all the assistant logs.

Referenced by initialize().

DtAssistantPreferencesViewMgr& DtAssistantPreferencesViewMgr::operator= ( DtAssistantPreferencesViewMgr const &  ) [private]

Assignment not implemented -- Assignment Not Allowed!

void DtAssistantPreferencesViewMgr::setAssistantLogFileName ( const MAKRti::DtString &  str) [virtual]

Sets assistant log file name.

References myAssistantLogStringName.

void DtAssistantPreferencesViewMgr::showConfigDialog ( int  pageNum = -1) [slot]

Periodically update console.

Reimplemented from DtAssistantMgr.

References myAssistantConsoleWidget, NULL, and DtFileConsoleWidget::updateConsole().


Member Data Documentation

The widget which configures the Assistant parameters.

Referenced by DtAssistantPreferencesViewMgr(), initialize(), processConfigAccept(), showConfigDialog(), and ~DtAssistantPreferencesViewMgr().

The Assistant Log dialog.

Referenced by DtAssistantPreferencesViewMgr(), and showAssistantLog().

Assistant log string name.

Referenced by setAssistantLogFileName(), and showAssistantLog().

The Assistant configuration dialog.

Referenced by DtAssistantPreferencesViewMgr(), initialize(), and showConfigDialog().

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().

The widget which configures the Assistant's notification and logging parameters.

Referenced by DtAssistantPreferencesViewMgr(), initialize(), processConfigAccept(), showConfigDialog(), and ~DtAssistantPreferencesViewMgr().

The preferences info mgr.

Referenced by processConfigAccept(), and showConfigDialog().


The documentation for this class was generated from the following files:

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)