VR-Link API Documentation for HLA 1.3
 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) 1998 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 
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);
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: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
#define DtDECLARE_VEHICLE_ATTR_DECODER(attrName)
This macro can be used to declare the attribute decoding functions, which are static members of Vehic...
Definition: vehicleDec.h:24
A simple FOM Mapper decoder class for the MyFomMap example.
Definition: vehicleDec.h:29
An instance of DtObjClassDesc is a &quot;class descriptor&quot; for an HLA Object class.
Definition: objClassDesc13.h:41
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:37
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
This file contains the declaration of DtHlaStateDecoder.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)