VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
detonationDecoder.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 detonationDecoder_H_
8
#define detonationDecoder_H_
9
10
#if DtHLA
11
12
#include "
interactionDecoder.h
"
13
14
15
16
#include <
vlpi/articulatedPartCollection.h
>
17
#include <
vlpi/netStructs.h
>
21
22
class
DtDetonationInteraction
;
23
26
27
#define DtDECLARE_DETONATION_PARAM_DECODER(paramName) \
28
DtDECLARE_PARAM_DECODER(DtDetonationInteraction, paramName)
29
30
#define DtDEFINE_SIMPLE_DETONATION_PARAM_DECODER( \
31
paramName, netType, mutator) \
32
DtDEFINE_SIMPLE_PARAM_DECODER( \
33
DtDetonationDecoder, DtDetonationInteraction, \
34
paramName, netType, mutator)
35
36
#define DtDEFINE_SIMPLE_DETONATION_PARAM_DECODER_WITH_CAST( \
37
paramName, netType, mutator, castExpr) \
38
DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
39
DtDetonationDecoder, DtDetonationInteraction, \
40
paramName, netType, mutator, castExpr)
41
46
47
class
DT_DLL_VL
DtDetonationDecoder
:
public
DtInteractionDecoder
48
{
49
public
:
50
52
DtDetonationDecoder
(
DtExerciseConn
* exConn,
53
DtInterClassDesc
* classDesc);
54
56
virtual
~
DtDetonationDecoder
();
57
59
DtDetonationDecoder
(
const
DtDetonationDecoder
& orig);
60
62
DtDetonationDecoder
&
operator=
(
const
DtDetonationDecoder
& orig);
63
64
protected
:
65
67
68
DtDECLARE_DETONATION_PARAM_DECODER
(ArticulatedPartData);
69
DtDECLARE_DETONATION_PARAM_DECODER
(DetonationLocation);
70
DtDECLARE_DETONATION_PARAM_DECODER
(DetonationResultCode);
71
DtDECLARE_DETONATION_PARAM_DECODER
(EventIdentifier);
72
DtDECLARE_DETONATION_PARAM_DECODER
(FiringObjectIdentifier);
73
DtDECLARE_DETONATION_PARAM_DECODER
(FinalVelocityVector);
74
DtDECLARE_DETONATION_PARAM_DECODER
(FuseType);
75
DtDECLARE_DETONATION_PARAM_DECODER
(MunitionObjectIdentifier);
76
DtDECLARE_DETONATION_PARAM_DECODER
(MunitionType);
77
DtDECLARE_DETONATION_PARAM_DECODER
(QuantityFired);
78
DtDECLARE_DETONATION_PARAM_DECODER
(RateOfFire);
79
DtDECLARE_DETONATION_PARAM_DECODER
(RelativeDetonationLocation);
80
DtDECLARE_DETONATION_PARAM_DECODER
(TargetObjectIdentifier);
81
DtDECLARE_DETONATION_PARAM_DECODER
(WarheadType);
82
84
DtDECLARE_DETONATION_PARAM_DECODER
(DetonationResult);
85
DtDECLARE_DETONATION_PARAM_DECODER
(EventID);
86
DtDECLARE_DETONATION_PARAM_DECODER
(FiringObjectID);
87
DtDECLARE_DETONATION_PARAM_DECODER
(MunitionObjectID);
88
DtDECLARE_DETONATION_PARAM_DECODER
(TargetObjectID);
89
DtDECLARE_DETONATION_PARAM_DECODER
(ArticulatedPartsArray);
90
92
static
void
decodeArticulatedParametersArrayPost1_0(
93
DtDetonationInteraction
* inter,
94
const
RTI::AttributeHandleValuePairSet
& attrs,
95
int
pairSetIndex);
96
98
static
void
convertFromRPR1_0(
99
DtNetArtParamRecord
* netParams,
100
DtNetArtParamRecordRPR1
* netParamsRPR1,
101
int
numRecords);
102
104
static
void
decodeAttParts(
int
numParams,
105
DtNetArtParamRecord
* netParams,
DtArticulatedPartCollection
* artList);
106
};
107
108
#endif
109
#endif
110
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
)