![]() |
MAK RTIspy API Documentation for HLA 1516
|
Shows detailed statistics on a federate. More...
Inheritance diagram for DtFederateStatisticsDialog:
Collaboration diagram for DtFederateStatisticsDialog:Public Slots | |
| void | federateIdentifierUpdated (unsigned int) |
| Updates how federates should be identified. | |
Signals | |
| void | federateStatDlgClosing (const DtAssistantInfo &, int, const MAKRti::DtString &, int, const DtRtiConnectionInfo &) |
Public Member Functions | |
| DtFederateStatisticsDialog (const MAKRti::DtFilename &configDir, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtFederateStatisticsDialog () |
| Destructor. | |
| virtual QSize | sizeHint () const |
| Returns the recommended size for the widget. | |
| void | setFederateIcon (const QPixmap &icon) |
| Set the federate icon of the displayed federate. | |
| void | setFederateType (const QString &t) |
| Set the federate type of the displayed federate. | |
| void | setFederateName (const QString &n) |
| Set the federate name of the displayed federate. | |
| void | setFederateProcess (const QString &p) |
| Set the federate process of the displayed federate. | |
| void | setFederateHost (const QString &h) |
| Set the federate host name of the displayed federate. | |
| void | setFederationName (const QString &n) |
| Set the federation name of the displayed federate. | |
| virtual void | closeEvent (QCloseEvent *event) |
| const std::set< DtU32 > & | getUnknownObjectInstanceNamesHandlesAndClear () const |
| void | clearUnknownObjInstanceNamesHdls () |
| void | saveGuiConfiguration () |
| Saves the GUI configuration to a file. | |
| void | switchFederate () |
| Tells the dialog that the federate being observed is changing. | |
| void | setConnectionInfo (const DtRtiConnectionInfo &connInfo) |
| const char * | getObjectHeader (const DtFederateStatisticsDialogObjectModelColumnEnum col) const |
| Retrieve the column header text for a given column. | |
| const char * | getInteractionHeader (const DtFederateStatisticsDialogInteractionModelColumnEnum col) const |
| Retrieve the column header text for a given column. | |
| const char * | getRtiAmbServicesHeader (const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum col) const |
| Retrieve the column header text for a given column. | |
| const char * | getFedAmbCallbacksHeader (const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum col) const |
| Retrieve the column header text for a given column. | |
| const char * | getMsgHeader (const DtFederateStatisticsDialogMsgModelColumnEnum col) const |
| Retrieve the column header text for a given column. | |
| const char * | getObjectHeaderToolTip (const DtFederateStatisticsDialogObjectModelColumnEnum col) const |
| Retrieve the column header tool tip for a given column. | |
| const char * | getInteractionHeaderToolTip (const DtFederateStatisticsDialogInteractionModelColumnEnum col) const |
| Retrieve the column header tool tip for a given column. | |
| const char * | getRtiAmbServicesHeaderToolTip (const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum col) const |
| Retrieve the column header tool tip for a given column. | |
| const char * | getFedAmbCallbacksHeaderToolTip (const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum col) const |
| Retrieve the column header tool tip for a given column. | |
| const char * | getMsgHeaderToolTip (const DtFederateStatisticsDialogMsgModelColumnEnum col) const |
| Retrieve the column header tool tip for a given column. | |
| virtual void | updateMsgTablesAndGraphs (DtFloat64 currTime, const std::vector< DtRtiMsgKind > &msgKinds, const std::vector< DtU32 > &msgNumSent, const std::vector< DtU32 > &msgNumReceived, const std::vector< DtU32 > &msgBytesSent, const std::vector< DtU32 > &msgBytesReceived) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateRtiAmbTablesAndGraphs (DtFloat64 currTime, const std::vector< DtRtiAmbAPIType > &rtiAmbTypes, const std::vector< DtU32 > &rtiAmbNumCalls, const std::vector< DtFloat64 > &rtiAmbTotalTime, const std::vector< DtFloat64 > &rtiAmbAvgTime, const std::vector< DtFloat64 > &rtiAmbMinTime, const std::vector< DtFloat64 > &rtiAmbMaxTime) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateFedAmbTablesAndGraphs (DtFloat64 currTime, const std::vector< DtFedAmbAPIType > &fedAmbTypes, const std::vector< DtU32 > &fedAmbNumCalls, const std::vector< DtFloat64 > &fedAmbTotalTime, const std::vector< DtFloat64 > &fedAmbAvgTime, const std::vector< DtFloat64 > &fedAmbMinTime, const std::vector< DtFloat64 > &fedAmbMaxTime) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateObjectsTablesAndGraphs (DtFloat64 currTime, const std::vector< DtU32 > &objectInstanceHandles, const std::vector< DtU32 > &objectClassHandles, const std::vector< DtU32 > &objectNumRegistered, const std::vector< DtU32 > &objectBytesReceived, const std::vector< DtU32 > &objectUpdatesSent, const std::vector< DtU32 > &objectBytesSent, std::set< DtU32 > &unknownInstanceNamesHandles, std::set< DtU32 > &unknownClassNamesHandles) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateInteractionsTablesAndGraphs (DtFloat64 currTime, const std::vector< DtU32 > &interactionClassHandles, const std::vector< DtU32 > &interactionUpdatesReceived, const std::vector< DtU32 > &interactionBytesReceived, const std::vector< DtU32 > &interactionUpdatesSent, const std::vector< DtU32 > &interactionBytesSent, std::set< DtU32 > &unknownClassNamesHandles) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateObjectTablesInstanceNames (const std::vector< DtU32 > &instanceHandles, const std::vector< MAKRti::DtString > &instanceNames) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateObjectTablesClassNames (const std::vector< DtU32 > &classHandles, const std::vector< MAKRti::DtString > &classNames) |
| Update the tables and graphs with the latest data. | |
| virtual void | updateInteractionTablesClassNames (const std::vector< DtU32 > &classHandles, const std::vector< MAKRti::DtString > &classNames) |
| Update the tables and graphs with the latest data. | |
| void | setAssistantInfo (const DtAssistantInfo &info) |
| The assistant info and component ID can identify which federate this dialog is associated with. | |
| void | setCompId (unsigned int compId) |
| The assistant info and component ID can identify which federate this dialog is associated with. | |
| void | setFederationNameStr (const MAKRti::DtString &federationName) |
| The federation name and federate handle can identify which federate this dialog is associated with. | |
| MAKRti::DtString | federationNameStr () const |
| The federation name and federate handle can identify which federate this dialog is associated with. | |
| void | setFederateHandle (unsigned int federateHandle) |
| The federation name and federate handle can identify which federate this dialog is associated with. | |
| unsigned | federateHandle () const |
| The federation name and federate handle can identify which federate this dialog is associated with. | |
Protected Types | |
| enum | DtColOrRow { DtCol, DtRow } |
Protected Member Functions | |
| void | loadGuiConfiguration () |
| Loads the GUI configuration from a file. | |
| virtual void | showEvent (QShowEvent *event) |
| Override showEvent to load the GUI config the first time it's shown. | |
| virtual void | hideEvent (QHideEvent *event) |
| Override hideEvent to store the size of the dialog when it is hidden. | |
| void | initBasicInfoWidgets () |
| Initialize the message stats widget. | |
| void | initMsgStatsWidget () |
| Initialize the message stats widget. | |
| void | initServiceStatsWidget () |
| Initialize the service calls stats widget. | |
| void | initCallbackStatsWidget () |
| Initialize the callbacks stats widget. | |
| void | initObjectStatsWidget () |
| Initialize the object stats widget. | |
| void | initInteractionStatsWidget () |
| Initialize the interaction stats widget. | |
| void | initButtonBoxWidget () |
| Initialize the widget which contains the ok button. | |
| QDockWidget * | initDockWidget (bool isFixed, Qt::Orientation ori, const QString &name="") |
| Creates and initializes a new dock widget. | |
| unsigned | addHeaderItem (QStandardItemModel *model, const QString &text, const QString &toolTip, DtColOrRow colOrRow) |
| Adds a header item to the given item model and returns the row or column number. | |
| void | updateFederateId (const QString &fedId) |
| Updates the federate ID in all necessary locations. | |
| void | updateFederateDescription () |
| Updates the federate description in all necessary locations. | |
Private Member Functions | |
| DtFederateStatisticsDialog (const DtFederateStatisticsDialog &) | |
| Copy Constructor not implemented. | |
| DtFederateStatisticsDialog & | operator= (const DtFederateStatisticsDialog &) |
| Assignment Operator not implemented. | |
| void | clearAll () |
| MAKRti::DtString | findObjectInstanceName (DtU32 instanceHandle, std::set< DtU32 > &unknownInstanceNamesHandles) |
| MAKRti::DtString | findObjectClassName (DtU32 classHandle, std::set< DtU32 > &unknownClassNamesHandles) |
| MAKRti::DtString | findInteractionClassName (DtU32 classHandle, std::set< DtU32 > &unknownClassNamesHandles) |
Private Attributes | |
| QLabel * | myIconLabel |
| Label displaying the icon for the selected federate. | |
| QLabel * | myFederateIdLabel |
| Label displaying the id for the selected federate. | |
| QDialogButtonBox * | myButtonBox |
| The dialog button box to close the dialog. | |
| DtFederateIdentifierType | myFederateIdType |
| How the federate should be identified. | |
| unsigned | myUpdateCounter |
| The update counter. | |
| unsigned | myMsgUpdateCounter |
| The update counter. | |
| unsigned | myRtiAmbUpdateCounter |
| The update counter. | |
| unsigned | myFedAmbUpdateCounter |
| The update counter. | |
| std::map< DtU32, MAKRti::DtString > | myObjInstanceNamesByObjInstanceHdlsMap |
| std::map< DtU32, MAKRti::DtString > | myObjClassNamesByObjClassHdlsMap |
| std::map< DtU32, MAKRti::DtString > | myInterClassNamesByInterClassHdlsMap |
| DtFilename | myConfigDir |
| The directory where the GUI config file should be stored. | |
| bool | myFirstTimeShown |
| Indicates whether the dialog has been shown yet. | |
| QSize | myLastVisibleSize |
| The size of the dialog the last time it was visible. | |
| DtAssistantInfo | myAssistantInfo |
| unsigned int | myCompId |
| MAKRti::DtString | myFederationName |
| unsigned int | myFederateHandle |
| DtRtiConnectionInfo | myConnInfo |
| QDockWidget * | myMainDockWidget |
| The dialog's main widget which is always displayed and shows basic federate identification information. | |
| QWidget * | myMainWidget |
| The dialog's main widget which is always displayed and shows basic federate identification information. | |
| DtTreesAndGraphWidget * | myMsgStatsWidget |
| The widget to display message statistics. | |
| QStandardItemModel * | myMsgStatsModel |
| The widget to display message statistics. | |
| QSortFilterProxyModel * | myMsgStatsProxyModel |
| The widget to display message statistics. | |
| QDockWidget * | myMsgStatsDockWidget |
| The widget to display message statistics. | |
| unsigned | myMsgStatsTreeIndex |
| The widget to display message statistics. | |
| std::map< unsigned, unsigned > | myMsgIdToRowMap |
| The widget to display message statistics. | |
| DtTreesAndGraphWidget * | myServiceStatsWidget |
| The widget to display service call statistics. | |
| QStandardItemModel * | myServiceStatsModel |
| The widget to display service call statistics. | |
| QSortFilterProxyModel * | myServiceStatsProxyModel |
| The widget to display service call statistics. | |
| QDockWidget * | myServiceStatsDockWidget |
| The widget to display service call statistics. | |
| unsigned | myServiceStatsTreeIndex |
| The widget to display service call statistics. | |
| std::map< unsigned, unsigned > | myServiceIdToRowMap |
| The widget to display service call statistics. | |
| DtTreesAndGraphWidget * | myCallbackStatsWidget |
| The widget to display callback statistics. | |
| QStandardItemModel * | myCallbackStatsModel |
| The widget to display callback statistics. | |
| QSortFilterProxyModel * | myCallbackStatsProxyModel |
| The widget to display callback statistics. | |
| QDockWidget * | myCallbackStatsDockWidget |
| The widget to display callback statistics. | |
| unsigned | myCallbackStatsTreeIndex |
| The widget to display callback statistics. | |
| std::map< unsigned, unsigned > | myCallbackIdToRowMap |
| The widget to display callback statistics. | |
| DtTreesAndGraphWidget * | myObjectStatsWidget |
| The widget to display object statistics. | |
| QStandardItemModel * | myObjectStatsModel |
| The widget to display object statistics. | |
| QSortFilterProxyModel * | myObjectStatsProxyModel |
| The widget to display object statistics. | |
| QDockWidget * | myObjectStatsDockWidget |
| The widget to display object statistics. | |
| std::map< unsigned, unsigned > | myObjectIdToRowMap |
| The widget to display object statistics. | |
| unsigned | myObjectStatsTreeIndex |
| The widget to display object statistics. | |
| DtTreesAndGraphWidget * | myInteractionStatsWidget |
| The widget to display interaction statistics. | |
| QStandardItemModel * | myInteractionStatsModel |
| The widget to display interaction statistics. | |
| QSortFilterProxyModel * | myInteractionStatsProxyModel |
| The widget to display interaction statistics. | |
| QDockWidget * | myInteractionStatsDockWidget |
| The widget to display interaction statistics. | |
| std::map< unsigned, unsigned > | myInteractionIdToRowMap |
| The widget to display interaction statistics. | |
| unsigned | myInteractionStatsTreeIndex |
| The widget to display interaction statistics. | |
| QLabel * | myFederateTypeHeaderLabel |
| Labels presenting basic federate information. | |
| QLabel * | myFederateTypeLabel |
| Labels presenting basic federate information. | |
| QLabel * | myFederateNameHeaderLabel |
| Labels presenting basic federate information. | |
| QLabel * | myFederateNameLabel |
| Labels presenting basic federate information. | |
| QLabel * | myProcessNameHeaderLabel |
| Labels presenting basic federate information. | |
| QLabel * | myProcessNameLabel |
| Labels presenting basic federate information. | |
| QLabel * | myHostNameHeaderLabel |
| Labels presenting basic federate information. | |
| QLabel * | myHostNameLabel |
| Labels presenting basic federate information. | |
| QLabel * | myFederationNameHeaderLabel |
| Labels presenting basic federate information. | |
| QLabel * | myFederationNameLabel |
| Labels presenting basic federate information. | |
Static Private Attributes | |
| static const MAKRti::DtFilename | theConfigFilename = "rtiSpyFederateStats.conf" |
| The name of the file where the GUI configuration is stored. | |
Shows detailed statistics on a federate.
|
protected |
| DtFederateStatisticsDialog::DtFederateStatisticsDialog | ( | const MAKRti::DtFilename & | configDir, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References initBasicInfoWidgets(), initButtonBoxWidget(), initCallbackStatsWidget(), initInteractionStatsWidget(), initMsgStatsWidget(), initObjectStatsWidget(), initServiceStatsWidget(), myCallbackStatsDockWidget, myInteractionStatsDockWidget, myMsgStatsDockWidget, myObjectStatsDockWidget, and myServiceStatsDockWidget.
|
virtual |
Destructor.
|
private |
Copy Constructor not implemented.
|
protected |
Adds a header item to the given item model and returns the row or column number.
References DtCol.
Referenced by initCallbackStatsWidget(), initInteractionStatsWidget(), initMsgStatsWidget(), initObjectStatsWidget(), and initServiceStatsWidget().
|
private |
| void DtFederateStatisticsDialog::clearUnknownObjInstanceNamesHdls | ( | ) |
|
virtual |
| unsigned DtFederateStatisticsDialog::federateHandle | ( | ) | const |
The federation name and federate handle can identify which federate this dialog is associated with.
|
slot |
Updates how federates should be identified.
References DtIdentifyByFederateName, DtIdentifyByFederateType, DtIdentifyByProcessName, myFederateIdType, myFederateNameLabel, myFederateTypeLabel, myProcessNameLabel, and updateFederateId().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
|
signal |
| MAKRti::DtString DtFederateStatisticsDialog::federationNameStr | ( | ) | const |
The federation name and federate handle can identify which federate this dialog is associated with.
References myFederationName.
|
private |
|
private |
|
private |
| const char * DtFederateStatisticsDialog::getFedAmbCallbacksHeader | ( | const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum | col | ) | const |
Retrieve the column header text for a given column.
References DtEnumsToHeaderText.
Referenced by initCallbackStatsWidget().
| const char * DtFederateStatisticsDialog::getFedAmbCallbacksHeaderToolTip | ( | const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum | col | ) | const |
Retrieve the column header tool tip for a given column.
References DtEnumsToHeaderText.
Referenced by initCallbackStatsWidget().
| const char * DtFederateStatisticsDialog::getInteractionHeader | ( | const DtFederateStatisticsDialogInteractionModelColumnEnum | col | ) | const |
Retrieve the column header text for a given column.
References DtEnumsToHeaderText.
Referenced by initInteractionStatsWidget().
| const char * DtFederateStatisticsDialog::getInteractionHeaderToolTip | ( | const DtFederateStatisticsDialogInteractionModelColumnEnum | col | ) | const |
Retrieve the column header tool tip for a given column.
References DtEnumsToHeaderText.
Referenced by initInteractionStatsWidget().
| const char * DtFederateStatisticsDialog::getMsgHeader | ( | const DtFederateStatisticsDialogMsgModelColumnEnum | col | ) | const |
Retrieve the column header text for a given column.
References DtEnumsToHeaderText.
Referenced by initMsgStatsWidget().
| const char * DtFederateStatisticsDialog::getMsgHeaderToolTip | ( | const DtFederateStatisticsDialogMsgModelColumnEnum | col | ) | const |
Retrieve the column header tool tip for a given column.
References DtEnumsToHeaderText.
Referenced by initMsgStatsWidget().
| const char * DtFederateStatisticsDialog::getObjectHeader | ( | const DtFederateStatisticsDialogObjectModelColumnEnum | col | ) | const |
Retrieve the column header text for a given column.
References DtEnumsToHeaderText.
Referenced by initObjectStatsWidget().
| const char * DtFederateStatisticsDialog::getObjectHeaderToolTip | ( | const DtFederateStatisticsDialogObjectModelColumnEnum | col | ) | const |
Retrieve the column header tool tip for a given column.
References DtEnumsToHeaderText.
Referenced by initObjectStatsWidget().
| const char * DtFederateStatisticsDialog::getRtiAmbServicesHeader | ( | const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum | col | ) | const |
Retrieve the column header text for a given column.
References DtEnumsToHeaderText.
Referenced by initServiceStatsWidget().
| const char * DtFederateStatisticsDialog::getRtiAmbServicesHeaderToolTip | ( | const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum | col | ) | const |
Retrieve the column header tool tip for a given column.
References DtEnumsToHeaderText.
Referenced by initServiceStatsWidget().
| const std::set<DtU32>& DtFederateStatisticsDialog::getUnknownObjectInstanceNamesHandlesAndClear | ( | ) | const |
|
protectedvirtual |
Override hideEvent to store the size of the dialog when it is hidden.
|
protected |
Initialize the message stats widget.
References initDockWidget(), myFederateIdLabel, myFederateNameHeaderLabel, myFederateNameLabel, myFederateTypeHeaderLabel, myFederateTypeLabel, myFederationNameHeaderLabel, myFederationNameLabel, myHostNameHeaderLabel, myHostNameLabel, myIconLabel, myMainDockWidget, myMainWidget, myProcessNameHeaderLabel, and myProcessNameLabel.
Referenced by DtFederateStatisticsDialog().
|
protected |
Initialize the widget which contains the ok button.
References connect(), initDockWidget(), and myButtonBox.
Referenced by DtFederateStatisticsDialog().
|
protected |
Initialize the callbacks stats widget.
References addHeaderItem(), DtTreesAndGraphWidget::addTree(), DtCol, DtFedAmbCallbacksModelAvgTimeCol, DtFedAmbCallbacksModelMaxTimeCol, DtFedAmbCallbacksModelMinTimeCol, DtFedAmbCallbacksModelNumberOfColumns, DtFedAmbCallbacksModelNumCallsCol, DtFedAmbCallbacksModelTotalTimeCol, DtTreesAndGraphWidget::DtRowNameIsFirstColumn, DtTreesAndGraphWidget::enableRateGraphing(), DtTreesAndGraphWidget::enableValueGraphing(), getFedAmbCallbacksHeader(), getFedAmbCallbacksHeaderToolTip(), DtTreesAndGraphWidget::initComplete(), initDockWidget(), myCallbackStatsDockWidget, myCallbackStatsModel, myCallbackStatsProxyModel, myCallbackStatsTreeIndex, and myCallbackStatsWidget.
Referenced by DtFederateStatisticsDialog().
|
protected |
Creates and initializes a new dock widget.
If isFixed is true, the dock widget will be fixed and place (the user won't be able to pull it off or tabify it).
Referenced by initBasicInfoWidgets(), initButtonBoxWidget(), initCallbackStatsWidget(), initInteractionStatsWidget(), initMsgStatsWidget(), initObjectStatsWidget(), and initServiceStatsWidget().
|
protected |
Initialize the interaction stats widget.
References addHeaderItem(), DtTreesAndGraphWidget::addTree(), DtCol, DtInteractionModelBytesReceivedCol, DtInteractionModelBytesSentCol, DtInteractionModelNumberOfColumns, DtInteractionModelUpdatesReceivedCol, DtInteractionModelUpdatesSentCol, DtTreesAndGraphWidget::DtRowNameIsFirstColumn, DtTreesAndGraphWidget::enableRateGraphing(), DtTreesAndGraphWidget::enableValueGraphing(), getInteractionHeader(), getInteractionHeaderToolTip(), DtTreesAndGraphWidget::initComplete(), initDockWidget(), myInteractionStatsDockWidget, myInteractionStatsModel, myInteractionStatsProxyModel, myInteractionStatsTreeIndex, and myInteractionStatsWidget.
Referenced by DtFederateStatisticsDialog().
|
protected |
Initialize the message stats widget.
References addHeaderItem(), DtTreesAndGraphWidget::addTree(), DtCol, DtMsgModelBytesReceivedCol, DtMsgModelBytesSentCol, DtMsgModelNumberOfColumns, DtMsgModelNumReceivedCol, DtMsgModelNumSentCol, DtTreesAndGraphWidget::DtRowNameIsFirstColumn, DtTreesAndGraphWidget::enableRateGraphing(), DtTreesAndGraphWidget::enableValueGraphing(), getMsgHeader(), getMsgHeaderToolTip(), DtTreesAndGraphWidget::initComplete(), initDockWidget(), myMsgStatsDockWidget, myMsgStatsModel, myMsgStatsProxyModel, myMsgStatsTreeIndex, and myMsgStatsWidget.
Referenced by DtFederateStatisticsDialog().
|
protected |
Initialize the object stats widget.
References addHeaderItem(), DtTreesAndGraphWidget::addTree(), DtCol, DtObjectModelBytesReceivedCol, DtObjectModelBytesSentCol, DtObjectModelNumberOfColumns, DtObjectModelUpdatesReceivedCol, DtObjectModelUpdatesSentCol, DtTreesAndGraphWidget::DtRowNameIsFirstColumn, DtTreesAndGraphWidget::enableRateGraphing(), DtTreesAndGraphWidget::enableValueGraphing(), getObjectHeader(), getObjectHeaderToolTip(), DtTreesAndGraphWidget::initComplete(), initDockWidget(), myObjectStatsDockWidget, myObjectStatsModel, myObjectStatsProxyModel, myObjectStatsTreeIndex, and myObjectStatsWidget.
Referenced by DtFederateStatisticsDialog().
|
protected |
Initialize the service calls stats widget.
References addHeaderItem(), DtTreesAndGraphWidget::addTree(), DtCol, DtTreesAndGraphWidget::DtRowNameIsFirstColumn, DtRtiAmbServicesModelAvgTimeCol, DtRtiAmbServicesModelMaxTimeCol, DtRtiAmbServicesModelMinTimeCol, DtRtiAmbServicesModelNumberOfColumns, DtRtiAmbServicesModelNumCallsCol, DtRtiAmbServicesModelTotalTimeCol, DtTreesAndGraphWidget::enableRateGraphing(), DtTreesAndGraphWidget::enableValueGraphing(), getRtiAmbServicesHeader(), getRtiAmbServicesHeaderToolTip(), DtTreesAndGraphWidget::initComplete(), initDockWidget(), myServiceStatsDockWidget, myServiceStatsModel, myServiceStatsProxyModel, myServiceStatsTreeIndex, and myServiceStatsWidget.
Referenced by DtFederateStatisticsDialog().
|
protected |
Loads the GUI configuration from a file.
|
private |
Assignment Operator not implemented.
| void DtFederateStatisticsDialog::saveGuiConfiguration | ( | ) |
Saves the GUI configuration to a file.
| void DtFederateStatisticsDialog::setAssistantInfo | ( | const DtAssistantInfo & | info | ) |
The assistant info and component ID can identify which federate this dialog is associated with.
Referenced by DtAssistantFederateViewMgr::sendFederateObservationRequest().
| void DtFederateStatisticsDialog::setCompId | ( | unsigned int | compId | ) |
The assistant info and component ID can identify which federate this dialog is associated with.
Referenced by DtAssistantFederateViewMgr::sendFederateObservationRequest().
| void DtFederateStatisticsDialog::setConnectionInfo | ( | const DtRtiConnectionInfo & | connInfo | ) |
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateHandle | ( | unsigned int | federateHandle | ) |
The federation name and federate handle can identify which federate this dialog is associated with.
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateHost | ( | const QString & | h | ) |
Set the federate host name of the displayed federate.
References myHostNameLabel, and updateFederateDescription().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateIcon | ( | const QPixmap & | icon | ) |
Set the federate icon of the displayed federate.
References myIconLabel.
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateName | ( | const QString & | n | ) |
Set the federate name of the displayed federate.
References DtIdentifyByFederateName, myFederateIdType, myFederateNameLabel, updateFederateDescription(), and updateFederateId().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateProcess | ( | const QString & | p | ) |
Set the federate process of the displayed federate.
References DtIdentifyByProcessName, myFederateIdType, myProcessNameLabel, updateFederateDescription(), and updateFederateId().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederateType | ( | const QString & | t | ) |
Set the federate type of the displayed federate.
References DtIdentifyByFederateType, myFederateIdType, myFederateTypeLabel, updateFederateDescription(), and updateFederateId().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederationName | ( | const QString & | n | ) |
Set the federation name of the displayed federate.
References myFederationNameLabel, and updateFederateDescription().
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
| void DtFederateStatisticsDialog::setFederationNameStr | ( | const MAKRti::DtString & | federationName | ) |
The federation name and federate handle can identify which federate this dialog is associated with.
References federationName(), and myFederationName.
Referenced by DtAssistantFederateViewMgr::showFederateStatsDialog().
|
protectedvirtual |
Override showEvent to load the GUI config the first time it's shown.
|
virtual |
Returns the recommended size for the widget.
References myLastVisibleSize.
| void DtFederateStatisticsDialog::switchFederate | ( | ) |
Tells the dialog that the federate being observed is changing.
This will start the dialog at a blank slate to be updated.
|
virtual |
Update the tables and graphs with the latest data.
References DtEnumToStringHelpers::fedAmbTypeToDisplayStr(), and updateRow().
|
protected |
Updates the federate description in all necessary locations.
References myCallbackStatsWidget, myFederateNameHeaderLabel, myFederateNameLabel, myFederateTypeHeaderLabel, myFederateTypeLabel, myFederationNameHeaderLabel, myFederationNameLabel, myHostNameHeaderLabel, myHostNameLabel, myInteractionStatsWidget, myMsgStatsWidget, myObjectStatsWidget, myProcessNameHeaderLabel, myProcessNameLabel, myServiceStatsWidget, and DtTreesAndGraphWidget::setFederateDescription().
Referenced by setFederateHost(), setFederateName(), setFederateProcess(), setFederateType(), and setFederationName().
|
protected |
Updates the federate ID in all necessary locations.
References myCallbackStatsWidget, myFederateIdLabel, myInteractionStatsWidget, myMsgStatsWidget, myObjectStatsWidget, myServiceStatsWidget, and DtTreesAndGraphWidget::setFederateId().
Referenced by federateIdentifierUpdated(), setFederateName(), setFederateProcess(), and setFederateType().
|
virtual |
Update the tables and graphs with the latest data.
References updateRow().
|
virtual |
Update the tables and graphs with the latest data.
|
virtual |
Update the tables and graphs with the latest data.
References DtEnumToStringHelpers::rtiMsgKindToDisplayStr(), and updateRow().
|
virtual |
Update the tables and graphs with the latest data.
References findObjectClassName(), and updateRow().
|
virtual |
Update the tables and graphs with the latest data.
|
virtual |
Update the tables and graphs with the latest data.
|
virtual |
Update the tables and graphs with the latest data.
References DtEnumToStringHelpers::rtiAmbTypeToDisplayStr(), and updateRow().
|
private |
|
private |
The dialog button box to close the dialog.
Referenced by initButtonBoxWidget().
|
private |
The widget to display callback statistics.
|
private |
The widget to display callback statistics.
Referenced by DtFederateStatisticsDialog(), and initCallbackStatsWidget().
|
private |
The widget to display callback statistics.
Referenced by initCallbackStatsWidget().
|
private |
The widget to display callback statistics.
Referenced by initCallbackStatsWidget().
|
private |
The widget to display callback statistics.
Referenced by initCallbackStatsWidget().
|
private |
The widget to display callback statistics.
Referenced by initCallbackStatsWidget(), updateFederateDescription(), and updateFederateId().
|
private |
|
private |
The directory where the GUI config file should be stored.
|
private |
|
private |
The update counter.
|
private |
|
private |
Label displaying the id for the selected federate.
Referenced by initBasicInfoWidgets(), and updateFederateId().
|
private |
How the federate should be identified.
Referenced by federateIdentifierUpdated(), setFederateName(), setFederateProcess(), and setFederateType().
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by federateIdentifierUpdated(), initBasicInfoWidgets(), setFederateName(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by federateIdentifierUpdated(), initBasicInfoWidgets(), setFederateType(), and updateFederateDescription().
|
private |
Referenced by federationNameStr(), and setFederationNameStr().
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), setFederationName(), and updateFederateDescription().
|
private |
Indicates whether the dialog has been shown yet.
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), setFederateHost(), and updateFederateDescription().
|
private |
Label displaying the icon for the selected federate.
Referenced by initBasicInfoWidgets(), and setFederateIcon().
|
private |
The widget to display interaction statistics.
|
private |
The widget to display interaction statistics.
Referenced by DtFederateStatisticsDialog(), and initInteractionStatsWidget().
|
private |
The widget to display interaction statistics.
Referenced by initInteractionStatsWidget().
|
private |
The widget to display interaction statistics.
Referenced by initInteractionStatsWidget().
|
private |
The widget to display interaction statistics.
Referenced by initInteractionStatsWidget().
|
private |
The widget to display interaction statistics.
Referenced by initInteractionStatsWidget(), updateFederateDescription(), and updateFederateId().
|
private |
|
private |
The size of the dialog the last time it was visible.
Referenced by sizeHint().
|
private |
The dialog's main widget which is always displayed and shows basic federate identification information.
Referenced by initBasicInfoWidgets().
|
private |
The dialog's main widget which is always displayed and shows basic federate identification information.
Referenced by initBasicInfoWidgets().
|
private |
The widget to display message statistics.
|
private |
The widget to display message statistics.
Referenced by DtFederateStatisticsDialog(), and initMsgStatsWidget().
|
private |
The widget to display message statistics.
Referenced by initMsgStatsWidget().
|
private |
The widget to display message statistics.
Referenced by initMsgStatsWidget().
|
private |
The widget to display message statistics.
Referenced by initMsgStatsWidget().
|
private |
The widget to display message statistics.
Referenced by initMsgStatsWidget(), updateFederateDescription(), and updateFederateId().
|
private |
The update counter.
|
private |
|
private |
The widget to display object statistics.
|
private |
The widget to display object statistics.
Referenced by DtFederateStatisticsDialog(), and initObjectStatsWidget().
|
private |
The widget to display object statistics.
Referenced by initObjectStatsWidget().
|
private |
The widget to display object statistics.
Referenced by initObjectStatsWidget().
|
private |
The widget to display object statistics.
Referenced by initObjectStatsWidget().
|
private |
The widget to display object statistics.
Referenced by initObjectStatsWidget(), updateFederateDescription(), and updateFederateId().
|
private |
|
private |
Labels presenting basic federate information.
Referenced by initBasicInfoWidgets(), and updateFederateDescription().
|
private |
Labels presenting basic federate information.
Referenced by federateIdentifierUpdated(), initBasicInfoWidgets(), setFederateProcess(), and updateFederateDescription().
|
private |
The update counter.
|
private |
The widget to display service call statistics.
|
private |
The widget to display service call statistics.
Referenced by DtFederateStatisticsDialog(), and initServiceStatsWidget().
|
private |
The widget to display service call statistics.
Referenced by initServiceStatsWidget().
|
private |
The widget to display service call statistics.
Referenced by initServiceStatsWidget().
|
private |
The widget to display service call statistics.
Referenced by initServiceStatsWidget().
|
private |
The widget to display service call statistics.
Referenced by initServiceStatsWidget(), updateFederateDescription(), and updateFederateId().
|
private |
The update counter.
|
staticprivate |
The name of the file where the GUI configuration is stored.