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 | Public Types | Public Slots | Signals | Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
DtFederateStatisticsDialog Class Reference

Shows detailed statistics on a federate. More...

+ Inheritance diagram for DtFederateStatisticsDialog:
+ Collaboration diagram for DtFederateStatisticsDialog:

Public Types

enum  DtFederateStatisticsDialogMsgModelColumnEnum {
  DtMsgModelMsgTypeCol, DtMsgModelNumSentCol, DtMsgModelNumReceivedCol, DtMsgModelBytesSentCol,
  DtMsgModelBytesReceivedCol, DtMsgModelNumberOfColumns
}
 
enum  DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum {
  DtRtiAmbServicesModelMethodNameCol, DtRtiAmbServicesModelNumCallsCol, DtRtiAmbServicesModelTotalTimeCol, DtRtiAmbServicesModelAvgTimeCol,
  DtRtiAmbServicesModelMinTimeCol, DtRtiAmbServicesModelMaxTimeCol, DtRtiAmbServicesModelNumberOfColumns
}
 
enum  DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum {
  DtFedAmbCallbacksModelMethodNameCol, DtFedAmbCallbacksModelNumCallsCol, DtFedAmbCallbacksModelTotalTimeCol, DtFedAmbCallbacksModelAvgTimeCol,
  DtFedAmbCallbacksModelMinTimeCol, DtFedAmbCallbacksModelMaxTimeCol, DtFedAmbCallbacksModelNumberOfColumns
}
 
enum  DtFederateStatisticsDialogObjectModelColumnEnum {
  DtObjectModelInstanceNameCol, DtObjectModelInstanceHandleCol, DtObjectModelClassNameCol, DtObjectModelClassHandleCol,
  DtObjectModelUpdatesReceivedCol, DtObjectModelBytesReceivedCol, DtObjectModelUpdatesSentCol, DtObjectModelBytesSentCol,
  DtObjectModelNumberOfColumns
}
 
enum  DtFederateStatisticsDialogInteractionModelColumnEnum {
  DtInteractionModelClassNameCol, DtInteractionModelClassHandleCol, DtInteractionModelUpdatesReceivedCol, DtInteractionModelBytesReceivedCol,
  DtInteractionModelUpdatesSentCol, DtInteractionModelBytesSentCol, DtInteractionModelNumberOfColumns
}
 

Public Slots

void federateIdentifierUpdated (unsigned int)
 Updates how federates should be identified. More...
 

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. More...
 
virtual ~DtFederateStatisticsDialog ()
 Destructor. More...
 
virtual QSize sizeHint () const
 Returns the recommended size for the widget. More...
 
void setFederateIcon (const QPixmap &icon)
 Set the federate icon of the displayed federate. More...
 
void setFederateType (const QString &t)
 Set the federate type of the displayed federate. More...
 
void setFederateName (const QString &n)
 Set the federate name of the displayed federate. More...
 
void setFederateProcess (const QString &p)
 Set the federate process of the displayed federate. More...
 
void setFederateHost (const QString &h)
 Set the federate host name of the displayed federate. More...
 
void setFederationName (const QString &n)
 Set the federation name of the displayed federate. More...
 
virtual void closeEvent (QCloseEvent *event)
 
const std::set< DtU32 > & getUnknownObjectInstanceNamesHandlesAndClear () const
 
void clearUnknownObjInstanceNamesHdls ()
 
void saveGuiConfiguration ()
 Saves the GUI configuration to a file. More...
 
void switchFederate ()
 Tells the dialog that the federate being observed is changing. More...
 
void setConnectionInfo (const DtRtiConnectionInfo &connInfo)
 
const char * getObjectHeader (const DtFederateStatisticsDialogObjectModelColumnEnum col) const
 Retrieve the column header text for a given column. More...
 
const char * getInteractionHeader (const DtFederateStatisticsDialogInteractionModelColumnEnum col) const
 Retrieve the column header text for a given column. More...
 
const char * getRtiAmbServicesHeader (const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum col) const
 Retrieve the column header text for a given column. More...
 
const char * getFedAmbCallbacksHeader (const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum col) const
 Retrieve the column header text for a given column. More...
 
const char * getMsgHeader (const DtFederateStatisticsDialogMsgModelColumnEnum col) const
 Retrieve the column header text for a given column. More...
 
const char * getObjectHeaderToolTip (const DtFederateStatisticsDialogObjectModelColumnEnum col) const
 Retrieve the column header tool tip for a given column. More...
 
const char * getInteractionHeaderToolTip (const DtFederateStatisticsDialogInteractionModelColumnEnum col) const
 Retrieve the column header tool tip for a given column. More...
 
const char * getRtiAmbServicesHeaderToolTip (const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum col) const
 Retrieve the column header tool tip for a given column. More...
 
const char * getFedAmbCallbacksHeaderToolTip (const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum col) const
 Retrieve the column header tool tip for a given column. More...
 
const char * getMsgHeaderToolTip (const DtFederateStatisticsDialogMsgModelColumnEnum col) const
 Retrieve the column header tool tip for a given column. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
virtual void updateObjectTablesInstanceNames (const std::vector< DtU32 > &instanceHandles, const std::vector< MAKRti::DtString > &instanceNames)
 Update the tables and graphs with the latest data. More...
 
virtual void updateObjectTablesClassNames (const std::vector< DtU32 > &classHandles, const std::vector< MAKRti::DtString > &classNames)
 Update the tables and graphs with the latest data. More...
 
virtual void updateInteractionTablesClassNames (const std::vector< DtU32 > &classHandles, const std::vector< MAKRti::DtString > &classNames)
 Update the tables and graphs with the latest data. More...
 
void setAssistantInfo (const DtAssistantInfo &info)
 The assistant info and component ID can identify which federate this dialog is associated with. More...
 
void setCompId (unsigned int compId)
 The assistant info and component ID can identify which federate this dialog is associated with. More...
 
void setFederationNameStr (const MAKRti::DtString &federationName)
 The federation name and federate handle can identify which federate this dialog is associated with. More...
 
MAKRti::DtString federationNameStr () const
 The federation name and federate handle can identify which federate this dialog is associated with. More...
 
void setFederateHandle (unsigned int federateHandle)
 The federation name and federate handle can identify which federate this dialog is associated with. More...
 
unsigned federateHandle () const
 The federation name and federate handle can identify which federate this dialog is associated with. More...
 

Protected Types

enum  DtColOrRow { DtCol, DtRow }
 

Protected Member Functions

void loadGuiConfiguration ()
 Loads the GUI configuration from a file. More...
 
virtual void showEvent (QShowEvent *event)
 Override showEvent to load the GUI config the first time it's shown. More...
 
virtual void hideEvent (QHideEvent *event)
 Override hideEvent to store the size of the dialog when it is hidden. More...
 
void initBasicInfoWidgets ()
 Initialize the message stats widget. More...
 
void initMsgStatsWidget ()
 Initialize the message stats widget. More...
 
void initServiceStatsWidget ()
 Initialize the service calls stats widget. More...
 
void initCallbackStatsWidget ()
 Initialize the callbacks stats widget. More...
 
void initObjectStatsWidget ()
 Initialize the object stats widget. More...
 
void initInteractionStatsWidget ()
 Initialize the interaction stats widget. More...
 
void initButtonBoxWidget ()
 Initialize the widget which contains the ok button. More...
 
QDockWidget * initDockWidget (bool isFixed, Qt::Orientation ori, const QString &name="")
 Creates and initializes a new dock widget. More...
 
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. More...
 
void updateFederateId (const QString &fedId)
 Updates the federate ID in all necessary locations. More...
 
void updateFederateDescription ()
 Updates the federate description in all necessary locations. More...
 

Private Member Functions

 DtFederateStatisticsDialog (const DtFederateStatisticsDialog &)
 Copy Constructor not implemented. More...
 
DtFederateStatisticsDialogoperator= (const DtFederateStatisticsDialog &)
 Assignment Operator not implemented. More...
 
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

QLabelmyIconLabel
 Label displaying the icon for the selected federate. More...
 
QLabelmyFederateIdLabel
 Label displaying the id for the selected federate. More...
 
QDialogButtonBox * myButtonBox
 The dialog button box to close the dialog. More...
 
DtFederateIdentifierType myFederateIdType
 How the federate should be identified. More...
 
unsigned myUpdateCounter
 The update counter. More...
 
unsigned myMsgUpdateCounter
 The update counter. More...
 
unsigned myRtiAmbUpdateCounter
 The update counter. More...
 
unsigned myFedAmbUpdateCounter
 The update counter. More...
 
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. More...
 
bool myFirstTimeShown
 Indicates whether the dialog has been shown yet. More...
 
QSize myLastVisibleSize
 The size of the dialog the last time it was visible. More...
 
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. More...
 
QWidgetmyMainWidget
 The dialog's main widget which is always displayed and shows basic federate identification information. More...
 
DtTreesAndGraphWidgetmyMsgStatsWidget
 The widget to display message statistics. More...
 
QStandardItemModel * myMsgStatsModel
 The widget to display message statistics. More...
 
QSortFilterProxyModel * myMsgStatsProxyModel
 The widget to display message statistics. More...
 
QDockWidget * myMsgStatsDockWidget
 The widget to display message statistics. More...
 
unsigned myMsgStatsTreeIndex
 The widget to display message statistics. More...
 
std::map< unsigned, unsigned > myMsgIdToRowMap
 The widget to display message statistics. More...
 
DtTreesAndGraphWidgetmyServiceStatsWidget
 The widget to display service call statistics. More...
 
QStandardItemModel * myServiceStatsModel
 The widget to display service call statistics. More...
 
QSortFilterProxyModel * myServiceStatsProxyModel
 The widget to display service call statistics. More...
 
QDockWidget * myServiceStatsDockWidget
 The widget to display service call statistics. More...
 
unsigned myServiceStatsTreeIndex
 The widget to display service call statistics. More...
 
std::map< unsigned, unsigned > myServiceIdToRowMap
 The widget to display service call statistics. More...
 
DtTreesAndGraphWidgetmyCallbackStatsWidget
 The widget to display callback statistics. More...
 
QStandardItemModel * myCallbackStatsModel
 The widget to display callback statistics. More...
 
QSortFilterProxyModel * myCallbackStatsProxyModel
 The widget to display callback statistics. More...
 
QDockWidget * myCallbackStatsDockWidget
 The widget to display callback statistics. More...
 
unsigned myCallbackStatsTreeIndex
 The widget to display callback statistics. More...
 
std::map< unsigned, unsigned > myCallbackIdToRowMap
 The widget to display callback statistics. More...
 
DtTreesAndGraphWidgetmyObjectStatsWidget
 The widget to display object statistics. More...
 
QStandardItemModel * myObjectStatsModel
 The widget to display object statistics. More...
 
QSortFilterProxyModel * myObjectStatsProxyModel
 The widget to display object statistics. More...
 
QDockWidget * myObjectStatsDockWidget
 The widget to display object statistics. More...
 
std::map< unsigned, unsigned > myObjectIdToRowMap
 The widget to display object statistics. More...
 
unsigned myObjectStatsTreeIndex
 The widget to display object statistics. More...
 
DtTreesAndGraphWidgetmyInteractionStatsWidget
 The widget to display interaction statistics. More...
 
QStandardItemModel * myInteractionStatsModel
 The widget to display interaction statistics. More...
 
QSortFilterProxyModel * myInteractionStatsProxyModel
 The widget to display interaction statistics. More...
 
QDockWidget * myInteractionStatsDockWidget
 The widget to display interaction statistics. More...
 
std::map< unsigned, unsigned > myInteractionIdToRowMap
 The widget to display interaction statistics. More...
 
unsigned myInteractionStatsTreeIndex
 The widget to display interaction statistics. More...
 
QLabelmyFederateTypeHeaderLabel
 Labels presenting basic federate information. More...
 
QLabelmyFederateTypeLabel
 Labels presenting basic federate information. More...
 
QLabelmyFederateNameHeaderLabel
 Labels presenting basic federate information. More...
 
QLabelmyFederateNameLabel
 Labels presenting basic federate information. More...
 
QLabelmyProcessNameHeaderLabel
 Labels presenting basic federate information. More...
 
QLabelmyProcessNameLabel
 Labels presenting basic federate information. More...
 
QLabelmyHostNameHeaderLabel
 Labels presenting basic federate information. More...
 
QLabelmyHostNameLabel
 Labels presenting basic federate information. More...
 
QLabelmyFederationNameHeaderLabel
 Labels presenting basic federate information. More...
 
QLabelmyFederationNameLabel
 Labels presenting basic federate information. More...
 

Static Private Attributes

static const MAKRti::DtFilename theConfigFilename
 The name of the file where the GUI configuration is stored. More...
 

Detailed Description

Shows detailed statistics on a federate.

Member Enumeration Documentation

Enumerator
DtCol 
DtRow 
Enumerator
DtFedAmbCallbacksModelMethodNameCol 
DtFedAmbCallbacksModelNumCallsCol 
DtFedAmbCallbacksModelTotalTimeCol 
DtFedAmbCallbacksModelAvgTimeCol 
DtFedAmbCallbacksModelMinTimeCol 
DtFedAmbCallbacksModelMaxTimeCol 
DtFedAmbCallbacksModelNumberOfColumns 
Enumerator
DtInteractionModelClassNameCol 
DtInteractionModelClassHandleCol 
DtInteractionModelUpdatesReceivedCol 
DtInteractionModelBytesReceivedCol 
DtInteractionModelUpdatesSentCol 
DtInteractionModelBytesSentCol 
DtInteractionModelNumberOfColumns 
Enumerator
DtMsgModelMsgTypeCol 
DtMsgModelNumSentCol 
DtMsgModelNumReceivedCol 
DtMsgModelBytesSentCol 
DtMsgModelBytesReceivedCol 
DtMsgModelNumberOfColumns 
Enumerator
DtObjectModelInstanceNameCol 
DtObjectModelInstanceHandleCol 
DtObjectModelClassNameCol 
DtObjectModelClassHandleCol 
DtObjectModelUpdatesReceivedCol 
DtObjectModelBytesReceivedCol 
DtObjectModelUpdatesSentCol 
DtObjectModelBytesSentCol 
DtObjectModelNumberOfColumns 
Enumerator
DtRtiAmbServicesModelMethodNameCol 
DtRtiAmbServicesModelNumCallsCol 
DtRtiAmbServicesModelTotalTimeCol 
DtRtiAmbServicesModelAvgTimeCol 
DtRtiAmbServicesModelMinTimeCol 
DtRtiAmbServicesModelMaxTimeCol 
DtRtiAmbServicesModelNumberOfColumns 

Constructor & Destructor Documentation

DtFederateStatisticsDialog::DtFederateStatisticsDialog ( const MAKRti::DtFilename &  configDir,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

virtual DtFederateStatisticsDialog::~DtFederateStatisticsDialog ( )
virtual

Destructor.

DtFederateStatisticsDialog::DtFederateStatisticsDialog ( const DtFederateStatisticsDialog )
private

Copy Constructor not implemented.

Member Function Documentation

unsigned DtFederateStatisticsDialog::addHeaderItem ( QStandardItemModel *  model,
const QString &  text,
const QString &  toolTip,
DtColOrRow  colOrRow 
)
protected

Adds a header item to the given item model and returns the row or column number.

void DtFederateStatisticsDialog::clearAll ( )
private
void DtFederateStatisticsDialog::clearUnknownObjInstanceNamesHdls ( )
virtual void DtFederateStatisticsDialog::closeEvent ( QCloseEvent *  event)
virtual
unsigned DtFederateStatisticsDialog::federateHandle ( ) const

The federation name and federate handle can identify which federate this dialog is associated with.

void DtFederateStatisticsDialog::federateIdentifierUpdated ( unsigned  int)
slot

Updates how federates should be identified.

void DtFederateStatisticsDialog::federateStatDlgClosing ( const DtAssistantInfo ,
int  ,
const MAKRti::DtString &  ,
int  ,
const DtRtiConnectionInfo  
)
signal
MAKRti::DtString DtFederateStatisticsDialog::federationNameStr ( ) const

The federation name and federate handle can identify which federate this dialog is associated with.

MAKRti::DtString DtFederateStatisticsDialog::findInteractionClassName ( DtU32  classHandle,
std::set< DtU32 > &  unknownClassNamesHandles 
)
private
MAKRti::DtString DtFederateStatisticsDialog::findObjectClassName ( DtU32  classHandle,
std::set< DtU32 > &  unknownClassNamesHandles 
)
private
MAKRti::DtString DtFederateStatisticsDialog::findObjectInstanceName ( DtU32  instanceHandle,
std::set< DtU32 > &  unknownInstanceNamesHandles 
)
private
const char* DtFederateStatisticsDialog::getFedAmbCallbacksHeader ( const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum  col) const

Retrieve the column header text for a given column.

const char* DtFederateStatisticsDialog::getFedAmbCallbacksHeaderToolTip ( const DtFederateStatisticsDialogFedAmbCallbacksModelColumnEnum  col) const

Retrieve the column header tool tip for a given column.

const char* DtFederateStatisticsDialog::getInteractionHeader ( const DtFederateStatisticsDialogInteractionModelColumnEnum  col) const

Retrieve the column header text for a given column.

const char* DtFederateStatisticsDialog::getInteractionHeaderToolTip ( const DtFederateStatisticsDialogInteractionModelColumnEnum  col) const

Retrieve the column header tool tip for a given column.

const char* DtFederateStatisticsDialog::getMsgHeader ( const DtFederateStatisticsDialogMsgModelColumnEnum  col) const

Retrieve the column header text for a given column.

const char* DtFederateStatisticsDialog::getMsgHeaderToolTip ( const DtFederateStatisticsDialogMsgModelColumnEnum  col) const

Retrieve the column header tool tip for a given column.

const char* DtFederateStatisticsDialog::getObjectHeader ( const DtFederateStatisticsDialogObjectModelColumnEnum  col) const

Retrieve the column header text for a given column.

const char* DtFederateStatisticsDialog::getObjectHeaderToolTip ( const DtFederateStatisticsDialogObjectModelColumnEnum  col) const

Retrieve the column header tool tip for a given column.

const char* DtFederateStatisticsDialog::getRtiAmbServicesHeader ( const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum  col) const

Retrieve the column header text for a given column.

const char* DtFederateStatisticsDialog::getRtiAmbServicesHeaderToolTip ( const DtFederateStatisticsDialogRtiAmbServicesModelColumnEnum  col) const

Retrieve the column header tool tip for a given column.

const std::set<DtU32>& DtFederateStatisticsDialog::getUnknownObjectInstanceNamesHandlesAndClear ( ) const
virtual void DtFederateStatisticsDialog::hideEvent ( QHideEvent *  event)
protectedvirtual

Override hideEvent to store the size of the dialog when it is hidden.

void DtFederateStatisticsDialog::initBasicInfoWidgets ( )
protected

Initialize the message stats widget.

void DtFederateStatisticsDialog::initButtonBoxWidget ( )
protected

Initialize the widget which contains the ok button.

void DtFederateStatisticsDialog::initCallbackStatsWidget ( )
protected

Initialize the callbacks stats widget.

QDockWidget* DtFederateStatisticsDialog::initDockWidget ( bool  isFixed,
Qt::Orientation  ori,
const QString &  name = "" 
)
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).

void DtFederateStatisticsDialog::initInteractionStatsWidget ( )
protected

Initialize the interaction stats widget.

void DtFederateStatisticsDialog::initMsgStatsWidget ( )
protected

Initialize the message stats widget.

void DtFederateStatisticsDialog::initObjectStatsWidget ( )
protected

Initialize the object stats widget.

void DtFederateStatisticsDialog::initServiceStatsWidget ( )
protected

Initialize the service calls stats widget.

void DtFederateStatisticsDialog::loadGuiConfiguration ( )
protected

Loads the GUI configuration from a file.

DtFederateStatisticsDialog& DtFederateStatisticsDialog::operator= ( const DtFederateStatisticsDialog )
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.

void DtFederateStatisticsDialog::setCompId ( unsigned int  compId)

The assistant info and component ID can identify which federate this dialog is associated with.

void DtFederateStatisticsDialog::setConnectionInfo ( const DtRtiConnectionInfo connInfo)
void DtFederateStatisticsDialog::setFederateHandle ( unsigned int  federateHandle)

The federation name and federate handle can identify which federate this dialog is associated with.

void DtFederateStatisticsDialog::setFederateHost ( const QString &  h)

Set the federate host name of the displayed federate.

void DtFederateStatisticsDialog::setFederateIcon ( const QPixmap &  icon)

Set the federate icon of the displayed federate.

void DtFederateStatisticsDialog::setFederateName ( const QString &  n)

Set the federate name of the displayed federate.

void DtFederateStatisticsDialog::setFederateProcess ( const QString &  p)

Set the federate process of the displayed federate.

void DtFederateStatisticsDialog::setFederateType ( const QString &  t)

Set the federate type of the displayed federate.

void DtFederateStatisticsDialog::setFederationName ( const QString &  n)

Set the federation name of the displayed federate.

void DtFederateStatisticsDialog::setFederationNameStr ( const MAKRti::DtString &  federationName)

The federation name and federate handle can identify which federate this dialog is associated with.

virtual void DtFederateStatisticsDialog::showEvent ( QShowEvent *  event)
protectedvirtual

Override showEvent to load the GUI config the first time it's shown.

virtual QSize DtFederateStatisticsDialog::sizeHint ( ) const
virtual

Returns the recommended size for the widget.

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 void DtFederateStatisticsDialog::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 
)
virtual

Update the tables and graphs with the latest data.

void DtFederateStatisticsDialog::updateFederateDescription ( )
protected

Updates the federate description in all necessary locations.

void DtFederateStatisticsDialog::updateFederateId ( const QString &  fedId)
protected

Updates the federate ID in all necessary locations.

virtual void DtFederateStatisticsDialog::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 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::updateInteractionTablesClassNames ( const std::vector< DtU32 > &  classHandles,
const std::vector< MAKRti::DtString > &  classNames 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::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 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::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 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::updateObjectTablesClassNames ( const std::vector< DtU32 > &  classHandles,
const std::vector< MAKRti::DtString > &  classNames 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::updateObjectTablesInstanceNames ( const std::vector< DtU32 > &  instanceHandles,
const std::vector< MAKRti::DtString > &  instanceNames 
)
virtual

Update the tables and graphs with the latest data.

virtual void DtFederateStatisticsDialog::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 
)
virtual

Update the tables and graphs with the latest data.

Member Data Documentation

DtAssistantInfo DtFederateStatisticsDialog::myAssistantInfo
private
QDialogButtonBox* DtFederateStatisticsDialog::myButtonBox
private

The dialog button box to close the dialog.

std::map<unsigned, unsigned> DtFederateStatisticsDialog::myCallbackIdToRowMap
private

The widget to display callback statistics.

QDockWidget* DtFederateStatisticsDialog::myCallbackStatsDockWidget
private

The widget to display callback statistics.

QStandardItemModel* DtFederateStatisticsDialog::myCallbackStatsModel
private

The widget to display callback statistics.

QSortFilterProxyModel* DtFederateStatisticsDialog::myCallbackStatsProxyModel
private

The widget to display callback statistics.

unsigned DtFederateStatisticsDialog::myCallbackStatsTreeIndex
private

The widget to display callback statistics.

DtTreesAndGraphWidget* DtFederateStatisticsDialog::myCallbackStatsWidget
private

The widget to display callback statistics.

unsigned int DtFederateStatisticsDialog::myCompId
private
DtFilename DtFederateStatisticsDialog::myConfigDir
private

The directory where the GUI config file should be stored.

DtRtiConnectionInfo DtFederateStatisticsDialog::myConnInfo
private
unsigned DtFederateStatisticsDialog::myFedAmbUpdateCounter
private

The update counter.

unsigned int DtFederateStatisticsDialog::myFederateHandle
private
QLabel* DtFederateStatisticsDialog::myFederateIdLabel
private

Label displaying the id for the selected federate.

DtFederateIdentifierType DtFederateStatisticsDialog::myFederateIdType
private

How the federate should be identified.

QLabel* DtFederateStatisticsDialog::myFederateNameHeaderLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myFederateNameLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myFederateTypeHeaderLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myFederateTypeLabel
private

Labels presenting basic federate information.

MAKRti::DtString DtFederateStatisticsDialog::myFederationName
private
QLabel* DtFederateStatisticsDialog::myFederationNameHeaderLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myFederationNameLabel
private

Labels presenting basic federate information.

bool DtFederateStatisticsDialog::myFirstTimeShown
private

Indicates whether the dialog has been shown yet.

QLabel* DtFederateStatisticsDialog::myHostNameHeaderLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myHostNameLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myIconLabel
private

Label displaying the icon for the selected federate.

std::map<unsigned, unsigned> DtFederateStatisticsDialog::myInteractionIdToRowMap
private

The widget to display interaction statistics.

QDockWidget* DtFederateStatisticsDialog::myInteractionStatsDockWidget
private

The widget to display interaction statistics.

QStandardItemModel* DtFederateStatisticsDialog::myInteractionStatsModel
private

The widget to display interaction statistics.

QSortFilterProxyModel* DtFederateStatisticsDialog::myInteractionStatsProxyModel
private

The widget to display interaction statistics.

unsigned DtFederateStatisticsDialog::myInteractionStatsTreeIndex
private

The widget to display interaction statistics.

DtTreesAndGraphWidget* DtFederateStatisticsDialog::myInteractionStatsWidget
private

The widget to display interaction statistics.

std::map<DtU32, MAKRti::DtString> DtFederateStatisticsDialog::myInterClassNamesByInterClassHdlsMap
private
QSize DtFederateStatisticsDialog::myLastVisibleSize
private

The size of the dialog the last time it was visible.

QDockWidget* DtFederateStatisticsDialog::myMainDockWidget
private

The dialog's main widget which is always displayed and shows basic federate identification information.

QWidget* DtFederateStatisticsDialog::myMainWidget
private

The dialog's main widget which is always displayed and shows basic federate identification information.

std::map<unsigned, unsigned> DtFederateStatisticsDialog::myMsgIdToRowMap
private

The widget to display message statistics.

QDockWidget* DtFederateStatisticsDialog::myMsgStatsDockWidget
private

The widget to display message statistics.

QStandardItemModel* DtFederateStatisticsDialog::myMsgStatsModel
private

The widget to display message statistics.

QSortFilterProxyModel* DtFederateStatisticsDialog::myMsgStatsProxyModel
private

The widget to display message statistics.

unsigned DtFederateStatisticsDialog::myMsgStatsTreeIndex
private

The widget to display message statistics.

DtTreesAndGraphWidget* DtFederateStatisticsDialog::myMsgStatsWidget
private

The widget to display message statistics.

unsigned DtFederateStatisticsDialog::myMsgUpdateCounter
private

The update counter.

std::map<DtU32, MAKRti::DtString> DtFederateStatisticsDialog::myObjClassNamesByObjClassHdlsMap
private
std::map<unsigned, unsigned> DtFederateStatisticsDialog::myObjectIdToRowMap
private

The widget to display object statistics.

QDockWidget* DtFederateStatisticsDialog::myObjectStatsDockWidget
private

The widget to display object statistics.

QStandardItemModel* DtFederateStatisticsDialog::myObjectStatsModel
private

The widget to display object statistics.

QSortFilterProxyModel* DtFederateStatisticsDialog::myObjectStatsProxyModel
private

The widget to display object statistics.

unsigned DtFederateStatisticsDialog::myObjectStatsTreeIndex
private

The widget to display object statistics.

DtTreesAndGraphWidget* DtFederateStatisticsDialog::myObjectStatsWidget
private

The widget to display object statistics.

std::map<DtU32, MAKRti::DtString> DtFederateStatisticsDialog::myObjInstanceNamesByObjInstanceHdlsMap
private
QLabel* DtFederateStatisticsDialog::myProcessNameHeaderLabel
private

Labels presenting basic federate information.

QLabel* DtFederateStatisticsDialog::myProcessNameLabel
private

Labels presenting basic federate information.

unsigned DtFederateStatisticsDialog::myRtiAmbUpdateCounter
private

The update counter.

std::map<unsigned, unsigned> DtFederateStatisticsDialog::myServiceIdToRowMap
private

The widget to display service call statistics.

QDockWidget* DtFederateStatisticsDialog::myServiceStatsDockWidget
private

The widget to display service call statistics.

QStandardItemModel* DtFederateStatisticsDialog::myServiceStatsModel
private

The widget to display service call statistics.

QSortFilterProxyModel* DtFederateStatisticsDialog::myServiceStatsProxyModel
private

The widget to display service call statistics.

unsigned DtFederateStatisticsDialog::myServiceStatsTreeIndex
private

The widget to display service call statistics.

DtTreesAndGraphWidget* DtFederateStatisticsDialog::myServiceStatsWidget
private

The widget to display service call statistics.

unsigned DtFederateStatisticsDialog::myUpdateCounter
private

The update counter.

const MAKRti::DtFilename DtFederateStatisticsDialog::theConfigFilename
staticprivate

The name of the file where the GUI configuration is stored.


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)