17 #include <vl/aggregatePublisher.h>
19 #define DtALMOST(x, y, e) (((x)<=((y)+(e))) && ((x)>=((y)-(e))))
21 namespace makVrfVrlinkExtToolkit
28 template <
typename StateRepType,
typename PublisherType,
typename ReflectedObjType>
35 static DtTime prevExConnInitTime = -1.0;
36 DtTime exConnInitTime = exConn->clock()->absRealTime() - exConn->clock()->elapsedRealTime();
37 if (
DtALMOST(prevExConnInitTime, exConnInitTime, 0.0001))
44 PublisherType::setStateRepCreator((
typename PublisherType::DtStateRepCreator)
45 StateRepType::create);
46 ReflectedObjType::setStateRepCreator((
typename ReflectedObjType::DtStateRepCreator)
47 StateRepType::create);
50 if (!dynamic_cast<DtVrfVariableRecordFactory*>(exConn->pduFactory()->standardVariableRecordFactory()))
58 prevExConnInitTime = exConnInitTime;
Contains the DtExtendedAttributeVariableRecord class declaration.
#define DtALMOST(x, y, e)
Definition: registerExtendedAttributeClassesDIS.h:19
Contains the DtVrfVariableRecordFactory class declaration.