VR-Link API Documentation for HLA 1.3
 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 
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 
45 
46 protected:
47 
50 
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 );
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

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)