VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
culturalFeatureEncoder.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 DtCulturalFeatureEncoder_H_
8 #define DtCulturalFeatureEncoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
19 
25 {
26 public:
27 
30  DtExerciseConn* exConn,
31  DtObjClassDesc* classDesc);
32 
34  virtual ~DtCulturalFeatureEncoder();
35 
38 
41 
42 public:
43 
46  static DtHlaStateEncoder* create(
47  DtExerciseConn* exConn,
48  DtObjClassDesc* classDesc);
49 
50 protected:
51 
53  DtDECLARE_ENTITY_ATTR_CHECKER(ExternalLightsOn);
54  DtDECLARE_ENTITY_ATTR_CHECKER(InternalHeatSourceOn);
55  DtDECLARE_ENTITY_ATTR_CHECKER(InternalLightsOn);
56 
58  DtDECLARE_ENTITY_ATTR_ENCODER(ExternalLightsOn);
59  DtDECLARE_ENTITY_ATTR_ENCODER(InternalHeatSourceOn);
60  DtDECLARE_ENTITY_ATTR_ENCODER(InternalLightsOn);
61 };
62 
68 #define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_ENCODER( \
69  attrName, netType, inspector) \
70  DtDEFINE_SIMPLE_ATTR_ENCODER( \
71  DtCulturalFeatureEncoder, \
72  DtEntityStateRepository, \
73  attrName, netType, inspector)
74 
80 #define DtDEFINE_SIMPLE_CULT_FEAT_ATTR_CHECKER( \
81  attrName, inspector) \
82  DtDEFINE_SIMPLE_ATTR_CHECKER( \
83  DtCulturalFeatureEncoder, \
84  DtEntityStateRepository, \
85  attrName, inspector)
86 
87 #define DtDEFINE_CULT_FEAT_LIGHT_ATTR_CHECKER(attrName, arg1) \
88  DtDEFINE_LIGHT_ATTR_CHECKER(DtCulturalFeatureEncoder, attrName, arg1)
89 
90 #define DtDEFINE_CULT_FEAT_LIGHT_ATTR_ENCODER(attrName, arg1) \
91  DtDEFINE_LIGHT_ATTR_ENCODER(DtCulturalFeatureEncoder, attrName, arg1)
92 
93 #endif
94 #endif
95 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
DtPhysicalEntityEncoder & operator=(const DtPhysicalEntityEncoder &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtDECLARE_ENTITY_ATTR_ENCODER(DamageState)
Static encode<Attribute> member functions.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
Instances of DtCulturalFeatureEncoder are used to encode a military entity's state repository into a ...
Definition: culturalFeatureEncoder.h:24
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtDECLARE_ENTITY_ATTR_CHECKER(ArticulatedParametersArray)
Static need<Attribute> member functions.
This file provides a declaration of the class DtPhysicalEntityEncoder.
Contains the DtEntityStateRepository class declaration.
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPhysicalEntityEncoder.
class DtPhysicalEntityEncoder:
Definition: physicalEntityEncoder.h:25

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)