16 #include <vl/hStateEncoder.h>
26 #define DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(attrName) \
27 DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
30 #define DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(attrName) \
31 DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
39 PlatformObjEncoder(
DtExerciseConn* exConn, DtObjClassDesc* classDesc);
42 virtual ~PlatformObjEncoder();
54 DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(Timestamp);
55 DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(Timestamp);
56 DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(StateVector);
57 DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(StateVector);
58 DtDECLARE_PlatformObjEncoder_ATTR_ENCODER(DRAlgorithm);
59 DtDECLARE_PlatformObjEncoder_ATTR_CHECKER(DRAlgorithm);
63 static time_t systemTime();
71 #define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_ENCODER( \
72 attrName, netType, inspector) \
73 DtDEFINE_SIMPLE_ATTR_ENCODER(PlatformObjEncoder, \
74 DtEntityStateRepository, \
75 attrName, netType, inspector)
82 #define DEFINE_SIMPLE_PlatformObjEncoder_ATTR_CHECKER( \
83 attrName, inspector) \
84 DtDEFINE_SIMPLE_ATTR_CHECKER(PlatformObjEncoder, \
85 DtEntityStateRepository, \