![]() |
MAK RTIspy API Documentation for HLA 1516
|
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 (int compId) |
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 | |
| DtAssistantNetStatsObservationMgr (DtBoost::shared_ptr< DtRtiAssistantServer > server, DtBoost::shared_ptr< DtRtiAssistantPeer > peer, DtAssistantSignalRouter &signalRouter, DtAssistantObservationType observationType) | |
| Constructor. | |
| ~DtAssistantNetStatsObservationMgr () | |
| Destructor. | |
| 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. | |
| virtual | ~DtAssistantMgr () |
| Destructor. | |
| virtual void | initialize () |
| Initializes this manager just prior to beginning assistant processing. | |
| virtual void | tick () |
| Performs tasks that need to be completed periodically. | |
| virtual void | startShutdown () |
| Performs any necessary processing at the start of shutdown. | |
| 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. | |
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. | |
| 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. | |
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. | |
| 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. | |
Additional Inherited Members | |
Public Slots inherited from DtAssistantMgr | |
| void | displayWarningDialogs () |
| Displays all warning dialogs. | |
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. | |
| DtAssistantNetStatsObservationMgr::DtAssistantNetStatsObservationMgr | ( | DtBoost::shared_ptr< DtRtiAssistantServer > | server, |
| DtBoost::shared_ptr< DtRtiAssistantPeer > | peer, | ||
| DtAssistantSignalRouter & | signalRouter, | ||
| DtAssistantObservationType | observationType | ||
| ) |
Constructor.
References messageCallbacks().
| DtAssistantNetStatsObservationMgr::~DtAssistantNetStatsObservationMgr | ( | ) |
Destructor.
References removeAllObservers().
|
protected |
References addToMaps(), interval, myObservationType, myObservedIntervalsByLrcCompId, DtAssistantMgr::myServer, sendNetStatsObserveRsp(), and updateIntervalMap().
Referenced by processObserveRequest().
|
protected |
References myObservedLrcCompIdByAssistantCompId, and myObservingAssistantsByLrcCompId.
Referenced by addObserver().
| void DtAssistantNetStatsObservationMgr::federateDisconnected | ( | int | lrcCompId | ) |
References myObservationType, myObservingAssistantsByLrcCompId, DtAssistantMgr::myPeer, and sanitizeMaps().
Referenced by DtAssistantFomViewMgr::processLocalRtiComponentDisconnected(), and removeAllObservers().
| void DtAssistantNetStatsObservationMgr::forwardNetStatsUpdateToRemoteAstnt | ( | const DtAssistantMsg & | msg | ) |
| const DtAssistantInfoByLrcCompIdMap & DtAssistantNetStatsObservationMgr::getObservingAssistantsMap | ( | ) | const |
References myObservingAssistantsByLrcCompId.
Referenced by DtAssistantFomViewMgr::processPeerNetStatsInitStateRequestMsg().
|
protected |
References myLrcNetStatsEnabled.
Referenced by processObserveRequest().
|
signal |
Referenced by removeObserver().
|
protected |
Referenced by DtAssistantNetStatsObservationMgr().
|
static |
| void DtAssistantNetStatsObservationMgr::processNetStatsInitStateRequestMsg | ( | const DtAssistantNetStatsInitStateRequestMsg & | msg | ) |
| void DtAssistantNetStatsObservationMgr::processObserveRequest | ( | const DtAssistantInfo & | observer, |
| int | compId, | ||
| bool | observe, | ||
| unsigned int | interval, | ||
| bool | isLocalAssistant = false |
||
| ) |
References addObserver(), isLrcNetStatsEnabled(), removeObserver(), and sendNetStatsObserveRsp().
Referenced by DtAssistantFomViewMgr::fomStatDlgClosing(), DtAssistantFomViewMgr::lrcNetStatsUpdateIntervalUpdated(), DtAssistantFomViewMgr::processPeerNetStatsObserveReqMsg(), and DtAssistantFomViewMgr::sendFomObservationRequest().
|
signal |
|
protected |
References federateDisconnected(), and myObservingAssistantsByLrcCompId.
Referenced by ~DtAssistantNetStatsObservationMgr().
|
protected |
References myObservedLrcCompIdByAssistantCompId, and myObservingAssistantsByLrcCompId.
Referenced by removeObserver().
|
protected |
References myObservedIntervalsByLrcCompId.
Referenced by forwardNetStatsUpdateToRemoteAstnt(), removeObserver(), and sanitizeMaps().
| void DtAssistantNetStatsObservationMgr::removeLrcNetStatsEnabled | ( | int | lrcCompId | ) |
References myLrcNetStatsEnabled.
Referenced by DtAssistantFomViewMgr::processLocalRtiComponentDisconnected().
|
protected |
References lrcNoLongerObserved(), myObservationType, DtAssistantMgr::myServer, removeFromMaps(), and removeLrcFromIntervalMap().
Referenced by processObserveRequest().
|
protected |
References myObservedLrcCompIdByAssistantCompId, myObservingAssistantsByLrcCompId, and removeLrcFromIntervalMap().
Referenced by federateDisconnected().
|
signal |
Referenced by sendNetStatsObserveRsp().
| void DtAssistantNetStatsObservationMgr::sendNetStatsInitStateReq | ( | const DtAssistantInfo & | observer, |
| int | compId | ||
| ) |
References myObservationType, and DtAssistantMgr::myPeer.
Referenced by DtAssistantFomViewMgr::sendFomInitStateRequest().
|
protected |
References DtAssistantInfo::host(), DtAssistantInfo::isThisAssistant(), DtHostNameAddress::isValid(), myObservationType, DtAssistantMgr::myPeer, and sendLocalNetStatsObserveRsp().
Referenced by addObserver(), and processObserveRequest().
| void DtAssistantNetStatsObservationMgr::setLrcNetStatsEnabled | ( | int | lrcCompId, |
| bool | enabled | ||
| ) |
References myLrcNetStatsEnabled.
Referenced by DtAssistantFomViewMgr::processLocalRtiComponentConnected().
|
protected |
References interval, and myObservedIntervalsByLrcCompId.
Referenced by addObserver().
|
protected |
Referenced by isLrcNetStatsEnabled(), removeLrcNetStatsEnabled(), and setLrcNetStatsEnabled().
|
protected |
|
protected |
Referenced by addObserver(), removeLrcFromIntervalMap(), and updateIntervalMap().
|
protected |
Referenced by addToMaps(), removeFromMaps(), and sanitizeMaps().
|
protected |