VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
culturalFeatureDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtCulturalFeatureDecoder_H_
8 #define DtCulturalFeatureDecoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityDecoder.h"
13 
17 
19 
20 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtCulturalFeatureDecoder();
36 
39  const DtCulturalFeatureDecoder& orig);
40 
43  const DtCulturalFeatureDecoder& orig);
44 
45 public:
46 
49  static DtHlaStateDecoder* create(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
53 protected:
54 
58  void addMyDecoders();
59 
61  DtDECLARE_ENTITY_ATTR_DECODER(ExternalLightsOn);
62  DtDECLARE_ENTITY_ATTR_DECODER(InternalHeatSourceOn);
63  DtDECLARE_ENTITY_ATTR_DECODER(InternalLightsOn);
64 };
65 
71 #define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_DECODER_WITH_CAST( \
72  attrName, netType, mutator, castExpr) \
73  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
74  DtCulturalFeatureDecoder, DtEntityStateRepository, \
75  attrName, netType, mutator, castExpr)
76 
77 #define DtDEFINE_CULT_FEAT_LIGHT_ATTR_DECODER(attrName, arg1) \
78  DtDEFINE_LIGHT_ATTR_DECODER(DtCulturalFeatureDecoder, attrName, arg1)
79 
80 #endif
81 #endif
82 

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)