VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
militaryEntityEncoder.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 DtMilitaryEntityEncoder_H_
8 #define DtMilitaryEntityEncoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
25 class DT_DLL_VL DtMilitaryEntityEncoder : public DtPhysicalEntityEncoder
26 {
27 public:
28 
30  DtMilitaryEntityEncoder(
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtMilitaryEntityEncoder();
36 
38  DtMilitaryEntityEncoder(const DtMilitaryEntityEncoder& orig);
39 
41  DtMilitaryEntityEncoder& operator=(const DtMilitaryEntityEncoder& orig);
42 
43 public:
44 
47  static DtHlaStateEncoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
54  DtDECLARE_ENTITY_ATTR_CHECKER(AlternateEntityType);
55  DtDECLARE_ENTITY_ATTR_CHECKER(CamouflageType);
56  DtDECLARE_ENTITY_ATTR_CHECKER(FirePowerDisabled);
57  DtDECLARE_ENTITY_ATTR_CHECKER(ForceID);
58  DtDECLARE_ENTITY_ATTR_CHECKER(IsConcealed);
59 
61  DtDECLARE_ENTITY_ATTR_ENCODER(AlternateEntityType);
62  DtDECLARE_ENTITY_ATTR_ENCODER(CamouflageType);
63  DtDECLARE_ENTITY_ATTR_ENCODER(FirePowerDisabled);
64  DtDECLARE_ENTITY_ATTR_ENCODER(ForceID);
65  DtDECLARE_ENTITY_ATTR_ENCODER(IsConcealed);
66 };
67 
73 #define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_ENCODER( \
74  attrName, netType, inspector) \
75  DtDEFINE_SIMPLE_ATTR_ENCODER(DtMilitaryEntityEncoder, \
76  DtEntityStateRepository, \
77  attrName, netType, inspector)
78 
84 #define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_CHECKER( \
85  attrName, inspector) \
86  DtDEFINE_SIMPLE_ATTR_CHECKER(DtMilitaryEntityEncoder, \
87  DtEntityStateRepository, \
88  attrName, inspector)
89 
90 #endif
91 #endif
92 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtEntityStateRepository class declaration.

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)