VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
militaryPlatformEntityEncoder.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 DtMilitaryPlatformEntityEncoder_H_
8 #define DtMilitaryPlatformEntityEncoder_H_
9 
10 #if DtHLA
11 
12 #include "militaryEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
25 class DT_DLL_VL DtMilitaryPlatformEntityEncoder : public DtMilitaryEntityEncoder
26 {
27 public:
28 
30  DtMilitaryPlatformEntityEncoder(
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtMilitaryPlatformEntityEncoder();
36 
38  DtMilitaryPlatformEntityEncoder(
39  const DtMilitaryPlatformEntityEncoder& orig);
40 
42  DtMilitaryPlatformEntityEncoder& operator=(
43  const DtMilitaryPlatformEntityEncoder& orig);
44 
45 public:
46 
49  static DtHlaStateEncoder* create(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
53 protected:
54 
56  DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn);
57  DtDECLARE_ENTITY_ATTR_CHECKER(HasAmmunitionSupplyCap);
58  DtDECLARE_ENTITY_ATTR_CHECKER(LauncherRaised);
59 
61  DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn);
62  DtDECLARE_ENTITY_ATTR_ENCODER(HasAmmunitionSupplyCap);
63  DtDECLARE_ENTITY_ATTR_ENCODER(LauncherRaised);
64 };
65 
71 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_ENCODER( \
72  attrName, netType, inspector) \
73  DtDEFINE_SIMPLE_ATTR_ENCODER(DtMilitaryPlatformEntityEncoder, \
74  DtEntityStateRepository, \
75  attrName, netType, inspector)
76 
82 #define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_CHECKER( \
83  attrName, inspector) \
84  DtDEFINE_SIMPLE_ATTR_CHECKER(DtMilitaryPlatformEntityEncoder, \
85  DtEntityStateRepository, \
86  attrName, inspector)
87 
88 #endif
89 #endif
90 

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)