VR-Link API Documentation for HLA 1516
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
militaryEntityDecoder.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 DtMilitaryEntityDecoder_H_
8
#define DtMilitaryEntityDecoder_H_
9
10
#if DtHLA
11
12
#include "
physicalEntityDecoder.h
"
13
14
class
DT_DLL_VL
DtEntityStateRepository
;
15
19
25
26
class
DT_DLL_VL
DtMilitaryEntityDecoder
:
public
DtPhysicalEntityDecoder
27
{
28
public
:
29
31
DtMilitaryEntityDecoder
(
32
DtExerciseConn
* exConn,
33
DtObjClassDesc
* classDesc);
34
36
virtual
~
DtMilitaryEntityDecoder
();
37
39
DtMilitaryEntityDecoder
(
const
DtMilitaryEntityDecoder
& orig);
40
42
DtMilitaryEntityDecoder
&
operator=
(
const
DtMilitaryEntityDecoder
& orig);
43
44
public
:
45
48
static
DtHlaStateDecoder
*
create
(
49
DtExerciseConn
* exConn,
50
DtObjClassDesc
* classDesc);
51
52
protected
:
53
57
void
addMyDecoders
();
58
60
DtDECLARE_ENTITY_ATTR_DECODER
(AlternateEntityType);
61
DtDECLARE_ENTITY_ATTR_DECODER
(CamouflageType);
62
DtDECLARE_ENTITY_ATTR_DECODER
(FirePowerDisabled);
63
DtDECLARE_ENTITY_ATTR_DECODER
(ForceID);
64
DtDECLARE_ENTITY_ATTR_DECODER
(IsConcealed);
65
};
66
72
#define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER_WITH_CAST( \
73
attrName, netType, mutator, castExpr) \
74
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
75
DtMilitaryEntityDecoder, DtEntityStateRepository, \
76
attrName, netType, mutator, castExpr)
77
78
#define DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER( \
79
attrName, netType, inspector) \
80
DtDEFINE_SIMPLE_MIL_ENTITY_ATTR_DECODER_WITH_CAST( \
81
attrName, netType, inspector, (netType))
82
83
#endif
84
#endif
85
Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)