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