14 #ifndef DtLatencyTest_H_
15 #define DtLatencyTest_H_
19 #include <vlutil/vlString.h>
20 #include <vlutil/vlTime.h>
21 #include <vlutil/vlFedTarget.h>
26 #include "RTI/RTIambassador.h"
27 #include "RTI/LogicalTimeFactory.h"
28 #include "RTI/Enums.h"
29 using namespace rti1516;
30 #elif defined(DtIFSPEC1516E)
31 #include "RTI/RTIambassador.h"
32 #include "RTI/LogicalTimeFactory.h"
33 #include "RTI/Enums.h"
34 using namespace rti1516e;
59 averageInitiatorTickPeriod(0.0f),
60 averageRecipientTickPeriod(0.0f),
62 numbersAreReliable(false),
63 initiatorSendInteraction(0.0f),
64 initiatorNetSend(0.0f),
65 recipientNetRead(0.0f),
66 recipientQueueMsg(0.0f),
67 recipReceiveInteraction(0.0f),
68 recipientSendInteraction(0.0f),
69 recipientNetSend(0.0f),
70 initiatorNetRead(0.0f),
71 initiatorQueueMsg(0.0f),
72 initiatorReceiveInteraction(0.0f),
112 virtual void postJoinInit();
115 virtual void resign();
123 virtual void addSendInteractionTimeStamp(
unsigned int testID ) = 0;
128 virtual void addNetSendTimeStamp(
unsigned int testID,
DtRtiMsg& msg ) = 0;
133 virtual void addNetReceiveTimeStamp(
unsigned int testID,
const DtRtiMsg& msg ) = 0;
138 virtual void addReceiveInteractionTimeStamp(
unsigned int testID, MAKRti::DtTime timeToUse ) = 0;
143 virtual void addAsyncQueueMsgTimeStamp(
unsigned int testID,
const DtRtiMsg& msg ) = 0;
146 virtual void addTransportTypeForTestID(
unsigned int testID, MAKRti::DtTransportType type );
149 virtual MAKRti::DtTransportType transportTypeForTestID(
unsigned int testID )
const;
154 virtual void removeKnowledgeOfTestId(
unsigned int testID );
157 MAKRti::DtTime time()
const;
MAKRti::DtTime recipientQueueMsg
Definition: latencyTest.h:88
virtual Boolean tick(TickTime minimum, TickTime maximum)
DtTestManager * myTestManager
Definition: latencyTest.h:171
MAKRti::DtTime initiatorReceiveInteraction
Definition: latencyTest.h:94
float averageRecipientTickPeriod
Definition: latencyTest.h:80
DtAsynchronousIOModeEnum
0 == no Async IO 1 == Asynchronous IO, (same as old parameter RTI_asynchronousIO ) 2 == Asynchronous ...
Definition: RIDparams.h:111
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
MAKRti::DtTime recipientNetSend
Definition: latencyTest.h:91
MAKRti::DtTime recipientNetRead
Definition: latencyTest.h:87
DtRIDParameters::DtAsynchronousIOModeEnum recipientAsyncMode
Definition: latencyTest.h:77
MAKRti::DtTime initiatorNetRead
Definition: latencyTest.h:92
std::map< unsigned int, MAKRti::DtTransportType > myTransportByTestID
Definition: latencyTest.h:182
MAKRti::DtString recipientName
Definition: latencyTest.h:95
MAKRti::DtTime initiatorSendInteraction
Definition: latencyTest.h:85
std::multimap< DtFederateHandle, unsigned int > DtFedHandleToTestMap
Definition: latencyTest.h:175
MAKRti::DtTime initiatorNetSend
Definition: latencyTest.h:86
Struct contains all report-worth details of a test.
Definition: latencyTest.h:53
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:45
DtTestToTimeStampMap myTestsInProgressTimeStamps
TimeStamp storage (by testID) of all my known tests.
Definition: latencyTest.h:180
std::map< unsigned int, DtTimeStampMap > DtTestToTimeStampMap
Definition: latencyTest.h:174
unsigned int sizeOfPayload
Definition: latencyTest.h:81
bool numbersAreReliable
Definition: latencyTest.h:83
DtLatencyTest runs network latency tests between local RTI components.
Definition: latencyTest.h:47
DtLatencyTestReportStruct()
Definition: latencyTest.h:55
DtRIDParameters::DtAsynchronousIOModeEnum initiatorAsyncMode
Definition: latencyTest.h:78
unsigned int testID
Definition: latencyTest.h:76
MAKRti::DtTime recipientSendInteraction
Definition: latencyTest.h:90
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
std::multimap< DtMetadataType, MAKRti::DtTime > DtTimeStampMap
Definition: latencyTest.h:173
DtTestManager runs network connectivity tests between local RTI components.
Definition: testManager.h:66
float averageInitiatorTickPeriod
Definition: latencyTest.h:79
MAKRti::DtTime recipReceiveInteraction
Definition: latencyTest.h:89
MAKRti::DtTime initiatorQueueMsg
Definition: latencyTest.h:93