VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
surfaceVesselEncoder.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 DtSurfaceVesselEncoder_H_
8 #define DtSurfaceVesselEncoder_H_
9 
10 #if DtHLA
11 
12 #include "platformEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtSurfaceVesselEncoder();
36 
39 
42 
43 public:
44 
47  static DtHlaStateEncoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
59  DtDECLARE_ENTITY_ATTR_CHECKER(AisDestination);
61  DtDECLARE_ENTITY_ATTR_CHECKER(WarningLightsOn);
62  DtDECLARE_ENTITY_ATTR_CHECKER(DistressBeaconOn);
63  DtDECLARE_ENTITY_ATTR_CHECKER(FlightDeckLightsOn);
64  DtDECLARE_ENTITY_ATTR_CHECKER(UpperDeckFloodLightsOn);
65  DtDECLARE_ENTITY_ATTR_CHECKER(HorizonBarLightsOn);
66  DtDECLARE_ENTITY_ATTR_CHECKER(GlidePathIndicatorBeamOn);
67 
68 
70 
77  DtDECLARE_ENTITY_ATTR_ENCODER(AisDestination);
79  DtDECLARE_ENTITY_ATTR_ENCODER(WarningLightsOn);
80  DtDECLARE_ENTITY_ATTR_ENCODER(DistressBeaconOn);
81  DtDECLARE_ENTITY_ATTR_ENCODER(FlightDeckLightsOn);
82  DtDECLARE_ENTITY_ATTR_ENCODER(UpperDeckFloodLightsOn);
83  DtDECLARE_ENTITY_ATTR_ENCODER(HorizonBarLightsOn);
84  DtDECLARE_ENTITY_ATTR_ENCODER(GlidePathIndicatorBeamOn);
85 
87 };
88 
94 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_ENCODER( \
95  attrName, netType, inspector) \
96  DtDEFINE_SIMPLE_ATTR_ENCODER( \
97  DtSurfaceVesselEncoder, \
98  DtEntityStateRepository, \
99  attrName, netType, inspector)
100 
106 #define DtDEFINE_SIMPLE_SURFACE_VESSEL_ATTR_CHECKER( \
107  attrName, inspector) \
108  DtDEFINE_SIMPLE_ATTR_CHECKER( \
109  DtSurfaceVesselEncoder, \
110  DtEntityStateRepository, \
111  attrName, inspector)
112 
113 
114 #endif
115 #endif
116 
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
class DtSurfaceVesselEncoder:
Definition: surfaceVesselEncoder.h:25
class DtPlatformEncoder:
Definition: platformEncoder.h:25
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
DtPlatformEncoder & operator=(const DtPlatformEncoder &orig)
assignment operator
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPlatformEncoder.
DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn)
Static need<Attribute> member functions.
Contains the DtEntityStateRepository class declaration.
DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn)
Static encode<Attribute> member functions.
This file provides a declaration of the class DtPlatformEncoder.

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)