VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
myFomMap
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.
15
class
DT_DLL_VL
DtEntityStateRepository
;
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
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)