![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef DtEventReportDecoder_H_ 00008 #define DtEventReportDecoder_H_ 00009 00010 #if DtHLA 00011 00012 #include "interDecoder.h" 00013 00017 00018 class DT_DLL_VL DtEventReportInteraction; 00019 00022 00023 #define DtDECLARE_EVENTREP_PARAM_DECODER(paramName) \ 00024 DtDECLARE_PARAM_DECODER(DtEventReportInteraction, paramName) 00025 00026 #define DtDEFINE_SIMPLE_EVENTREP_PARAM_DECODER( \ 00027 paramName, netType, mutator) \ 00028 DtDEFINE_SIMPLE_PARAM_DECODER( \ 00029 DtEventReportDecoder, DtEventReportInteraction, \ 00030 paramName, netType, mutator) 00031 00032 #define DtDEFINE_SIMPLE_EVENTREP_PARAM_DECODER_WITH_CAST( \ 00033 paramName, netType, mutator, castExpr) \ 00034 DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \ 00035 DtEventReportDecoder, DtEventReportInteraction, \ 00036 paramName, netType, mutator, castExpr) 00037 00042 00043 class DT_DLL_VL DtEventReportDecoder : public DtInteractionDecoder 00044 { 00045 public: 00046 00048 DtEventReportDecoder(DtExerciseConn* exConn, 00049 DtInterClassDesc* classDesc); 00050 00052 virtual ~DtEventReportDecoder(); 00053 00055 DtEventReportDecoder(const DtEventReportDecoder& orig); 00056 00058 DtEventReportDecoder& operator=(const DtEventReportDecoder& orig); 00059 00060 protected: 00061 00063 00064 DtDECLARE_EVENTREP_PARAM_DECODER(OriginatingEntity); 00065 DtDECLARE_EVENTREP_PARAM_DECODER(ReceivingEntity); 00066 DtDECLARE_EVENTREP_PARAM_DECODER(EventType); 00067 DtDECLARE_EVENTREP_PARAM_DECODER(FixedDatums); 00068 DtDECLARE_EVENTREP_PARAM_DECODER(VariableDatumSet); 00069 }; 00070 00071 #endif 00072 #endif 00073