![]() |
MAK RTIspy API Documentation for HLA 1516
|
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. | |
Public Member Functions inherited from DtLatencyTest | |
| DtLatencyTest (DtTestManager *parent) | |
| Constructor. | |
| DtLatencyTest () | |
| Default constructor. Not implemented. | |
| virtual | ~DtLatencyTest () |
| Destructor. | |
| virtual void | postJoinInit () |
| Perform initializations that will allow tests to be run (e.g., publish and subscribe to test interaction) | |
| virtual void | resign () |
| Perform clean up from test instrumentation. | |
| virtual void | addTransportTypeForTestID (unsigned int testID, MAKRti::DtTransportType type) |
| Add a mapping for this testID to this transport type. | |
| virtual MAKRti::DtTransportType | transportTypeForTestID (unsigned int testID) const |
| look up the transport type for this testID. | |
| virtual void | removeKnowledgeOfTestId (unsigned int testID) |
| Remove knowledge of this testID. | |
| MAKRti::DtTime | time () const |
Private Member Functions | |
| DtRecipientLatencyTest (DtRecipientLatencyTest const &orig) | |
| Copy Constructor - not allowed. | |
| DtRecipientLatencyTest & | operator= (DtRecipientLatencyTest const &orig) |
| Assignment operator - not allowed. | |
Additional Inherited Members | |
Protected Types inherited from DtLatencyTest | |
| typedef std::multimap < DtMetadataType, MAKRti::DtTime > | DtTimeStampMap |
| typedef std::map< unsigned int, DtTimeStampMap > | DtTestToTimeStampMap |
| typedef std::multimap < DtFederateHandle, unsigned int > | DtFedHandleToTestMap |
Protected Attributes inherited from DtLatencyTest | |
| DtTestManager * | myTestManager |
| DtTestToTimeStampMap | myTestsInProgressTimeStamps |
| TimeStamp storage (by testID) of all my known tests. | |
| std::map< unsigned int, MAKRti::DtTransportType > | myTransportByTestID |
DtRecipientLatencyTest runs network connectivity tests between local RTI components.
| DtRecipientLatencyTest::DtRecipientLatencyTest | ( | DtTestManager * | parent | ) |
Constructor.
| DtRecipientLatencyTest::DtRecipientLatencyTest | ( | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Constructor - not allowed.
|
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().
|
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().
|
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().
|
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().
|
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().
|
private |
Assignment operator - not allowed.
|
virtual |
Process test activities.
Reimplemented from DtLatencyTest.