VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
platformDecoder.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 DtPlatformDecoder_H_
8 #define DtPlatformDecoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityDecoder.h"
13 
17 
19 
25 
27 {
28 public:
29 
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtPlatformDecoder();
37 
40  const DtPlatformDecoder& orig);
41 
44  const DtPlatformDecoder& orig);
45 
46 public:
47 
50  static DtHlaStateDecoder* create(
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
59  void addMyDecoders();
60 
62  DtDECLARE_ENTITY_ATTR_DECODER(AfterburnerOn);
63  DtDECLARE_ENTITY_ATTR_DECODER(AntiCollisionLightsOn);
64  DtDECLARE_ENTITY_ATTR_DECODER(BlackOutBrakeLightsOn);
65  DtDECLARE_ENTITY_ATTR_DECODER(BlackOutLightsOn);
66  DtDECLARE_ENTITY_ATTR_DECODER(BrakeLightsOn);
67  DtDECLARE_ENTITY_ATTR_DECODER(FormationLightsOn);
69  DtDECLARE_ENTITY_ATTR_DECODER(HeadLightsOn);
70  DtDECLARE_ENTITY_ATTR_DECODER(InteriorLightsOn);
71  DtDECLARE_ENTITY_ATTR_DECODER(LandingLightsOn);
72  DtDECLARE_ENTITY_ATTR_DECODER(LauncherRaised);
73  DtDECLARE_ENTITY_ATTR_DECODER(NavigationLightsOn);
74  DtDECLARE_ENTITY_ATTR_DECODER(RampDeployed);
75  DtDECLARE_ENTITY_ATTR_DECODER(RunningLightsOn);
76  DtDECLARE_ENTITY_ATTR_DECODER(SpotLightsOn);
77  DtDECLARE_ENTITY_ATTR_DECODER(TailLightsOn);
78 };
79 
85 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST( \
86  attrName, netType, mutator, castExpr) \
87  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
88  DtPlatformDecoder, DtEntityStateRepository, \
89  attrName, netType, mutator, castExpr)
90 
91 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER( \
92  attrName, netType, inspector) \
93  DtDEFINE_SIMPLE_PLATFORM_ATTR_DECODER_WITH_CAST( \
94  attrName, netType, inspector, (netType))
95 
96 #define DtDEFINE_PLATFORM_LIGHT_ATTR_DECODER(attrName, arg1) \
97  DtDEFINE_LIGHT_ATTR_DECODER(DtPlatformDecoder, attrName, arg1)
98 
99 #endif
100 #endif
101 

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)