MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Signals | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtAssistantNetStatsObservationMgr Class Reference
+ Inheritance diagram for DtAssistantNetStatsObservationMgr:
+ Collaboration diagram for DtAssistantNetStatsObservationMgr:

Signals

void sendLocalNetStatsObserveRsp (const DtAssistantInfo &observer, int compId, bool response)
 
void processPeerNetStatsInitStateReq (const DtAssistantInfo &observer, int compId)
 
void lrcNoLongerObserved (const DtAssistantInfo &observer, int compId)
 
- 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

 DtAssistantNetStatsObservationMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, DtAssistantObservationType observationType)
 Constructor. More...
 
 ~DtAssistantNetStatsObservationMgr ()
 Destructor. More...
 
void processObserveRequest (const DtAssistantInfo &observer, int compId, bool observe, unsigned int interval, bool isLocalAssistant=false)
 
void processNetStatsInitStateRequestMsg (const DtAssistantNetStatsInitStateRequestMsg &msg)
 
const
DtAssistantInfoByLrcCompIdMap
getObservingAssistantsMap () const
 
void setLrcNetStatsEnabled (int lrcCompId, bool enabled)
 
void removeLrcNetStatsEnabled (int lrcCompId)
 
void forwardNetStatsUpdateToRemoteAstnt (const DtAssistantMsg &msg)
 
void federateDisconnected (int lrcCompId)
 
void sendNetStatsInitStateReq (const DtAssistantInfo &observer, int compId)
 
- 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...
 

Static Public Member Functions

static void processNetStatsInitStateRequestMsg (const DtAssistantNetStatsInitStateRequestMsg &msg, void *usr)
 

Protected Member Functions

void addObserver (const DtAssistantInfo &observer, int compId, unsigned int interval)
 
void removeObserver (const DtAssistantInfo &observer, int compId)
 
void sendNetStatsObserveRsp (const DtAssistantInfo &observer, int compId, bool response)
 
bool isLrcNetStatsEnabled (int lrcCompId)
 
bool updateIntervalMap (int compId, unsigned int interval)
 
void removeLrcFromIntervalMap (int compId)
 
bool addToMaps (const DtAssistantInfo &observer, int compId)
 
bool removeFromMaps (const DtAssistantInfo &observer, int compId)
 
void sanitizeMaps (int lrcCompId)
 
void removeAllObservers ()
 
void messageCallbacks ()
 
- 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

DtAssistantObservationType myObservationType
 
DtIntervalMap myObservedIntervalsByLrcCompId
 
DtLrcCompIdByAssistantInfoMap myObservedLrcCompIdByAssistantCompId
 
DtAssistantInfoByLrcCompIdMap myObservingAssistantsByLrcCompId
 
DtLrcNetStatsEnabledMap myLrcNetStatsEnabled
 
- 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...
 

Additional Inherited Members

- Public Slots inherited from DtAssistantMgr
void displayWarningDialogs ()
 Displays all warning dialogs. 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...
 

Constructor & Destructor Documentation

DtAssistantNetStatsObservationMgr::DtAssistantNetStatsObservationMgr ( DtBoost::shared_ptr< DtRtiAssistantServer server,
DtBoost::shared_ptr< DtRtiAssistantPeer peer,
DtAssistantSignalRouter signalRouter,
DtAssistantObservationType  observationType 
)

Constructor.

DtAssistantNetStatsObservationMgr::~DtAssistantNetStatsObservationMgr ( )

Destructor.

Member Function Documentation

void DtAssistantNetStatsObservationMgr::addObserver ( const DtAssistantInfo observer,
int  compId,
unsigned int  interval 
)
protected
bool DtAssistantNetStatsObservationMgr::addToMaps ( const DtAssistantInfo observer,
int  compId 
)
protected
void DtAssistantNetStatsObservationMgr::federateDisconnected ( int  lrcCompId)
void DtAssistantNetStatsObservationMgr::forwardNetStatsUpdateToRemoteAstnt ( const DtAssistantMsg msg)
const DtAssistantInfoByLrcCompIdMap& DtAssistantNetStatsObservationMgr::getObservingAssistantsMap ( ) const
bool DtAssistantNetStatsObservationMgr::isLrcNetStatsEnabled ( int  lrcCompId)
protected
void DtAssistantNetStatsObservationMgr::lrcNoLongerObserved ( const DtAssistantInfo observer,
int  compId 
)
signal
void DtAssistantNetStatsObservationMgr::messageCallbacks ( )
protected
static void DtAssistantNetStatsObservationMgr::processNetStatsInitStateRequestMsg ( const DtAssistantNetStatsInitStateRequestMsg msg,
void *  usr 
)
static
void DtAssistantNetStatsObservationMgr::processNetStatsInitStateRequestMsg ( const DtAssistantNetStatsInitStateRequestMsg msg)
void DtAssistantNetStatsObservationMgr::processObserveRequest ( const DtAssistantInfo observer,
int  compId,
bool  observe,
unsigned int  interval,
bool  isLocalAssistant = false 
)
void DtAssistantNetStatsObservationMgr::processPeerNetStatsInitStateReq ( const DtAssistantInfo observer,
int  compId 
)
signal
void DtAssistantNetStatsObservationMgr::removeAllObservers ( )
protected
bool DtAssistantNetStatsObservationMgr::removeFromMaps ( const DtAssistantInfo observer,
int  compId 
)
protected
void DtAssistantNetStatsObservationMgr::removeLrcFromIntervalMap ( int  compId)
protected
void DtAssistantNetStatsObservationMgr::removeLrcNetStatsEnabled ( int  lrcCompId)
void DtAssistantNetStatsObservationMgr::removeObserver ( const DtAssistantInfo observer,
int  compId 
)
protected
void DtAssistantNetStatsObservationMgr::sanitizeMaps ( int  lrcCompId)
protected
void DtAssistantNetStatsObservationMgr::sendLocalNetStatsObserveRsp ( const DtAssistantInfo observer,
int  compId,
bool  response 
)
signal
void DtAssistantNetStatsObservationMgr::sendNetStatsInitStateReq ( const DtAssistantInfo observer,
int  compId 
)
void DtAssistantNetStatsObservationMgr::sendNetStatsObserveRsp ( const DtAssistantInfo observer,
int  compId,
bool  response 
)
protected
void DtAssistantNetStatsObservationMgr::setLrcNetStatsEnabled ( int  lrcCompId,
bool  enabled 
)
bool DtAssistantNetStatsObservationMgr::updateIntervalMap ( int  compId,
unsigned int  interval 
)
protected

Member Data Documentation

DtLrcNetStatsEnabledMap DtAssistantNetStatsObservationMgr::myLrcNetStatsEnabled
protected
DtAssistantObservationType DtAssistantNetStatsObservationMgr::myObservationType
protected
DtIntervalMap DtAssistantNetStatsObservationMgr::myObservedIntervalsByLrcCompId
protected
DtLrcCompIdByAssistantInfoMap DtAssistantNetStatsObservationMgr::myObservedLrcCompIdByAssistantCompId
protected
DtAssistantInfoByLrcCompIdMap DtAssistantNetStatsObservationMgr::myObservingAssistantsByLrcCompId
protected

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

Document ID: Generated on Thu May 11 15:55:32 EDT 2023 from SVN revision 254743
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)