VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
groundVehicleDecoder.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 "platformDecoder.h"
10 
14 
16 
22 
24 {
25 public:
26 
29  DtExerciseConn* exConn,
30  DtObjClassDesc* classDesc);
31 
33  virtual ~DtGroundVehicleDecoder();
34 
37  const DtGroundVehicleDecoder& orig);
38 
41  const DtGroundVehicleDecoder& orig);
42 
43 public:
44 
47  static DtHlaStateDecoder* create(
48  DtExerciseConn* exConn,
49  DtObjClassDesc* classDesc);
50 
51 protected:
52 
56  void addMyDecoders();
57 
59  DtDECLARE_ENTITY_ATTR_DECODER(EmergencyLightsOn);
60  DtDECLARE_ENTITY_ATTR_DECODER(LeftIndicatorLightsOn);
61  DtDECLARE_ENTITY_ATTR_DECODER(RightIndicatorLightsOn);
62 
63 };
64 
65 #define DtDEFINE_SIMPLE_GROUNDVEHICLE_ATTR_DECODER_WITH_CAST( \
66  attrName, netType, mutator, castExpr) \
67  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
68  DtGroundVehicleDecoder, DtEntityStateRepository, \
69  attrName, netType, mutator, castExpr)
70 
71 #define DtDEFINE_SIMPLE_GROUNDVEHICLE_ATTR_DECODER( \
72  attrName, netType, inspector) \
73  DtDEFINE_SIMPLE_GROUNDVEHICLE_ATTR_DECODER_WITH_CAST( \
74  attrName, netType, inspector, (netType))
75 
76 
77 #endif
78 
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.
class DtGroundVehicleDecoder:
Definition: groundVehicleDecoder.h:23
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:41
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.

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)