VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
surfaceVesselDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtSurfaceVesselDecoder_H_
8 #define DtSurfaceVesselDecoder_H_
9 
10 #if DtHLA
11 
12 #include "platformDecoder.h"
13 
17 
19 
25 
27 {
28 public:
29 
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtSurfaceVesselDecoder();
37 
40  const DtSurfaceVesselDecoder& orig);
41 
44  const DtSurfaceVesselDecoder& orig);
45 
46 public:
47 
50  static DtHlaStateDecoder* create(
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
59  void addMyDecoders();
60 
67  DtDECLARE_ENTITY_ATTR_DECODER(AisDestination);
69  DtDECLARE_ENTITY_ATTR_DECODER(WarningLightsOn);
70  DtDECLARE_ENTITY_ATTR_DECODER(DistressBeaconOn);
71  DtDECLARE_ENTITY_ATTR_DECODER(FlightDeckLightsOn);
72  DtDECLARE_ENTITY_ATTR_DECODER(UpperDeckFloodLightsOn);
73  DtDECLARE_ENTITY_ATTR_DECODER(HorizonBarLightsOn);
74  DtDECLARE_ENTITY_ATTR_DECODER(GlidePathIndicatorBeamOn);
75 
77 };
78 
84 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER_WITH_CAST( \
85  attrName, netType, mutator, castExpr) \
86  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
87  DtSurfaceVesselDecoder, DtEntityStateRepository, \
88  attrName, netType, mutator, castExpr)
89 
90 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER( \
91  attrName, netType, inspector) \
92  DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER_WITH_CAST( \
93  attrName, netType, inspector, (netType))
94 
95 
96 #endif
97 #endif
98 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
void addMyDecoders()
Add decoding functions for the attributes.
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPlatformDecoder.
class DtSurfaceVesselDecoder:
Definition: surfaceVesselDecoder.h:26
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtPlatformDecoder & operator=(const DtPlatformDecoder &orig)
assignment operator
class DtPlatformDecoder:
Definition: platformDecoder.h:26
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:41
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
This file provides a declaration of the class DtPlatformDecoder.
DtDECLARE_ENTITY_ATTR_DECODER(AfterburnerOn)
Static decode<AttributeName> member functions.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)