VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detonationDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
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 
17 #include <vlpi/netStructs.h>
21 
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 
48 {
49 public:
50 
53  DtInterClassDesc* classDesc);
54 
56  virtual ~DtDetonationDecoder();
57 
60 
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);
75  DtDECLARE_DETONATION_PARAM_DECODER(MunitionObjectIdentifier);
79  DtDECLARE_DETONATION_PARAM_DECODER(RelativeDetonationLocation);
80  DtDECLARE_DETONATION_PARAM_DECODER(TargetObjectIdentifier);
82 
84  DtDECLARE_DETONATION_PARAM_DECODER(DetonationResult);
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(
94  const RTI::ParameterHandleValuePairSet& params,
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 
Instances of DtDetonationInteraction are used to communicate information associated with the impact o...
Definition: detonationInteractionHLA.h:37
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtInterClassDesc are used to represent HLA Object and Interaction classes.
Definition: interClassDesc.h:33
This file contains the declaration of DtInteractionDecoder.
This file provides a declaration of the class DtArticulatedPartCollection.
#define DtDECLARE_DETONATION_PARAM_DECODER(paramName)
This can be used to declare parameter processor functions which are static members of a class...
Definition: detonationDecoder.h:27
A DtArticulatedPartCollection is a collection of articulated parts typically of an entity...
Definition: articulatedPartCollection.h:29
Definition: netStructs.h:467
Definition: netStructs.h:478
DtInteractionDecoder & operator=(const DtInteractionDecoder &orig)
assignment operator - not implemented.
Instances of DtInteractionDecoder are used to decode interactions from the network.
Definition: interactionDecoder.h:37
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHan...
Definition: rtiCompatibility.h:237
class DtDetonationDecoder:
Definition: detonationDecoder.h:47

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)