VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vehicleDec.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #if DtHLA
7 
8 #ifndef VehicleDecoder_H_
9 #define VehicleDecoder_H_
10 
11 #include "myFomMap.h"
12 #include <vl/hlaStateDecoder.h>
13 
14 // Forward declaration of DtEntityStateRepository class.
16 
17 // We define several macros that can be helpful in defining the class, and the
18 // individual decoding functions.
19 
24 #define DtDECLARE_VEHICLE_ATTR_DECODER(attrName) \
25  DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)
26 
29 class DT_DLL_FOMMAP VehicleDecoder : public DtHlaStateDecoder
30 {
31 public:
32 
33  // default constructor
34  VehicleDecoder(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
35 
36  // destructor
37  virtual ~VehicleDecoder();
38 
39 protected:
40 
41  // Individual attribute decoding functions - one for each attribute.
42  // These macros expand to look like this:
43  // static void decodeVehicleType(DtEntityStateRepository* stateRep,
44  // const RTI::AttributeHandleValuePairSet& attrs, int pairSetIndex)
45 
46  DtDECLARE_VEHICLE_ATTR_DECODER(VehicleType);
47  DtDECLARE_VEHICLE_ATTR_DECODER(GeocLoc);
48 };
49 
50 #endif
51 #endif
#define DT_DLL_FOMMAP
Definition: myFomMap.h:21
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
This file contains the declaration of DtHlaStateDecoder.

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)