VR-Link API Documentation for DIS
 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 
26 class DT_DLL_VL DtPlatformDecoder : public DtPhysicalEntityDecoder
27 {
28 public:
29 
31  DtPlatformDecoder(
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtPlatformDecoder();
37 
39  DtPlatformDecoder(
40  const DtPlatformDecoder& orig);
41 
43  DtPlatformDecoder& operator=(
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);
68  DtDECLARE_ENTITY_ATTR_DECODER(HatchState);
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 
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
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:37

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)