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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides a declaration of the class DtPhysicalEntityDecoder.
DtDECLARE_ENTITY_ATTR_DECODER(DamageState)
Static decode<AttributeName> member functions.
void addMyDecoders()
Add decoding functions for the attributes.
class DtPhysicalEntityDecoder:
Definition: physicalEntityDecoder.h:32
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
Instances of DtCulturalFeatureDecoder are used to decode a military platform entity state message int...
Definition: culturalFeatureDecoder.h:25
DtPhysicalEntityDecoder & operator=(const DtPhysicalEntityDecoder &orig)
assignment operator
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:37
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPhysicalEntityDecoder.

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)