VR-Link API Documentation for HLA 1.3
 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 
23 {
24 public:
25 
28  DtExerciseConn* exConn,
29  DtObjClassDesc* classDesc);
30 
32  virtual ~DtGroundVehicleEncoder();
33 
36 
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: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtPlatformEncoder:
Definition: platformEncoder.h:25
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtPlatformEncoder & operator=(const DtPlatformEncoder &orig)
assignment operator
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtPlatformEncoder.
DtDECLARE_ENTITY_ATTR_CHECKER(AfterburnerOn)
Static need<Attribute> member functions.
Contains the DtEntityStateRepository class declaration.
class DtGroundVehicleEncoder:
Definition: groundVehicleEncoder.h:22
DtDECLARE_ENTITY_ATTR_ENCODER(AfterburnerOn)
Static encode<Attribute> member functions.
This file provides a declaration of the class DtPlatformEncoder.

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)