VR-Link API Documentation for DIS
hArealObjTrDec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #ifndef hArealObjTrDec_H_
00008 #define hArealObjTrDec_H_
00009 
00010 #if DtHLA 
00011 
00012 #include "hEnvObjTransDec.h"
00013 
00017 
00018 class DT_DLL_VL DtArealObjectTransaction;
00019 
00022 
00023 #define DtDECLARE_AREAL_OBJ_PARAM_DECODER(paramName) \
00024    DtDECLARE_PARAM_DECODER(DtArealObjectTransaction, paramName)
00025 
00026 #define DtDEFINE_SIMPLE_AREAL_OBJ_PARAM_DECODER(paramName, netType, mutator) \
00027    DtDEFINE_SIMPLE_PARAM_DECODER(DtArealObjectTransactionDecoder, DtArealObjectTransaction, \
00028                                  paramName, netType, mutator)
00029 
00030 #define DtDEFINE_SIMPLE_AREAL_OBJ_PARAM_DECODER_WITH_CAST( \
00031    paramName, netType, mutator, castExpr) \
00032    DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
00033       DtArealObjectTransactionDecoder, DtArealObjectTransaction, \
00034       paramName, netType, mutator, castExpr)
00035 
00036 
00040 class DT_DLL_VL DtArealObjectTransactionDecoder : public DtEnvironmentObjectTransactionDecoder
00041 {
00042 public:
00043 
00045    DtArealObjectTransactionDecoder(DtExerciseConn* exConn,
00046       DtInterClassDesc* classDesc);
00047 
00049    virtual ~DtArealObjectTransactionDecoder();
00050 
00052    DtArealObjectTransactionDecoder(const DtArealObjectTransactionDecoder& orig);
00053 
00055    DtArealObjectTransactionDecoder& operator=(const DtArealObjectTransactionDecoder& orig);
00056 
00057 protected:
00058 
00060 
00061    DtDECLARE_AREAL_OBJ_PARAM_DECODER(PointsData);
00062    DtDECLARE_AREAL_OBJ_PARAM_DECODER(PercentComplete);
00063    DtDECLARE_AREAL_OBJ_PARAM_DECODER(DamagedAppearance);
00064    DtDECLARE_AREAL_OBJ_PARAM_DECODER(ObjectPreDistributed);
00065    DtDECLARE_AREAL_OBJ_PARAM_DECODER(Deactivated);
00066    DtDECLARE_AREAL_OBJ_PARAM_DECODER(Smoking);
00067    DtDECLARE_AREAL_OBJ_PARAM_DECODER(Flaming);
00068 };
00069 
00070 #endif
00071 #endif
00072 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)