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