VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
arealObjectDecoder.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#if DtHLA
8
9
#ifndef arealObjectDecoder_H_
10
#define arealObjectDecoder_H_
11
12
13
#include "
environmentObjectDecoder.h
"
14
17
18
class
DT_DLL_VL
DtArealObjectRepository
;
19
22
#define DtDECLARE_AREAL_OBJ_ATTR_DECODER(attrName) \
23
DtDECLARE_ATTR_DECODER(DtArealObjectRepository, attrName)
24
29
30
class
DT_DLL_VL
DtArealObjectDecoder
:
public
DtEnvironmentObjectDecoder
31
{
32
public
:
33
35
DtArealObjectDecoder
(
36
DtExerciseConn
* exConn,
37
DtObjClassDesc
* classDesc);
38
40
virtual
~
DtArealObjectDecoder
();
41
43
DtArealObjectDecoder
(
const
DtArealObjectDecoder
& orig);
44
46
DtArealObjectDecoder
&
operator
=
47
(
const
DtArealObjectDecoder
& orig);
48
49
public
:
50
52
static
DtHlaStateDecoder
*
create
(
53
DtExerciseConn
* exConn,
54
DtObjClassDesc
* classDesc);
55
56
protected
:
59
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(PointsData);
60
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(PercentComplete);
61
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(DamagedAppearance);
62
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(ObjectPreDistributed);
63
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(Deactivated);
64
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(Smoking);
65
DtDECLARE_AREAL_OBJ_ATTR_DECODER
(Flaming);
66
};
67
73
#define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
74
attrName, netType, mutator, castExpr) \
75
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
76
DtArealObjectDecoder, DtArealObjectRepository, \
77
attrName, netType, mutator, castExpr)
78
79
#define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER( \
80
attrName, netType, inspector) \
81
DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
82
attrName, netType, inspector, (netType))
83
84
#endif //hArealObjDec_H_
85
86
#endif //DtHLA
87
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)