VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
militaryEntityDecoder.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 DtMilitaryEntityDecoder_H_
8 #define DtMilitaryEntityDecoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityDecoder.h"
13 
15 
19 
25 
27 {
28 public:
29 
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtMilitaryEntityDecoder();
37 
40 
43 
44 public:
45 
48  static DtHlaStateDecoder* create(
49  DtExerciseConn* exConn,
50  DtObjClassDesc* classDesc);
51 
52 protected:
53 
57  void addMyDecoders();
58 
60  DtDECLARE_ENTITY_ATTR_DECODER(AlternateEntityType);
61  DtDECLARE_ENTITY_ATTR_DECODER(CamouflageType);
62  DtDECLARE_ENTITY_ATTR_DECODER(FirePowerDisabled);
64  DtDECLARE_ENTITY_ATTR_DECODER(IsConcealed);
65 };
66 
72 #define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER_WITH_CAST( \
73  attrName, netType, mutator, castExpr) \
74  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
75  DtMilitaryEntityDecoder, DtEntityStateRepository, \
76  attrName, netType, mutator, castExpr)
77 
78 #define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER( \
79  attrName, netType, inspector) \
80  DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER_WITH_CAST( \
81  attrName, netType, inspector, (netType))
82 
83 #endif
84 #endif
85 
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
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.
class DtMilitaryEntityDecoder:
Definition: militaryEntityDecoder.h:26

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)