![]() |
MAK RTIspy API Documentation for HLA 1.3
|
DtRecipientLatencyTest runs network connectivity tests between local RTI components. More...
Inheritance diagram for DtRecipientLatencyTest:
Collaboration diagram for DtRecipientLatencyTest:Public Member Functions | |
| DtRecipientLatencyTest (DtTestManager *parent) | |
| Constructor. | |
| DtRecipientLatencyTest () | |
| Constructor. | |
| virtual | ~DtRecipientLatencyTest () |
| Destructor. | |
| virtual bool | tick () |
| Process test activities. | |
| virtual void | addSendInteractionTimeStamp (unsigned int testID) |
| Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a send Interaction time stamp. | |
| virtual void | addNetSendTimeStamp (unsigned int testID, DtRtiMsg &msg) |
| Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net send time stamp. | |
| virtual void | addNetReceiveTimeStamp (unsigned int testID, const DtRtiMsg &msg) |
| Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net receive time stamp. | |
| virtual void | addReceiveInteractionTimeStamp (unsigned int testID, MAKRti::DtTime timeToUse) |
| Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a receive interaction time stamp. | |
| virtual void | addAsyncQueueMsgTimeStamp (unsigned int testID, const DtRtiMsg &msg) |
| Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a async Queue Msg time stamp. | |
Private Member Functions | |
| DtRecipientLatencyTest (DtRecipientLatencyTest const &orig) | |
| Copy Constructor - not allowed. | |
| DtRecipientLatencyTest & | operator= (DtRecipientLatencyTest const &orig) |
| Assignment operator - not allowed. | |
DtRecipientLatencyTest runs network connectivity tests between local RTI components.
Constructor.
Constructor.
| DtRecipientLatencyTest::~DtRecipientLatencyTest | ( | ) | [virtual] |
Destructor.
| DtRecipientLatencyTest::DtRecipientLatencyTest | ( | DtRecipientLatencyTest const & | orig | ) | [private] |
Copy Constructor - not allowed.
| void DtRecipientLatencyTest::addAsyncQueueMsgTimeStamp | ( | unsigned int | testID, |
| const DtRtiMsg & | msg | ||
| ) | [virtual] |
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a async Queue Msg time stamp.
Implements DtLatencyTest.
References DtMetadataTypeTimeStampRecipientAsynchronousQueue, DtMetadataTypeTimeStampRecipientNetRead, DtRtiMtdTimeStamp::get(), DtLatencyTest::myTestsInProgressTimeStamps, and DtLatencyTest::time().
Referenced by DtTestManager::addAsyncQueueMsgTimeStamp().
| void DtRecipientLatencyTest::addNetReceiveTimeStamp | ( | unsigned int | testID, |
| const DtRtiMsg & | msg | ||
| ) | [virtual] |
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net receive time stamp.
Implements DtLatencyTest.
References DtLatencyTest::addTransportTypeForTestID(), DtMetadataTypeTimeStampRecipientNetRead, DtRtiMtdTimeStamp::get(), DtLatencyTest::myTestsInProgressTimeStamps, DtLatencyTest::time(), and DtRtiMsg::transportType().
Referenced by DtTestManager::addNetReceiveTimeStamp().
| void DtRecipientLatencyTest::addNetSendTimeStamp | ( | unsigned int | testID, |
| DtRtiMsg & | msg | ||
| ) | [virtual] |
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net send time stamp.
Implements DtLatencyTest.
References DtRtiMtdFederateHostInformation::DtFederateHostInformation::asyncMode, DtTestManager::averageTickPeriod(), DtRtiMtdFederateHostInformation::DtFederateHostInformation::averageTickTime, DtMetadataTypeTimeStampRecipientNetSend, DtRtiMtdFederateHostInformation::DtFederateHostInformation::federateName, DtTestManager::fedMgr(), DtFederateMgr::fedType(), DtLatencyTest::myTestManager, DtLatencyTest::myTestsInProgressTimeStamps, DtTestManager::params(), DtRIDParameters::processingModel(), DtRtiMtdTimeStamp::set(), DtRtiMtdFederateHostInformation::set(), and DtLatencyTest::time().
Referenced by DtTestManager::addNetSendTimeStamp().
| void DtRecipientLatencyTest::addReceiveInteractionTimeStamp | ( | unsigned int | testID, |
| MAKRti::DtTime | timeToUse | ||
| ) | [virtual] |
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a receive interaction time stamp.
Implements DtLatencyTest.
References DtMetadataTypeTimeStampRecipientReceiveInteraction, and DtLatencyTest::myTestsInProgressTimeStamps.
Referenced by DtTestManager::addReceiveInteractionTimeStamp().
| void DtRecipientLatencyTest::addSendInteractionTimeStamp | ( | unsigned int | testID | ) | [virtual] |
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a send Interaction time stamp.
Implements DtLatencyTest.
References DtMetadataTypeTimeStampRecipientSendInteraction, DtLatencyTest::myTestsInProgressTimeStamps, and DtLatencyTest::time().
Referenced by DtTestManager::addSendInteractionTimeStamp().
| DtRecipientLatencyTest& DtRecipientLatencyTest::operator= | ( | DtRecipientLatencyTest const & | orig | ) | [private] |
Assignment operator - not allowed.
| bool DtRecipientLatencyTest::tick | ( | ) | [virtual] |
Process test activities.
Reimplemented from DtLatencyTest.