![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00009 00010 #ifndef DtActionResponseDecoder_H_ 00011 #define DtActionResponseDecoder_H_ 00012 00013 #if DtHLA 00014 00015 00016 #include "interDecoder.h" 00017 00018 class DT_DLL_VL DtActionResponseInteraction; 00019 00022 00023 #define DtDECLARE_ACTRESP_PARAM_DECODER(paramName) \ 00024 DtDECLARE_PARAM_DECODER(DtActionResponseInteraction, paramName) 00025 00026 #define DtDEFINE_SIMPLE_ACTRESP_PARAM_DECODER( \ 00027 paramName, netType, mutator) \ 00028 DtDEFINE_SIMPLE_PARAM_DECODER( \ 00029 DtActionResponseDecoder, DtActionResponseInteraction, \ 00030 paramName, netType, mutator) 00031 00032 #define DtDEFINE_SIMPLE_ACTRESP_PARAM_DECODER_WITH_CAST( \ 00033 paramName, netType, mutator, castExpr) \ 00034 DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \ 00035 DtActionResponseDecoder, DtActionResponseInteraction, \ 00036 paramName, netType, mutator, castExpr) 00037 00038 00042 class DT_DLL_VL DtActionResponseDecoder : public DtInteractionDecoder 00043 { 00044 public: 00045 00047 DtActionResponseDecoder(DtExerciseConn* exConn, 00048 DtInterClassDesc* classDesc); 00049 00051 virtual ~DtActionResponseDecoder(); 00052 00054 DtActionResponseDecoder(const DtActionResponseDecoder& orig); 00055 00057 DtActionResponseDecoder& operator=(const DtActionResponseDecoder& orig); 00058 00059 protected: 00060 00062 00063 DtDECLARE_ACTRESP_PARAM_DECODER(OriginatingEntity); 00064 DtDECLARE_ACTRESP_PARAM_DECODER(ReceivingEntity); 00065 DtDECLARE_ACTRESP_PARAM_DECODER(RequestIdentifier); 00066 DtDECLARE_ACTRESP_PARAM_DECODER(RequestStatus); 00067 DtDECLARE_ACTRESP_PARAM_DECODER(FixedDatums); 00068 DtDECLARE_ACTRESP_PARAM_DECODER(VariableDatumSet); 00070 DtDECLARE_ACTRESP_PARAM_DECODER(RequestID); 00071 }; 00072 00073 #endif 00074 #endif 00075