VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
groundVehicleEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
7 #if DtHLA
8 
9 #include "platformEncoder.h"
10 #include "entityStateRepository.h"
11 
15 
21 
22 class DT_DLL_VL DtGroundVehicleEncoder : public DtPlatformEncoder
23 {
24 public:
25 
27  DtGroundVehicleEncoder(
28  DtExerciseConn* exConn,
29  DtObjClassDesc* classDesc);
30 
32  virtual ~DtGroundVehicleEncoder();
33 
35  DtGroundVehicleEncoder(const DtGroundVehicleEncoder& orig);
36 
38  DtGroundVehicleEncoder& operator=(const DtGroundVehicleEncoder& orig);
39 
40 public:
41 
44  static DtHlaStateEncoder* create(
45  DtExerciseConn* exConn,
46  DtObjClassDesc* classDesc);
47 
48 protected:
49 
51  DtDECLARE_ENTITY_ATTR_CHECKER(EmergencyLightsOn);
52  DtDECLARE_ENTITY_ATTR_CHECKER(LeftIndicatorLightsOn);
53  DtDECLARE_ENTITY_ATTR_CHECKER(RightIndicatorLightsOn);
54 
55 
57  DtDECLARE_ENTITY_ATTR_ENCODER(EmergencyLightsOn);
58  DtDECLARE_ENTITY_ATTR_ENCODER(LeftIndicatorLightsOn);
59  DtDECLARE_ENTITY_ATTR_ENCODER(RightIndicatorLightsOn);
60 
61 };
62 
68 #define DtDEFINE_SIMPLE_GROUNDVEHICLE_ATTR_ENCODER( \
69  attrName, netType, inspector) \
70  DtDEFINE_SIMPLE_ATTR_ENCODER( \
71  DtGroundVehicleEncoder, \
72  DtEntityStateRepository, \
73  attrName, netType, inspector)
74 
80 #define DtDEFINE_SIMPLE_GROUNDVEHICLE_ATTR_CHECKER( \
81  attrName, inspector) \
82  DtDEFINE_SIMPLE_ATTR_CHECKER( \
83  DtGroundVehicleEncoder, \
84  DtEntityStateRepository, \
85  attrName, inspector)
86 
87 
88 #endif
89 
90 
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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)