![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Dialog which displays the results of network latency testing for a particular initiating federate. More...
Inheritance diagram for DtLatencyTestDialog:
Collaboration diagram for DtLatencyTestDialog:Classes | |
| struct | DtDetailedInfo |
| Structure to store detailed information. More... | |
Public Slots | |
| virtual void | processRun () |
| Process the pressing of the run button. More... | |
| virtual void | processContinuous () |
| Process the pressing of the continuous button. More... | |
| virtual void | processStop () |
| Process the pressing of the stop button. More... | |
| virtual void | processSave () |
| Process the pressing of the save button. More... | |
| virtual void | processSelectionChange () |
| Process the selection of a new item in the table. More... | |
| virtual void | setTestConfig (unsigned int interactionPeriod, unsigned int numInteractions, unsigned int payloadBytes) |
| Set test configuration values. More... | |
Signals | |
| void | run () |
| Signal emitted when run button is pressed. More... | |
| void | runContinuous () |
| Signal emitted when run button is pressed in continuous mode. More... | |
| void | stopRunning () |
| Signal emitted when stop button is pressed. More... | |
| void | dismiss () |
| Signal emitted when the dialog is closed or dismissed. More... | |
| void | updateTestConfig (unsigned int interactionPeriod, unsigned int numInteractions, unsigned int payloadBytes) |
| Signal emitted when test configuration is updated. More... | |
| void | observing () |
| Signal emitted when the dialog is ready to receive test reports. More... | |
Public Member Functions | |
| DtLatencyTestDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| virtual | ~DtLatencyTestDialog () |
| Destructor. More... | |
| virtual void | clearResults () |
| Clears the displayed results. More... | |
| virtual void | addResult (const QString &initName, unsigned int initHandle, const QString &recipName, unsigned int recipHandle, DtRIDParameters::DtAsynchronousIOModeEnum initProcModel, DtRIDParameters::DtAsynchronousIOModeEnum recipProcModel, unsigned int initTickTime, unsigned int recipTickTime, unsigned int bestEffortRoundTripTime, unsigned int reliableRoundTripTime, int initBestEffortQTime, int recipBestEffortQTime, int initReliableQTime, int recipReliableQTime) |
| Adds a new test result. More... | |
| virtual void | addTimeoutResult (const QString &recipName, unsigned int recipHandle) |
| Adds a new timeout test result. More... | |
| virtual void | setName (const QString &name) |
| Renames the component. More... | |
| virtual void | updateStatus (bool enabled, bool capable, bool continuous, bool inProgress) |
| Updates the testing status. More... | |
| virtual void | indicateFederateResigned () |
| Indicate on the dialog that federate has resigned. More... | |
| virtual void | indicateRtiexecShutdown () |
| Indicate on the dialog that rtiexec has shutdown. More... | |
| virtual bool | isTestInProgress () |
| Returns true if a test is currently in progress. More... | |
| virtual void | closeWithoutPrompt () |
| Closes the dialog without displaying a prompt, even if a test is in progress. More... | |
Protected Types | |
| enum | DtResultsTableCol { RecipientCol, TransitTimeCol, TimeWaitingCol, TotalTimeCol } |
| Enumeration for the table columns. More... | |
| typedef std::map< int, DtDetailedInfo * > | DtHandleToDetailedInfoMap |
| Typedef for map of recipient handle to detailed info. More... | |
Protected Member Functions | |
| virtual void | getWidgetsToUpdate (unsigned int recipHandle, QTableWidgetItem *&recipItem, QTableWidgetItem *&timeWaitingItem, QTableWidgetItem *&transitTimeItem, QTableWidgetItem *&totalTimeItem, DtDetailedInfo *&details) |
| Gets the widgets in the dialog that should be updated to display the test results for the given recipient name. More... | |
| virtual QString | federateNameToDisplay (unsigned int handle, const QString &name=QString::null) |
| Creates the string to be used in the GUI display for the given federate. More... | |
| virtual unsigned int | handleFromDisplayName (const QString &name) |
| Returns the handle from the displayed federate name. More... | |
| virtual QString | procModelString (DtRIDParameters::DtAsynchronousIOModeEnum procModel) |
| Converts the processing model value to a string. More... | |
| virtual void | clearDetailsDisplay () |
| Clears the detailed information display. More... | |
| virtual void | setTitle () |
| Updates the title of the dialog. More... | |
| virtual void | closeEvent (QCloseEvent *event) |
| Handles the closing of the window. More... | |
| virtual void | showEvent (QShowEvent *event) |
| Prepare the dialog to be shown. More... | |
| virtual void | convertToMsString (unsigned int usec, QString &result, const QString ¬AvailableString=theLongNAString, bool zeroIsNotAvailable=true) |
| Converts from usec to a string displaying msec. More... | |
| virtual void | convertToMsString (int usec, QString &result, const QString ¬AvailableString=theLongNAString, bool zeroIsNotAvailable=true) |
| Converts from usec to a string displaying msec. More... | |
Protected Attributes | |
| Ui::LatencyTestDialog | myUiImpl |
| QString | myName |
| Name of the initiating federate. More... | |
| QString | myStatusText |
| Text which displays the current status. More... | |
| DtHandleToDetailedInfoMap | myDetailedInfo |
| Map of recipient handles to more detailed information. More... | |
| DtLatencyTestConfigWidget * | myConfigWidget |
| The widget which configures latency test parameters. More... | |
| bool | myTestingEnabled |
| Stores whether or not testing is enabled. More... | |
| bool | myTestCapable |
| Stores whether or not the LRC is currently capable of running a test. More... | |
| bool | myTestInProgress |
| Stores whether or not a test is in progress. More... | |
| bool | myContinuous |
| Stores whether or not the current test is continuous. More... | |
| QIcon | myContinuousIcon |
| Icon for the continuous button when it is not depressed. More... | |
| QString | mySavedFile |
| The previously saved file. More... | |
| bool | myCloseWithoutPrompt |
| Indicates that no prompt should be displayed when the dialog is closed. More... | |
Static Protected Attributes | |
| static const QString | theShortNAString |
| Short string used to indicate metric is not available. More... | |
| static const QString | theLongNAString |
| Longer string used to indicate metric is not available. More... | |
| static const QString | theInitiatorToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theRecipientToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theTimeWaitingToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theTransitTimeToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theTotalTimeToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theTimestampToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theProcModelToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theTickTimeToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theQTimeToolTip |
| Tool tip text for the displayed information. More... | |
| static const QString | theRunButtonToolTip |
| Tool tip text for the dialog buttons. More... | |
| static const QString | theStopButtonToolTip |
| Tool tip text for the dialog buttons. More... | |
| static const QString | theContinuousButtonToolTip |
| Tool tip text for the dialog buttons. More... | |
| static const QString | theConfigureButtonToolTip |
| Tool tip text for the dialog buttons. More... | |
| static const QString | theSaveButtonToolTip |
| Tool tip text for the dialog buttons. More... | |
Dialog which displays the results of network latency testing for a particular initiating federate.
|
protected |
Typedef for map of recipient handle to detailed info.
|
protected |
| DtLatencyTestDialog::DtLatencyTestDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Adds a new test result.
|
virtual |
Adds a new timeout test result.
|
protectedvirtual |
Clears the detailed information display.
|
virtual |
Clears the displayed results.
|
protectedvirtual |
Handles the closing of the window.
|
virtual |
Closes the dialog without displaying a prompt, even if a test is in progress.
|
protectedvirtual |
Converts from usec to a string displaying msec.
|
protectedvirtual |
Converts from usec to a string displaying msec.
|
signal |
Signal emitted when the dialog is closed or dismissed.
|
protectedvirtual |
Creates the string to be used in the GUI display for the given federate.
|
protectedvirtual |
Gets the widgets in the dialog that should be updated to display the test results for the given recipient name.
|
protectedvirtual |
Returns the handle from the displayed federate name.
|
virtual |
Indicate on the dialog that federate has resigned.
|
virtual |
Indicate on the dialog that rtiexec has shutdown.
|
virtual |
Returns true if a test is currently in progress.
|
signal |
Signal emitted when the dialog is ready to receive test reports.
|
virtualslot |
Process the pressing of the continuous button.
|
virtualslot |
Process the pressing of the run button.
|
virtualslot |
Process the pressing of the save button.
|
virtualslot |
Process the selection of a new item in the table.
|
virtualslot |
Process the pressing of the stop button.
|
protectedvirtual |
Converts the processing model value to a string.
|
signal |
Signal emitted when run button is pressed.
|
signal |
Signal emitted when run button is pressed in continuous mode.
|
virtual |
Renames the component.
|
virtualslot |
Set test configuration values.
|
protectedvirtual |
Updates the title of the dialog.
|
protectedvirtual |
Prepare the dialog to be shown.
|
signal |
Signal emitted when stop button is pressed.
|
virtual |
Updates the testing status.
|
signal |
Signal emitted when test configuration is updated.
|
protected |
Indicates that no prompt should be displayed when the dialog is closed.
|
protected |
The widget which configures latency test parameters.
|
protected |
Stores whether or not the current test is continuous.
|
protected |
Icon for the continuous button when it is not depressed.
|
protected |
Map of recipient handles to more detailed information.
|
protected |
Name of the initiating federate.
|
protected |
The previously saved file.
|
protected |
Text which displays the current status.
|
protected |
Stores whether or not the LRC is currently capable of running a test.
|
protected |
Stores whether or not testing is enabled.
|
protected |
Stores whether or not a test is in progress.
|
protected |
|
staticprotected |
Tool tip text for the dialog buttons.
|
staticprotected |
Tool tip text for the dialog buttons.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Longer string used to indicate metric is not available.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the dialog buttons.
|
staticprotected |
Tool tip text for the dialog buttons.
|
staticprotected |
Short string used to indicate metric is not available.
|
staticprotected |
Tool tip text for the dialog buttons.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.
|
staticprotected |
Tool tip text for the displayed information.