![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #ifndef DtCreateEntityEncoder_H_ 00008 #define DtCreateEntityEncoder_H_ 00009 00010 #if DtHLA 00011 00012 #include "interEncoder.h" 00013 00017 00018 class DT_DLL_VL DtCreateEntityInteraction; 00019 00020 #define DtDECLARE_CREATENT_PARAM_ENCODER(paramName) \ 00021 DtDECLARE_PARAM_ENCODER(DtCreateEntityInteraction, paramName) 00022 00023 #define DtDEFINE_SIMPLE_CREATENT_PARAM_ENCODER(paramName, netType, inspector) \ 00024 DtDEFINE_SIMPLE_PARAM_ENCODER(DtCreateEntityEncoder, \ 00025 DtCreateEntityInteraction, paramName, netType, inspector) 00026 00027 00031 class DT_DLL_VL DtCreateEntityEncoder : public DtInteractionEncoder 00032 { 00033 public: 00034 00035 DtCreateEntityEncoder(DtExerciseConn* exConn, 00036 DtInterClassDesc* classDesc); 00037 00039 virtual ~DtCreateEntityEncoder(); 00040 00042 DtCreateEntityEncoder(const DtCreateEntityEncoder& orig); 00043 00045 DtCreateEntityEncoder& operator=(const DtCreateEntityEncoder& orig); 00046 00047 protected: 00048 00050 00051 DtDECLARE_CREATENT_PARAM_ENCODER(OriginatingEntity); 00052 DtDECLARE_CREATENT_PARAM_ENCODER(ReceivingEntity); 00054 DtDECLARE_CREATENT_PARAM_ENCODER(RequestID); 00056 DtDECLARE_CREATENT_PARAM_ENCODER(RequestIdentifier); 00057 }; 00058 00059 #endif 00060 #endif 00061 00062 00063