![]() |
MAK RTIspy API Documentation for HLA Evolved
|
DtAveragedLatencyTestReport encodes and decodes reports from tests between local RTI components. More...
Collaboration diagram for DtAveragedLatencyTestReport:Public Member Functions | |
| DtAveragedLatencyTestReport () | |
| ~DtAveragedLatencyTestReport () | |
| virtual void | decodeFromMsg (const unsigned char *data, unsigned int size) |
| Decode our contents from data pointer. | |
| virtual void | encodeToMsg (unsigned char *destPtr) const |
| Encode our contents into the input data pointer. | |
| virtual unsigned int | sizeRequiredToDecode () const |
| Returns the size of the data encoded. | |
| void | getProcessingModel (DtRIDParameters::DtAsynchronousIOModeEnum &initiator, DtRIDParameters::DtAsynchronousIOModeEnum &recip) const |
| get processingModel of initiator and recipient. | |
| virtual void | setInitiatorProcessingModel (DtRIDParameters::DtAsynchronousIOModeEnum initModel) |
| Set the initiator processing model. | |
| virtual void | setRecipientProcessingModel (DtRIDParameters::DtAsynchronousIOModeEnum recipModel) |
| Set the recipient processing model. | |
| virtual unsigned int | federationHandle () const |
| Set / Get the federation handle of this test. | |
| virtual void | setFederationHandle (unsigned int num) |
| virtual unsigned int | initiatorFedHandle () const |
| Set / Get the fed handle of the initiator of this test. | |
| virtual void | setInitiatorFedHandle (unsigned int num) |
| virtual unsigned int | recipientFedHandle () const |
| Set / Get The fed handle of the recipient of this test. | |
| virtual void | setRecipientFedHandle (unsigned int num) |
| virtual void | initiatorFedName (MAKRti::DtString &name) const |
| Set / get the initiator federate name. | |
| virtual void | setInitiatorFedName (const MAKRti::DtString &name) |
| virtual void | recipientFedName (MAKRti::DtString &name) const |
| Get /Set the recipient name. | |
| virtual void | setRecipientFedName (const MAKRti::DtString &name) |
| virtual unsigned int | numCompletedBestEffortInteractions () const |
| Set / Get how many completed best effort interactions were averaged to get this result. | |
| virtual void | setNumCompletedBestEffortInteractions (unsigned int num) |
| virtual unsigned int | numCompletedReliableInteractions () const |
| Set / Get how many completed reliable interactions were averaged to get this result. | |
| virtual void | setNumCompletedReliableInteractions (unsigned int num) |
| virtual unsigned int | numDroppedBestEffortInteractions () const |
| Set / Get how many best effort interaction were dropped in generating this report. | |
| virtual void | setNumDroppedBestEffortInteractions (unsigned int num) |
| virtual unsigned int | numDroppedReliableInteractions () const |
| Set / Get how many reliable interaction were dropped in generating this report. | |
| virtual void | setNumDroppedReliableInteractions (unsigned int num) |
| virtual unsigned int | averageInitiatorTickTimeUsecs () const |
| Get / set the average initiator Best Effort tick time. | |
| virtual void | setAverageInitiatorTickTimeUsecs (unsigned int time) |
| virtual unsigned int | averageRecipientTickTimeUsecs () const |
| Get / set the recipient average tick time. | |
| virtual void | setAverageRecipientTickTimeUsecs (unsigned int time) |
| virtual unsigned int | averageBestEffortRoundTripTime () const |
| Set / Get the best effort RTT of this test. | |
| virtual void | setAverageBestEffortRoundTripTime (unsigned int num) |
| virtual unsigned int | averageReliableRoundTripTime () const |
| Set / Get the reliable RTT of this test. | |
| virtual void | setAverageReliableRoundTripTime (unsigned int num) |
| virtual void | setAverageBestEffortInitiatorSendInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Initiator Send Interaction time. | |
| virtual encodedTimeType | averageBestEffortInitiatorSendInteractionUSecs () const |
| virtual void | setAverageReliableInitiatorSendInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Reliable Initiator Send Interaction time. | |
| virtual encodedTimeType | averageReliableInitiatorSendInteractionUSecs () const |
| virtual void | setAverageBestEffortRecipientMsgQueuedUsecs (encodedTimeType microSeconds) |
| Set Get the average Best Effort Recipient Message In Queue Time. | |
| virtual encodedTimeType | averageBestEffortRecipientMsgQueuedUsecs () const |
| virtual void | setAverageReliableRecipientMsgQueuedUsecs (encodedTimeType microSeconds) |
| Set Get the average Reliable Recipient Message In Queue Time. | |
| virtual encodedTimeType | averageReliableRecipientMsgQueuedUsecs () const |
| virtual void | setAverageBestEffortRecipientReceiveInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Recipient Receive Interaction time. | |
| virtual encodedTimeType | averageBestEffortRecipientReceiveInteractionUSecs () const |
| virtual void | setAverageReliableRecipientReceiveInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Reliable Recipient Receive Interaction time. | |
| virtual encodedTimeType | averageReliableRecipientReceiveInteractionUSecs () const |
| virtual void | setAverageBestEffortRecipientEncodeDecodeInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Recipient Encode/Decode Interaction time. | |
| virtual encodedTimeType | averageBestEffortRecipientEncodeDecodeInteractionUSecs () const |
| virtual void | setAverageReliableRecipientEncodeDecodeInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Recipient Encode/Decode Interaction time. | |
| virtual encodedTimeType | averageReliableRecipientEncodeDecodeInteractionUSecs () const |
| virtual void | setAverageBestEffortRecipientSendInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Recipient Send Interaction time. | |
| virtual encodedTimeType | averageBestEffortRecipientSendInteractionUSecs () const |
| virtual void | setAverageReliableRecipientSendInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Recipient Send Interaction time. | |
| virtual encodedTimeType | averageReliableRecipientSendInteractionUSecs () const |
| virtual void | setAverageBestEffortInitiatorMsgQueuedUsecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Initiator Message In Queue Time. | |
| virtual encodedTimeType | averageBestEffortInitiatorMsgQueuedUsecs () const |
| virtual void | setAverageReliableInitiatorMsgQueuedUsecs (encodedTimeType microSeconds) |
| Set / Get the average Reliable Initiator Message In Queue Time. | |
| virtual encodedTimeType | averageReliableInitiatorMsgQueuedUsecs () const |
| virtual void | setAverageBestEffortInitiatorReceiveInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Best Effort Initiator Receive Interaction time . | |
| virtual encodedTimeType | averageBestEffortInitiatorReceiveInteractionUSecs () const |
| virtual void | setAverageReliableInitiatorReceiveInteractionUSecs (encodedTimeType microSeconds) |
| Set / Get the average Reliable Initiator Receive Interaction time . | |
| virtual encodedTimeType | averageReliableInitiatorReceiveInteractionUSecs () const |
Static Public Member Functions | |
| static bool | requiresQueueMsgStamp (DtRIDParameters::DtAsynchronousIOModeEnum model) |
| Does this model require an Asynchronous Msg Queue Stamp? | |
Protected Member Functions | |
| virtual void | setSingleTimeByType (DtAssistantReportTimeStampType, encodedTimeType num) |
| Generic accessor of the 5 always present types. | |
| virtual encodedTimeType | getSingleTimeByType (DtAssistantReportTimeStampType) const |
| Generic mutator of the 5 always present types. | |
Static Protected Member Functions | |
| static void | setSingleTimeToPtr (DtAssistantReportTimeStampType type, encodedTimeType time, unsigned char **dataPtrPtr) |
| Write the type, time and advance what dataPtr points to. | |
| static void | getSingleTimeFromPtr (DtAssistantReportTimeStampType &type, encodedTimeType &time, const unsigned char **dataPtrPtr) |
| Read the type, time and advance what dataPtr points to. | |
| static void | writeUintAndAdvancePtr (unsigned int num, unsigned char **dataPtrPtr) |
| static void | readUintAndAdvancePtr (unsigned int &num, unsigned char **dataPtrPtr) |
| static void | writeFloatAndAdvancePtr (const float &num, unsigned char **dataPtrPtr) |
| static void | readFloatAndAdvancePtr (float &num, unsigned char **dataPtrPtr) |
| static void | writeSizeAndStringAndAdvancePtr (const MAKRti::DtString &name, unsigned char **dataPtrPtr) |
| Write the size of the padded string and then the string to the dataPtr. | |
| static void | readSizeAndStringAndAdvancePtr (MAKRti::DtString &name, unsigned char **dataPtrPtr, unsigned int &encodedSize) |
| Read the size of the padded string and then the string from the dataPtr. | |
| static unsigned int | determineSizeOfPaddedSting (const MAKRti::DtString &string) |
| Return the would be size of the string including alignment padding. | |
Protected Attributes | |
| encodedTimeType | myAverageBestEffortInitiatorSendInteractionTime |
| The following averages are expressed in whole number of microseconds. | |
| encodedTimeType | myAverageBestEffortRecipientReceiveInteractionTime |
| The Best Effort time between the netRead and the receiveInteraction call for the Recipient. | |
| encodedTimeType | myAverageBestEffortRecipientEncodeDecodeTime |
| The Best Effort time between the recipient receiveInteraction and response sendInteraction call. | |
| encodedTimeType | myAverageBestEffortRecipientSendInteractionTime |
| The Best Effort time between the sendInteraction call and the netSend for the Recipient. | |
| encodedTimeType | myAverageBestEffortInitiatorReceiveInteractionTime |
| The Best Effort time between the netRead and the receiveInteraction call for the Initiator. | |
| encodedTimeType | myAverageBestEffortRecipientQueueMsgTime |
| These are only necessary in DtAsynchronousMode and DtAsynchronousProcessMessage. | |
| encodedTimeType | myAverageBestEffortInitiatorQueueMsgTime |
| If necessary the time between AsyncQueueMsg and receiveInteraction for the Initiator. | |
| encodedTimeType | myAverageReliableInitiatorSendInteractionTime |
| The Reliable time between the sendInteraction call and the netSend for the Initiator. | |
| encodedTimeType | myAverageReliableRecipientReceiveInteractionTime |
| The Reliable time between the netRead and the receiveInteraction call for the Recipient. | |
| encodedTimeType | myAverageReliableRecipientEncodeDecodeTime |
| The Reliable time between the recipient receiveInteraction and response sendInteraction call. | |
| encodedTimeType | myAverageReliableRecipientSendInteractionTime |
| The Reliable time between the sendInteraction call and the netSend for the Recipient. | |
| encodedTimeType | myAverageReliableInitiatorReceiveInteractionTime |
| The Reliable time between the netRead and the receiveInteraction call for the Initiator. | |
| encodedTimeType | myAverageReliableRecipientQueueMsgTime |
| These are only necessary in DtAsynchronousMode and DtAsynchronousProcessMessage. | |
| encodedTimeType | myAverageReliableInitiatorQueueMsgTime |
| If necessary the time between AsyncQueueMsg and receiveInteraction for the Initiator. | |
| DtRIDParameters::DtAsynchronousIOModeEnum | myRecipModel |
| The processing models of the recipient and initiator respectively. | |
| DtRIDParameters::DtAsynchronousIOModeEnum | myInitModel |
| MAKRti::DtString | myInitiatorFederateName |
| queue of pairs of forwarder times. | |
| MAKRti::DtString | myRecipientFederateName |
| Name of the recipient federate. | |
| unsigned int | myFederation |
| The federation handle. | |
| unsigned int | myInitiatorFed |
| The federate handle of the initiator. | |
| unsigned int | myRecipientFed |
| The federate handle of the recipient. | |
| unsigned int | myNumBestEffortInteractions |
| The number of completed best effort interactions in this test. | |
| unsigned int | myNumReliableInteractions |
| The number of completed reliable interactions in this test. | |
| unsigned int | myNumDroppedBestEffort |
| The number of dropped Best Effort interactions in this test. | |
| unsigned int | myNumDroppedReliable |
| The number of dropped Reliable interactions in this test. | |
| unsigned int | myBestEffortRoundTripTime |
| The calculated Best Effort latency. | |
| unsigned int | myReliableRoundTripTime |
| The calculated Reliable latency. | |
| unsigned int | myAverageRecipientTickTime |
| The average tick time of the recipient. | |
| unsigned int | myAverageInitiatorTickTime |
| The average tick time of the initiator. | |
Static Protected Attributes | |
| static const encodedTimeType | theInvalidEncodedTime = -1 |
DtAveragedLatencyTestReport encodes and decodes reports from tests between local RTI components.
| DtAveragedLatencyTestReport::DtAveragedLatencyTestReport | ( | ) |
| DtAveragedLatencyTestReport::~DtAveragedLatencyTestReport | ( | ) |
|
virtual |
References myAverageBestEffortInitiatorQueueMsgTime.
Referenced by encodeToMsg(), getSingleTimeByType(), and DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
References myAverageBestEffortInitiatorReceiveInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageBestEffortInitiatorSendInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageBestEffortRecipientEncodeDecodeTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageBestEffortRecipientQueueMsgTime.
Referenced by encodeToMsg(), getSingleTimeByType(), and DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
References myAverageBestEffortRecipientReceiveInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageBestEffortRecipientSendInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
Set / Get the best effort RTT of this test.
References myBestEffortRoundTripTime.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Get / set the average initiator Best Effort tick time.
References myAverageInitiatorTickTime.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Get / set the recipient average tick time.
References myAverageRecipientTickTime.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
References myAverageReliableInitiatorQueueMsgTime.
Referenced by encodeToMsg(), getSingleTimeByType(), and DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
References myAverageReliableInitiatorReceiveInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageReliableInitiatorSendInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageReliableRecipientEncodeDecodeTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageReliableRecipientQueueMsgTime.
Referenced by encodeToMsg(), getSingleTimeByType(), and DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
References myAverageReliableRecipientReceiveInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
References myAverageReliableRecipientSendInteractionTime.
Referenced by encodeToMsg(), and getSingleTimeByType().
|
virtual |
Set / Get the reliable RTT of this test.
References myReliableRoundTripTime.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Decode our contents from data pointer.
References getSingleTimeFromPtr(), myAverageInitiatorTickTime, myAverageRecipientTickTime, myBestEffortRoundTripTime, myFederation, myInitiatorFed, myInitiatorFederateName, myInitModel, myNumBestEffortInteractions, myNumDroppedBestEffort, myNumDroppedReliable, myNumReliableInteractions, myRecipientFed, myRecipientFederateName, myRecipModel, myReliableRoundTripTime, readSizeAndStringAndAdvancePtr(), readUintAndAdvancePtr(), and setSingleTimeByType().
Referenced by DtLatencyReportMsg::get(), and DtAssistantLatencyReportMsg::get().
|
staticprotected |
Return the would be size of the string including alignment padding.
Referenced by sizeRequiredToDecode(), and writeSizeAndStringAndAdvancePtr().
|
virtual |
Encode our contents into the input data pointer.
References averageBestEffortInitiatorMsgQueuedUsecs(), averageBestEffortInitiatorReceiveInteractionUSecs(), averageBestEffortInitiatorSendInteractionUSecs(), averageBestEffortRecipientEncodeDecodeInteractionUSecs(), averageBestEffortRecipientMsgQueuedUsecs(), averageBestEffortRecipientReceiveInteractionUSecs(), averageBestEffortRecipientSendInteractionUSecs(), averageReliableInitiatorMsgQueuedUsecs(), averageReliableInitiatorReceiveInteractionUSecs(), averageReliableInitiatorSendInteractionUSecs(), averageReliableRecipientEncodeDecodeInteractionUSecs(), averageReliableRecipientMsgQueuedUsecs(), averageReliableRecipientReceiveInteractionUSecs(), averageReliableRecipientSendInteractionUSecs(), DtAverageBestEffortInitiatorQueueMsgTime, DtAverageBestEffortInitiatorReceiveInteractionTime, DtAverageBestEffortInitiatorSendInteractionTime, DtAverageBestEffortRecipientEncodeDecodeTime, DtAverageBestEffortRecipientQueueMsgTime, DtAverageBestEffortRecipientReceiveInteractionTime, DtAverageBestEffortRecipientSendInteractionTime, DtAverageReliableInitiatorQueueMsgTime, DtAverageReliableInitiatorReceiveInteractionTime, DtAverageReliableInitiatorSendInteractionTime, DtAverageReliableRecipientEncodeDecodeTime, DtAverageReliableRecipientQueueMsgTime, DtAverageReliableRecipientReceiveInteractionTime, DtAverageReliableRecipientSendInteractionTime, myAverageInitiatorTickTime, myAverageRecipientTickTime, myBestEffortRoundTripTime, myFederation, myInitiatorFed, myInitiatorFederateName, myInitModel, myNumBestEffortInteractions, myNumDroppedBestEffort, myNumDroppedReliable, myNumReliableInteractions, myRecipientFed, myRecipientFederateName, myRecipModel, myReliableRoundTripTime, requiresQueueMsgStamp(), setSingleTimeToPtr(), writeSizeAndStringAndAdvancePtr(), and writeUintAndAdvancePtr().
Referenced by DtLatencyReportMsg::set(), and DtAssistantLatencyReportMsg::set().
|
virtual |
Set / Get the federation handle of this test.
References myFederation.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
| void DtAveragedLatencyTestReport::getProcessingModel | ( | DtRIDParameters::DtAsynchronousIOModeEnum & | initiator, |
| DtRIDParameters::DtAsynchronousIOModeEnum & | recip | ||
| ) | const |
get processingModel of initiator and recipient.
References myInitModel, and myRecipModel.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
protectedvirtual |
Generic mutator of the 5 always present types.
References averageBestEffortInitiatorMsgQueuedUsecs(), averageBestEffortInitiatorReceiveInteractionUSecs(), averageBestEffortInitiatorSendInteractionUSecs(), averageBestEffortRecipientEncodeDecodeInteractionUSecs(), averageBestEffortRecipientMsgQueuedUsecs(), averageBestEffortRecipientReceiveInteractionUSecs(), averageBestEffortRecipientSendInteractionUSecs(), averageReliableInitiatorMsgQueuedUsecs(), averageReliableInitiatorReceiveInteractionUSecs(), averageReliableInitiatorSendInteractionUSecs(), averageReliableRecipientEncodeDecodeInteractionUSecs(), averageReliableRecipientMsgQueuedUsecs(), averageReliableRecipientReceiveInteractionUSecs(), averageReliableRecipientSendInteractionUSecs(), DtAverageBestEffortInitiatorQueueMsgTime, DtAverageBestEffortInitiatorReceiveInteractionTime, DtAverageBestEffortInitiatorSendInteractionTime, DtAverageBestEffortRecipientEncodeDecodeTime, DtAverageBestEffortRecipientQueueMsgTime, DtAverageBestEffortRecipientReceiveInteractionTime, DtAverageBestEffortRecipientSendInteractionTime, DtAverageReliableInitiatorQueueMsgTime, DtAverageReliableInitiatorReceiveInteractionTime, DtAverageReliableInitiatorSendInteractionTime, DtAverageReliableRecipientEncodeDecodeTime, DtAverageReliableRecipientQueueMsgTime, DtAverageReliableRecipientReceiveInteractionTime, DtAverageReliableRecipientSendInteractionTime, DtPaddingType, and theInvalidEncodedTime.
|
staticprotected |
Read the type, time and advance what dataPtr points to.
Referenced by decodeFromMsg().
|
virtual |
Set / Get the fed handle of the initiator of this test.
References myInitiatorFed.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Set / get the initiator federate name.
References myInitiatorFederateName.
|
virtual |
Set / Get how many completed best effort interactions were averaged to get this result.
References myNumBestEffortInteractions.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Set / Get how many completed reliable interactions were averaged to get this result.
References myNumReliableInteractions.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Set / Get how many best effort interaction were dropped in generating this report.
References myNumDroppedBestEffort.
|
virtual |
Set / Get how many reliable interaction were dropped in generating this report.
References myNumDroppedReliable.
|
staticprotected |
|
staticprotected |
Read the size of the padded string and then the string from the dataPtr.
The string has to be padded to preserve 32 bit alignment. Return the size of the written string.
Referenced by decodeFromMsg().
|
staticprotected |
Referenced by decodeFromMsg().
|
virtual |
Set / Get The fed handle of the recipient of this test.
References myRecipientFed.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
virtual |
Get /Set the recipient name.
References myRecipientFederateName.
Referenced by DtAssistantLatencyTestMgr::processLatencyTestResults().
|
static |
Does this model require an Asynchronous Msg Queue Stamp?
References DtRIDParameters::DtAsynchronousMode, and DtRIDParameters::DtAsynchronousProcessMessage.
Referenced by DtInitiatorLatencyTest::averageReports(), encodeToMsg(), and sizeRequiredToDecode().
|
virtual |
Set / Get the average Best Effort Initiator Message In Queue Time.
References myAverageBestEffortInitiatorQueueMsgTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Initiator Receive Interaction time .
References myAverageBestEffortInitiatorReceiveInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Initiator Send Interaction time.
References myAverageBestEffortInitiatorSendInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Recipient Encode/Decode Interaction time.
References myAverageBestEffortRecipientEncodeDecodeTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set Get the average Best Effort Recipient Message In Queue Time.
References myAverageBestEffortRecipientQueueMsgTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Recipient Receive Interaction time.
References myAverageBestEffortRecipientReceiveInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Recipient Send Interaction time.
References myAverageBestEffortRecipientSendInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
References myBestEffortRoundTripTime.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myAverageInitiatorTickTime.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myAverageRecipientTickTime.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
Set / Get the average Reliable Initiator Message In Queue Time.
References myAverageReliableInitiatorQueueMsgTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Reliable Initiator Receive Interaction time .
References myAverageReliableInitiatorReceiveInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Reliable Initiator Send Interaction time.
References myAverageReliableInitiatorSendInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Recipient Encode/Decode Interaction time.
References myAverageReliableRecipientEncodeDecodeTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set Get the average Reliable Recipient Message In Queue Time.
References myAverageReliableRecipientQueueMsgTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Reliable Recipient Receive Interaction time.
References myAverageReliableRecipientReceiveInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
Set / Get the average Best Effort Recipient Send Interaction time.
References myAverageReliableRecipientSendInteractionTime.
Referenced by DtInitiatorLatencyTest::averageReports(), and setSingleTimeByType().
|
virtual |
References myReliableRoundTripTime.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myFederation.
Referenced by DtInitiatorLatencyTest::averageReports(), and DtRtiexecObserverForAssistant::processLatencyTestResultsMsg().
|
virtual |
References myInitiatorFed.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myInitiatorFederateName.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
Set the initiator processing model.
References myInitModel.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myNumBestEffortInteractions.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myNumReliableInteractions.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myNumDroppedBestEffort.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myNumDroppedReliable.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myRecipientFed.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
References myRecipientFederateName.
Referenced by DtInitiatorLatencyTest::averageReports().
|
virtual |
Set the recipient processing model.
References myRecipModel.
Referenced by DtInitiatorLatencyTest::averageReports().
|
protectedvirtual |
Generic accessor of the 5 always present types.
References DtAverageBestEffortInitiatorQueueMsgTime, DtAverageBestEffortInitiatorReceiveInteractionTime, DtAverageBestEffortInitiatorSendInteractionTime, DtAverageBestEffortRecipientEncodeDecodeTime, DtAverageBestEffortRecipientQueueMsgTime, DtAverageBestEffortRecipientReceiveInteractionTime, DtAverageBestEffortRecipientSendInteractionTime, DtAverageReliableInitiatorQueueMsgTime, DtAverageReliableInitiatorReceiveInteractionTime, DtAverageReliableInitiatorSendInteractionTime, DtAverageReliableRecipientEncodeDecodeTime, DtAverageReliableRecipientQueueMsgTime, DtAverageReliableRecipientReceiveInteractionTime, DtAverageReliableRecipientSendInteractionTime, DtPaddingType, setAverageBestEffortInitiatorMsgQueuedUsecs(), setAverageBestEffortInitiatorReceiveInteractionUSecs(), setAverageBestEffortInitiatorSendInteractionUSecs(), setAverageBestEffortRecipientEncodeDecodeInteractionUSecs(), setAverageBestEffortRecipientMsgQueuedUsecs(), setAverageBestEffortRecipientReceiveInteractionUSecs(), setAverageBestEffortRecipientSendInteractionUSecs(), setAverageReliableInitiatorMsgQueuedUsecs(), setAverageReliableInitiatorReceiveInteractionUSecs(), setAverageReliableInitiatorSendInteractionUSecs(), setAverageReliableRecipientEncodeDecodeInteractionUSecs(), setAverageReliableRecipientMsgQueuedUsecs(), setAverageReliableRecipientReceiveInteractionUSecs(), and setAverageReliableRecipientSendInteractionUSecs().
Referenced by decodeFromMsg().
|
staticprotected |
Write the type, time and advance what dataPtr points to.
Referenced by encodeToMsg().
|
virtual |
Returns the size of the data encoded.
References determineSizeOfPaddedSting(), myInitiatorFederateName, myInitModel, myRecipientFederateName, myRecipModel, and requiresQueueMsgStamp().
Referenced by DtLatencyReportMsg::set(), and DtAssistantLatencyReportMsg::set().
|
staticprotected |
|
staticprotected |
Write the size of the padded string and then the string to the dataPtr.
The string has to be padded to preserve 32 bit alignment.
References determineSizeOfPaddedSting().
Referenced by encodeToMsg().
|
staticprotected |
Referenced by encodeToMsg().
|
protected |
If necessary the time between AsyncQueueMsg and receiveInteraction for the Initiator.
Referenced by averageBestEffortInitiatorMsgQueuedUsecs(), and setAverageBestEffortInitiatorMsgQueuedUsecs().
|
protected |
The Best Effort time between the netRead and the receiveInteraction call for the Initiator.
Referenced by averageBestEffortInitiatorReceiveInteractionUSecs(), and setAverageBestEffortInitiatorReceiveInteractionUSecs().
|
protected |
The following averages are expressed in whole number of microseconds.
The Best Effort time between the sendInteraction call and the netSend for the Initiator
Referenced by averageBestEffortInitiatorSendInteractionUSecs(), and setAverageBestEffortInitiatorSendInteractionUSecs().
|
protected |
The Best Effort time between the recipient receiveInteraction and response sendInteraction call.
Referenced by averageBestEffortRecipientEncodeDecodeInteractionUSecs(), and setAverageBestEffortRecipientEncodeDecodeInteractionUSecs().
|
protected |
These are only necessary in DtAsynchronousMode and DtAsynchronousProcessMessage.
If necessary the time between Best Effort AsyncQueueMsg and receiveInteraction for the Recipient.
Referenced by averageBestEffortRecipientMsgQueuedUsecs(), and setAverageBestEffortRecipientMsgQueuedUsecs().
|
protected |
The Best Effort time between the netRead and the receiveInteraction call for the Recipient.
Referenced by averageBestEffortRecipientReceiveInteractionUSecs(), and setAverageBestEffortRecipientReceiveInteractionUSecs().
|
protected |
The Best Effort time between the sendInteraction call and the netSend for the Recipient.
Referenced by averageBestEffortRecipientSendInteractionUSecs(), and setAverageBestEffortRecipientSendInteractionUSecs().
|
protected |
The average tick time of the initiator.
Referenced by averageInitiatorTickTimeUsecs(), decodeFromMsg(), encodeToMsg(), and setAverageInitiatorTickTimeUsecs().
|
protected |
The average tick time of the recipient.
Referenced by averageRecipientTickTimeUsecs(), decodeFromMsg(), encodeToMsg(), and setAverageRecipientTickTimeUsecs().
|
protected |
If necessary the time between AsyncQueueMsg and receiveInteraction for the Initiator.
Referenced by averageReliableInitiatorMsgQueuedUsecs(), and setAverageReliableInitiatorMsgQueuedUsecs().
|
protected |
The Reliable time between the netRead and the receiveInteraction call for the Initiator.
Referenced by averageReliableInitiatorReceiveInteractionUSecs(), and setAverageReliableInitiatorReceiveInteractionUSecs().
|
protected |
The Reliable time between the sendInteraction call and the netSend for the Initiator.
Referenced by averageReliableInitiatorSendInteractionUSecs(), and setAverageReliableInitiatorSendInteractionUSecs().
|
protected |
The Reliable time between the recipient receiveInteraction and response sendInteraction call.
Referenced by averageReliableRecipientEncodeDecodeInteractionUSecs(), and setAverageReliableRecipientEncodeDecodeInteractionUSecs().
|
protected |
These are only necessary in DtAsynchronousMode and DtAsynchronousProcessMessage.
If necessary the time between Reliable AsyncQueueMsg and receiveInteraction for the Recipient.
Referenced by averageReliableRecipientMsgQueuedUsecs(), and setAverageReliableRecipientMsgQueuedUsecs().
|
protected |
The Reliable time between the netRead and the receiveInteraction call for the Recipient.
Referenced by averageReliableRecipientReceiveInteractionUSecs(), and setAverageReliableRecipientReceiveInteractionUSecs().
|
protected |
The Reliable time between the sendInteraction call and the netSend for the Recipient.
Referenced by averageReliableRecipientSendInteractionUSecs(), and setAverageReliableRecipientSendInteractionUSecs().
|
protected |
The calculated Best Effort latency.
Referenced by averageBestEffortRoundTripTime(), decodeFromMsg(), encodeToMsg(), and setAverageBestEffortRoundTripTime().
|
protected |
The federation handle.
Referenced by decodeFromMsg(), encodeToMsg(), federationHandle(), and setFederationHandle().
|
protected |
The federate handle of the initiator.
Referenced by decodeFromMsg(), encodeToMsg(), initiatorFedHandle(), and setInitiatorFedHandle().
|
protected |
queue of pairs of forwarder times.
Name of the initiating federate.
Referenced by decodeFromMsg(), encodeToMsg(), initiatorFedName(), setInitiatorFedName(), and sizeRequiredToDecode().
|
protected |
Referenced by decodeFromMsg(), encodeToMsg(), getProcessingModel(), setInitiatorProcessingModel(), and sizeRequiredToDecode().
|
protected |
The number of completed best effort interactions in this test.
Referenced by decodeFromMsg(), encodeToMsg(), numCompletedBestEffortInteractions(), and setNumCompletedBestEffortInteractions().
|
protected |
The number of dropped Best Effort interactions in this test.
Referenced by decodeFromMsg(), encodeToMsg(), numDroppedBestEffortInteractions(), and setNumDroppedBestEffortInteractions().
|
protected |
The number of dropped Reliable interactions in this test.
Referenced by decodeFromMsg(), encodeToMsg(), numDroppedReliableInteractions(), and setNumDroppedReliableInteractions().
|
protected |
The number of completed reliable interactions in this test.
Referenced by decodeFromMsg(), encodeToMsg(), numCompletedReliableInteractions(), and setNumCompletedReliableInteractions().
|
protected |
The federate handle of the recipient.
Referenced by decodeFromMsg(), encodeToMsg(), recipientFedHandle(), and setRecipientFedHandle().
|
protected |
Name of the recipient federate.
Referenced by decodeFromMsg(), encodeToMsg(), recipientFedName(), setRecipientFedName(), and sizeRequiredToDecode().
|
protected |
The processing models of the recipient and initiator respectively.
Referenced by decodeFromMsg(), encodeToMsg(), getProcessingModel(), setRecipientProcessingModel(), and sizeRequiredToDecode().
|
protected |
The calculated Reliable latency.
Referenced by averageReliableRoundTripTime(), decodeFromMsg(), encodeToMsg(), and setAverageReliableRoundTripTime().
|
staticprotected |
Referenced by getSingleTimeByType().