VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
platformEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtPlatformEncoder_H_
8 #define DtPlatformEncoder_H_
9 
10 #if DtHLA
11 
12 #include "physicalEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtPlatformEncoder();
36 
39 
42 
43 public:
44 
47  static DtHlaStateEncoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
54  DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn);
55  DtDECLARE_ENTITY_ATTR_CHECKER(AntiCollisionLightsOn);
56  DtDECLARE_ENTITY_ATTR_CHECKER(BlackOutBrakeLightsOn);
57  DtDECLARE_ENTITY_ATTR_CHECKER(BlackOutLightsOn);
58  DtDECLARE_ENTITY_ATTR_CHECKER(BrakeLightsOn);
59  DtDECLARE_ENTITY_ATTR_CHECKER(FormationLightsOn);
61  DtDECLARE_ENTITY_ATTR_CHECKER(HeadLightsOn);
62  DtDECLARE_ENTITY_ATTR_CHECKER(InteriorLightsOn);
63  DtDECLARE_ENTITY_ATTR_CHECKER(LandingLightsOn);
64  DtDECLARE_ENTITY_ATTR_CHECKER(LauncherRaised);
65  DtDECLARE_ENTITY_ATTR_CHECKER(NavigationLightsOn);
66  DtDECLARE_ENTITY_ATTR_CHECKER(RampDeployed);
67  DtDECLARE_ENTITY_ATTR_CHECKER(RunningLightsOn);
68  DtDECLARE_ENTITY_ATTR_CHECKER(SpotLightsOn);
69  DtDECLARE_ENTITY_ATTR_CHECKER(TailLightsOn);
70 
72  DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn);
73  DtDECLARE_ENTITY_ATTR_ENCODER(AntiCollisionLightsOn);
74  DtDECLARE_ENTITY_ATTR_ENCODER(BlackOutBrakeLightsOn);
75  DtDECLARE_ENTITY_ATTR_ENCODER(BlackOutLightsOn);
76  DtDECLARE_ENTITY_ATTR_ENCODER(BrakeLightsOn);
77  DtDECLARE_ENTITY_ATTR_ENCODER(FormationLightsOn);
79  DtDECLARE_ENTITY_ATTR_ENCODER(HeadLightsOn);
80  DtDECLARE_ENTITY_ATTR_ENCODER(InteriorLightsOn);
81  DtDECLARE_ENTITY_ATTR_ENCODER(LandingLightsOn);
82  DtDECLARE_ENTITY_ATTR_ENCODER(LauncherRaised);
83  DtDECLARE_ENTITY_ATTR_ENCODER(NavigationLightsOn);
84  DtDECLARE_ENTITY_ATTR_ENCODER(RampDeployed);
85  DtDECLARE_ENTITY_ATTR_ENCODER(RunningLightsOn);
86  DtDECLARE_ENTITY_ATTR_ENCODER(SpotLightsOn);
87  DtDECLARE_ENTITY_ATTR_ENCODER(TailLightsOn);
88 };
89 
95 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_ENCODER( \
96  attrName, netType, inspector) \
97  DtDEFINE_SIMPLE_ATTR_ENCODER( \
98  DtPlatformEncoder, \
99  DtEntityStateRepository, \
100  attrName, netType, inspector)
101 
107 #define DtDEFINE_SIMPLE_PLATFORM_ATTR_CHECKER( \
108  attrName, inspector) \
109  DtDEFINE_SIMPLE_ATTR_CHECKER( \
110  DtPlatformEncoder, \
111  DtEntityStateRepository, \
112  attrName, inspector)
113 
114 #define DtDEFINE_PLATFORM_LIGHTS_ATTR_CHECKER(attrName, arg1) \
115  DtDEFINE_LIGHT_ATTR_CHECKER(DtPlatformEncoder, attrName, arg1)
116 
117 #define DtDEFINE_PLATFORM_LIGHTS_ATTR_ENCODER(attrName, arg1) \
118  DtDEFINE_LIGHT_ATTR_ENCODER(DtPlatformEncoder, attrName, arg1)
119 
120 #endif
121 #endif
122 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
DtPhysicalEntityEncoder & operator=(const DtPhysicalEntityEncoder &orig)
assignment operator
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtPlatformEncoder:
Definition: platformEncoder.h:25
DtDECLARE_ENTITY_ATTR_ENCODER(DamageState)
Static encode<Attribute> member functions.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtDECLARE_ENTITY_ATTR_CHECKER(ArticulatedParametersArray)
Static need<Attribute> member functions.
This file provides a declaration of the class DtPhysicalEntityEncoder.
Contains the DtEntityStateRepository class declaration.
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPhysicalEntityEncoder.
class DtPhysicalEntityEncoder:
Definition: physicalEntityEncoder.h:25

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)