![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef DtEventReportEncoder_H_ 00008 #define DtEventReportEncoder_H_ 00009 00010 #if DtHLA 00011 00012 #include "interEncoder.h" 00013 00017 00018 class DT_DLL_VL DtEventReportInteraction; 00019 00020 #define DtDECLARE_EVENTREP_PARAM_ENCODER(paramName) \ 00021 DtDECLARE_PARAM_ENCODER(DtEventReportInteraction, paramName) 00022 00023 #define DtDEFINE_SIMPLE_EVENTREP_PARAM_ENCODER(paramName, netType, inspector) \ 00024 DtDEFINE_SIMPLE_PARAM_ENCODER(DtEventReportEncoder, \ 00025 DtEventReportInteraction, paramName, netType, inspector) 00026 00031 00032 class DT_DLL_VL DtEventReportEncoder : public DtInteractionEncoder 00033 { 00034 public: 00035 00036 DtEventReportEncoder(DtExerciseConn* exConn, 00037 DtInterClassDesc* classDesc); 00038 00040 virtual ~DtEventReportEncoder(); 00041 00043 DtEventReportEncoder(const DtEventReportEncoder& orig); 00044 00046 DtEventReportEncoder& operator=(const DtEventReportEncoder& orig); 00047 00048 protected: 00049 00051 00052 DtDECLARE_EVENTREP_PARAM_ENCODER(OriginatingEntity); 00053 DtDECLARE_EVENTREP_PARAM_ENCODER(ReceivingEntity); 00054 DtDECLARE_EVENTREP_PARAM_ENCODER(EventType); 00055 DtDECLARE_EVENTREP_PARAM_ENCODER(FixedDatums); 00056 DtDECLARE_EVENTREP_PARAM_ENCODER(VariableDatumSet); 00057 }; 00058 00059 #endif 00060 #endif 00061