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
include
vl
lifeformDecoder.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#ifndef DtLifeformDecoder_H_
8
#define DtLifeformDecoder_H_
9
10
#if DtHLA
11
12
#include "
physicalEntityDecoder.h
"
13
17
18
class
DT_DLL_VL
DtEntityStateRepository
;
19
25
26
class
DT_DLL_VL
DtLifeformDecoder
:
public
DtPhysicalEntityDecoder
27
{
28
public
:
29
31
DtLifeformDecoder
(
32
DtExerciseConn
* exConn,
33
DtObjClassDesc
* classDesc);
34
36
virtual
~
DtLifeformDecoder
();
37
39
DtLifeformDecoder
(
40
const
DtLifeformDecoder
& orig);
41
43
DtLifeformDecoder
&
operator=
(
44
const
DtLifeformDecoder
& orig);
45
46
public
:
47
50
static
DtHlaStateDecoder
*
create
(
51
DtExerciseConn
* exConn,
52
DtObjClassDesc
* classDesc);
53
54
protected
:
55
59
void
addMyDecoders
();
60
62
DtDECLARE_ENTITY_ATTR_DECODER
(FlashLightsOn);
63
DtDECLARE_ENTITY_ATTR_DECODER
(StanceCode);
64
DtDECLARE_ENTITY_ATTR_DECODER
(PrimaryWeaponState);
65
DtDECLARE_ENTITY_ATTR_DECODER
(SecondaryWeaponState);
66
DtDECLARE_ENTITY_ATTR_DECODER
(ComplianceState);
67
};
68
74
#define DtDEFINE_SIMPLE_LIFEFORM_ATTR_DECODER_WITH_CAST( \
75
attrName, netType, mutator, castExpr) \
76
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
77
DtLifeformDecoder, DtEntityStateRepository, \
78
attrName, netType, mutator, castExpr)
79
80
#define DtDEFINE_SIMPLE_LIFEFORM_ATTR_DECODER( \
81
attrName, netType, inspector) \
82
DtDEFINE_SIMPLE_LIFEFORM_ATTR_DECODER_WITH_CAST( \
83
attrName, netType, inspector, (netType))
84
85
#define DtDEFINE_LIFEFORM_LIGHT_ATTR_DECODER(attrName, arg1) \
86
DtDEFINE_LIGHT_ATTR_DECODER(DtLifeformDecoder, attrName, arg1)
87
88
#endif
89
#endif
90
Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)