MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions

Responsible for maintaining the console dialogs to display log files for local RTI components. More...

+ Inheritance diagram for DtAssistantLogFileMgr:
+ Collaboration diagram for DtAssistantLogFileMgr:

Public Slots

void removeComponent (const DtAssistantComponentInfo *compInfo)
 Eliminates existing component. More...
 
void renameComponent (const DtAssistantComponentInfo *compInfo)
 Renames an existing component. More...
 
void processComponentUpdate (const DtAssistantComponentInfo *compInfo)
 Handles a component update. More...
 
void sendComponentUpdateNotifyLevel (int id, MAKRti::DtNotifyLevelType level)
 Processes an update to a component notify level from the menu. More...
 
void setLogUpdateInterval (unsigned int interval)
 Updates all of the existing log consoles to update at the specified update interval (in msecs). More...
 
void showComponentConsole (int id)
 Displays the component's console. More...
 
- Public Slots inherited from DtAssistantMgr
void displayWarningDialogs ()
 Displays all warning dialogs. More...
 

Public Member Functions

 DtAssistantLogFileMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, DtBoost::shared_ptr< DtAssistantComponentMgr > compMgr)
 Constructor. More...
 
virtual ~DtAssistantLogFileMgr ()
 Destructor. More...
 
- Public Member Functions inherited from DtAssistantMgr
 DtAssistantMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter)
 Constructor. More...
 
virtual ~DtAssistantMgr ()
 Destructor. More...
 
virtual void initialize ()
 Initializes this manager just prior to beginning assistant processing. More...
 
virtual void tick ()
 Performs tasks that need to be completed periodically. 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...
 

Protected Types

typedef std::map< int,
DtConsoleDialog * > 
DtIdToFileConsoleMap
 

Protected Member Functions

void enableComponentLog (int id, const MAKRti::DtString &compName, const MAKRti::DtString &logName, MAKRti::DtNotifyLevelType level)
 Enable the log display for the given component. More...
 
void disableComponentLog (int id)
 Disable the log display for the given component. More...
 
- 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

DtBoost::shared_ptr
< DtAssistantComponentMgr
myCompMgr
 The manager that keeps track of all local RTI components. More...
 
DtIdToFileConsoleMap myComponentConsoles
 Map from component IDs to console widgets. More...
 
std::set< int > myViewLogCompIds
 The set of component IDs whose logs should immediately be opened once log viewing is enabled. More...
 
unsigned int myLogUpdateInterval
 Interval at which log consoles will be updated. More...
 
DtAssistantEnableLoggingDialogmyEnableLoggingDialog
 Dialog to verify user wants to enable logging when disabled. More...
 
- Protected Attributes inherited from DtAssistantMgr
DtBoost::shared_ptr
< DtRtiAssistantServer
myServer
 The Assistant server from which new messages will arrive from local RTI components. More...
 
DtBoost::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

 DtAssistantLogFileMgr (DtAssistantLogFileMgr const &)
 Copy Constructor not implemented – Copy Not Allowed! More...
 
DtAssistantLogFileMgroperator= (DtAssistantLogFileMgr const &)
 Assignment not implemented – Assignment Not Allowed! More...
 

Additional Inherited Members

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

Detailed Description

Responsible for maintaining the console dialogs to display log files for local RTI components.

Member Typedef Documentation

Constructor & Destructor Documentation

DtAssistantLogFileMgr::DtAssistantLogFileMgr ( DtBoost::shared_ptr< DtRtiAssistantServer server,
DtBoost::shared_ptr< DtRtiAssistantPeer peer,
DtAssistantSignalRouter signalRouter,
DtBoost::shared_ptr< DtAssistantComponentMgr compMgr 
)

Constructor.

virtual DtAssistantLogFileMgr::~DtAssistantLogFileMgr ( )
virtual

Destructor.

DtAssistantLogFileMgr::DtAssistantLogFileMgr ( DtAssistantLogFileMgr const &  )
private

Copy Constructor not implemented – Copy Not Allowed!

Member Function Documentation

void DtAssistantLogFileMgr::disableComponentLog ( int  id)
protected

Disable the log display for the given component.

void DtAssistantLogFileMgr::enableComponentLog ( int  id,
const MAKRti::DtString &  compName,
const MAKRti::DtString &  logName,
MAKRti::DtNotifyLevelType  level 
)
protected

Enable the log display for the given component.

DtAssistantLogFileMgr& DtAssistantLogFileMgr::operator= ( DtAssistantLogFileMgr const &  )
private

Assignment not implemented – Assignment Not Allowed!

void DtAssistantLogFileMgr::processComponentUpdate ( const DtAssistantComponentInfo compInfo)
slot

Handles a component update.

void DtAssistantLogFileMgr::removeComponent ( const DtAssistantComponentInfo compInfo)
slot

Eliminates existing component.

void DtAssistantLogFileMgr::renameComponent ( const DtAssistantComponentInfo compInfo)
slot

Renames an existing component.

void DtAssistantLogFileMgr::sendComponentUpdateNotifyLevel ( int  id,
MAKRti::DtNotifyLevelType  level 
)
slot

Processes an update to a component notify level from the menu.

void DtAssistantLogFileMgr::setLogUpdateInterval ( unsigned int  interval)
slot

Updates all of the existing log consoles to update at the specified update interval (in msecs).

void DtAssistantLogFileMgr::showComponentConsole ( int  id)
slot

Displays the component's console.

Member Data Documentation

DtBoost::shared_ptr<DtAssistantComponentMgr> DtAssistantLogFileMgr::myCompMgr
protected

The manager that keeps track of all local RTI components.

DtIdToFileConsoleMap DtAssistantLogFileMgr::myComponentConsoles
protected

Map from component IDs to console widgets.

DtAssistantEnableLoggingDialog* DtAssistantLogFileMgr::myEnableLoggingDialog
protected

Dialog to verify user wants to enable logging when disabled.

unsigned int DtAssistantLogFileMgr::myLogUpdateInterval
protected

Interval at which log consoles will be updated.

std::set< int > DtAssistantLogFileMgr::myViewLogCompIds
protected

The set of component IDs whose logs should immediately be opened once log viewing is enabled.


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

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)