VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
militaryPlatformEntityDecoder.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 DtMilitaryPlatformEntityDecoder_H_
8
#define DtMilitaryPlatformEntityDecoder_H_
9
10
#if DtHLA
11
12
#include "
militaryEntityDecoder.h
"
13
17
18
class
DT_DLL_VL
DtEntityStateRepository
;
19
25
26
class
DT_DLL_VL
DtMilitaryPlatformEntityDecoder
:
public
DtMilitaryEntityDecoder
27
{
28
public
:
29
31
DtMilitaryPlatformEntityDecoder
(
32
DtExerciseConn
* exConn,
33
DtObjClassDesc
* classDesc);
34
36
virtual
~
DtMilitaryPlatformEntityDecoder
();
37
39
DtMilitaryPlatformEntityDecoder
(
40
const
DtMilitaryPlatformEntityDecoder
& orig);
41
43
DtMilitaryPlatformEntityDecoder
&
operator=
(
44
const
DtMilitaryPlatformEntityDecoder
& 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
(AfterburnerOn);
63
DtDECLARE_ENTITY_ATTR_DECODER
(HasAmmunitionSupplyCap);
64
DtDECLARE_ENTITY_ATTR_DECODER
(LauncherRaised);
65
};
66
72
#define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_DECODER_WITH_CAST( \
73
attrName, netType, mutator, castExpr) \
74
DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
75
DtMilitaryPlatformEntityDecoder, DtEntityStateRepository, \
76
attrName, netType, mutator, castExpr)
77
78
#define DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_DECODER( \
79
attrName, netType, inspector) \
80
DtDEFINE_SIMPLE_MIL_PLAT_ENTITY_ATTR_DECODER_WITH_CAST( \
81
attrName, netType, inspector, (netType))
82
83
#endif
84
#endif
85
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
)