VR-Link API Documentation for DIS
 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-2026 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 
26 class DT_DLL_VL DtSurfaceVesselDecoder : public DtPlatformDecoder
27 {
28 public:
29 
31  DtSurfaceVesselDecoder(
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtSurfaceVesselDecoder();
37 
39  DtSurfaceVesselDecoder(
40  const DtSurfaceVesselDecoder& orig);
41 
43  DtSurfaceVesselDecoder& operator=(
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 
64  DtDECLARE_ENTITY_ATTR_DECODER(AisMmsi);
65  DtDECLARE_ENTITY_ATTR_DECODER(AisImo);
66  DtDECLARE_ENTITY_ATTR_DECODER(AisEta);
67  DtDECLARE_ENTITY_ATTR_DECODER(AisDestination);
68  DtDECLARE_ENTITY_ATTR_DECODER(AisStatus);
69  DtDECLARE_ENTITY_ATTR_DECODER(AisShipClass);
70  DtDECLARE_ENTITY_ATTR_DECODER(WarningLightsOn);
71  DtDECLARE_ENTITY_ATTR_DECODER(DistressBeaconOn);
72  DtDECLARE_ENTITY_ATTR_DECODER(FlightDeckLightsOn);
73  DtDECLARE_ENTITY_ATTR_DECODER(UpperDeckFloodLightsOn);
74  DtDECLARE_ENTITY_ATTR_DECODER(HorizonBarLightsOn);
75  DtDECLARE_ENTITY_ATTR_DECODER(GlidePathIndicatorBeamOn);
76 
78 };
79 
85 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER_WITH_CAST( \
86  attrName, netType, mutator, castExpr) \
87  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
88  DtSurfaceVesselDecoder, DtEntityStateRepository, \
89  attrName, netType, mutator, castExpr)
90 
91 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER( \
92  attrName, netType, inspector) \
93  DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_DECODER_WITH_CAST( \
94  attrName, netType, inspector, (netType))
95 
96 
97 #endif
98 #endif
99 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:63
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)