VR-Link API Documentation for DIS
 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-2025 MAK Technologies, Inc
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 
25 class DT_DLL_VL DtCulturalFeatureDecoder : public DtPhysicalEntityDecoder
26 {
27 public:
28 
30  DtCulturalFeatureDecoder(
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtCulturalFeatureDecoder();
36 
38  DtCulturalFeatureDecoder(
39  const DtCulturalFeatureDecoder& orig);
40 
42  DtCulturalFeatureDecoder& operator=(
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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)