VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tankerAircraftDecoder.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 DtTankerAircraftDecoder_H_
8 #define DtTankerAircraftDecoder_H_
9 
10 #if DtHLA
11 
12 #include "aircraftDecoder.h"
13 
17 
19 
25 
27 {
28 public:
29 
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtTankerAircraftDecoder();
37 
40  const DtTankerAircraftDecoder& orig);
41 
44  const DtTankerAircraftDecoder& 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(RefuelingStation1LightsOn);
65  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation1LightsColor);
66  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation1LightsFlashing);
67  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation1DayNight);
68  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation2LightsOn);
69  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation2LightsColor);
70  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation2LightsFlashing);
71  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation2DayNight);
72  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation3LightsOn);
73  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation3LightsColor);
74  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation3LightsFlashing);
75  DtDECLARE_ENTITY_ATTR_DECODER(RefuelingStation3DayNight);
76 
78 };
79 
85 #define DtDEFINE_SIMPLE_TANKER_AIRCRAFT_ATTR_DECODER_WITH_CAST( \
86  attrName, netType, mutator, castExpr) \
87  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
88  DtTankerAircraftDecoder, DtEntityStateRepository, \
89  attrName, netType, mutator, castExpr)
90 
91 #define DtDEFINE_SIMPLE_TANKER_AIRCRAFT_ATTR_DECODER( \
92  attrName, netType, inspector) \
93  DtDEFINE_SIMPLE_TANKER_AIRCRAFT_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: exerciseConnHLA.h:61
DtAircraftDecoder & operator=(const DtAircraftDecoder &orig)
assignment operator
void addMyDecoders()
Add decoding functions for the attributes.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
This file provides a declaration of the class DtAircraftDecoder.
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
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtAircraftDecoder.
DtDECLARE_ENTITY_ATTR_DECODER(AntiCollisionLightsDayNight)
Static decode<AttributeName> member functions.
class DtAircraftDecoder:
Definition: aircraftDecoder.h:26
class DtTankerAircraftDecoder:
Definition: tankerAircraftDecoder.h:26

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)