VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aircraftEncoder.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 DtAircraftEncoder_H_
8 #define DtAircraftEncoder_H_
9 
10 #if DtHLA
11 
12 #include "platformEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
25 class DT_DLL_VL DtAircraftEncoder : public DtPlatformEncoder
26 {
27 public:
28 
30  DtAircraftEncoder(
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtAircraftEncoder();
36 
38  DtAircraftEncoder(const DtAircraftEncoder& orig);
39 
41  DtAircraftEncoder& operator=(const DtAircraftEncoder& orig);
42 
43 public:
44 
47  static DtHlaStateEncoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
54  DtDECLARE_ENTITY_ATTR_CHECKER(AntiCollisionLightsDayNight);
55  DtDECLARE_ENTITY_ATTR_CHECKER(AntiCollisionLightsFlashing);
56  DtDECLARE_ENTITY_ATTR_CHECKER(FormationLightsLuminance);
57  DtDECLARE_ENTITY_ATTR_CHECKER(NavigationLightsFlashing);
58  DtDECLARE_ENTITY_ATTR_CHECKER(NVGMode);
59  DtDECLARE_ENTITY_ATTR_CHECKER(TaxiwayLightsOn);
60  DtDECLARE_ENTITY_ATTR_CHECKER(HDULightsOn);
61 
63  DtDECLARE_ENTITY_ATTR_ENCODER(AntiCollisionLightsDayNight);
64  DtDECLARE_ENTITY_ATTR_ENCODER(AntiCollisionLightsFlashing);
65  DtDECLARE_ENTITY_ATTR_ENCODER(FormationLightsLuminance);
66  DtDECLARE_ENTITY_ATTR_ENCODER(NavigationLightsFlashing);
67  DtDECLARE_ENTITY_ATTR_ENCODER(NVGMode);
68  DtDECLARE_ENTITY_ATTR_ENCODER(TaxiwayLightsOn);
69  DtDECLARE_ENTITY_ATTR_ENCODER(HDULightsOn);
70 };
71 
77 #define DtDEFINE_SIMPLE_AIRCRAFT_ATTR_ENCODER( \
78  attrName, netType, inspector) \
79  DtDEFINE_SIMPLE_ATTR_ENCODER( \
80  DtAircraftEncoder, \
81  DtEntityStateRepository, \
82  attrName, netType, inspector)
83 
89 #define DtDEFINE_SIMPLE_AIRCRAFT_ATTR_CHECKER( \
90  attrName, inspector) \
91  DtDEFINE_SIMPLE_ATTR_CHECKER( \
92  DtAircraftEncoder, \
93  DtEntityStateRepository, \
94  attrName, inspector)
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:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtEntityStateRepository class declaration.

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)