VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aircraftDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtAircraftDecoder_H_
8 #define DtAircraftDecoder_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 ~DtAircraftDecoder();
37 
40  const DtAircraftDecoder& orig);
41 
44  const DtAircraftDecoder& orig);
45 
46 public:
47 
50  static DtHlaStateDecoder* create(
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
59  void addMyDecoders();
60 
62  DtDECLARE_ENTITY_ATTR_DECODER(AntiCollisionLightsDayNight);
63  DtDECLARE_ENTITY_ATTR_DECODER(AntiCollisionLightsFlashing);
64  DtDECLARE_ENTITY_ATTR_DECODER(FormationLightsLuminance);
65  DtDECLARE_ENTITY_ATTR_DECODER(NavigationLightsFlashing);
67  DtDECLARE_ENTITY_ATTR_DECODER(TaxiwayLightsOn);
68  DtDECLARE_ENTITY_ATTR_DECODER(HDULightsOn);
69 };
70 
76 #define DtDEFINE_SIMPLE_AIRCRAFT_ATTR_DECODER_WITH_CAST( \
77  attrName, netType, mutator, castExpr) \
78  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
79  DtAircraftDecoder, DtEntityStateRepository, \
80  attrName, netType, mutator, castExpr)
81 
82 #define DtDEFINE_SIMPLE_AIRCRAFT_ATTR_DECODER( \
83  attrName, netType, inspector) \
84  DtDEFINE_SIMPLE_AIRCRAFT_ATTR_DECODER_WITH_CAST( \
85  attrName, netType, inspector, (netType))
86 
87 
88 #endif
89 #endif
90 
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.
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:42
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.
class DtAircraftDecoder:
Definition: aircraftDecoder.h:26

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)