VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arealObjectDecoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtHLA
11 
12 #pragma once
13 
15 
17 
20 #define DtDECLARE_AREAL_OBJ_ATTR_DECODER( attrName ) \
21  DtDECLARE_ATTR_DECODER( DtArealObjectRepository, attrName )
22 
26 class DT_DLL_VL DtArealObjectDecoder : public DtEnvironmentObjectDecoder
27 {
28 public:
29 
31  static DtHlaStateDecoder* create( DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc );
33 
35  DtArealObjectDecoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
36 
39 
41  virtual ~DtArealObjectDecoder();
42 
44  DtArealObjectDecoder& operator = ( const DtArealObjectDecoder& orig );
45 
46 protected:
47 
50 
51  DtDECLARE_AREAL_OBJ_ATTR_DECODER( PointsData );
52  DtDECLARE_AREAL_OBJ_ATTR_DECODER( PercentComplete );
53  DtDECLARE_AREAL_OBJ_ATTR_DECODER( DamagedAppearance );
54  DtDECLARE_AREAL_OBJ_ATTR_DECODER( ObjectPreDistributed );
55  DtDECLARE_AREAL_OBJ_ATTR_DECODER( Deactivated );
56  DtDECLARE_AREAL_OBJ_ATTR_DECODER( Smoking );
57  DtDECLARE_AREAL_OBJ_ATTR_DECODER( Flaming );
58 
60 
61 };
62 
63 
69 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
70  attrName, netType, mutator, castExpr ) \
71  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
72  DtArealObjectDecoder, DtArealObjectRepository, \
73  attrName, netType, mutator, castExpr )
74 
75 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER( \
76  attrName, netType, inspector ) \
77  DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
78  attrName, netType, inspector, (netType) )
79 
80 #endif //DtHLA
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Provides decoding logic for the DtArealObjectStatePdu class.
Definition: arealObjectDecoderDIS.h:20
Instances of DtArealObjectRepository are used to maintain state information needed by areal object en...
Definition: arealObjectRepository.h:30

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)