VR-Link API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Member Functions | Static Protected Member Functions
DtDetonationDecoder Class Reference

class DtDetonationDecoder: More...

+ Inheritance diagram for DtDetonationDecoder:
+ Collaboration diagram for DtDetonationDecoder:

Public Member Functions

 DtDetonationDecoder (DtExerciseConn *exConn, DtInterClassDesc *classDesc)
 constructor
virtual ~DtDetonationDecoder ()
 destructor
 DtDetonationDecoder (const DtDetonationDecoder &orig)
 copy constructor
DtDetonationDecoderoperator= (const DtDetonationDecoder &orig)
 assignment operator
- Public Member Functions inherited from DtInteractionDecoder
 DtInteractionDecoder (DtExerciseConn *exConn, DtInterClassDesc *classDesc)
 constructor
virtual ~DtInteractionDecoder ()
 destructor
DtParameterDecoder addDecoder (RTI::ParameterHandle handle, DtParameterDecoder proc)
 Add/Remove a decoding function for the parameter specified by handle.
DtParameterDecoder addDecoder (char *name, DtParameterDecoder proc)
 Add/Remove a decoding function for the parameter specified by name.
virtual DtParameterDecoder decoder (RTI::ParameterHandle handle) const
 Get the parameter decoder for the specified handle.
virtual void decode (DtInteractionRep *interaction, const RTI::ParameterHandleValuePairSet &pvList)
 Decode the interaction.
virtual RTI::InteractionClassHandle interactionClassHandle ()
 Get the interaction's class handle.
virtual DtInteractionDecoderclone () const
 Returns a new-ed clone of this object.
virtual DtInteractionDecoderclone (DtInterClassDesc *interDesc) const
 Returns a new-ed clone of this object which corresponds to the inter description interDesc.

Protected Member Functions

 DtDECLARE_DETONATION_PARAM_DECODER (ArticulatedPartData)
 Individual parameter decoders.
 DtDECLARE_DETONATION_PARAM_DECODER (DetonationLocation)
 DtDECLARE_DETONATION_PARAM_DECODER (DetonationResultCode)
 DtDECLARE_DETONATION_PARAM_DECODER (EventIdentifier)
 DtDECLARE_DETONATION_PARAM_DECODER (FiringObjectIdentifier)
 DtDECLARE_DETONATION_PARAM_DECODER (FinalVelocityVector)
 DtDECLARE_DETONATION_PARAM_DECODER (FuseType)
 DtDECLARE_DETONATION_PARAM_DECODER (MunitionObjectIdentifier)
 DtDECLARE_DETONATION_PARAM_DECODER (MunitionType)
 DtDECLARE_DETONATION_PARAM_DECODER (QuantityFired)
 DtDECLARE_DETONATION_PARAM_DECODER (RateOfFire)
 DtDECLARE_DETONATION_PARAM_DECODER (RelativeDetonationLocation)
 DtDECLARE_DETONATION_PARAM_DECODER (TargetObjectIdentifier)
 DtDECLARE_DETONATION_PARAM_DECODER (WarheadType)
 DtDECLARE_DETONATION_PARAM_DECODER (DetonationResult)
 RPR FOM <= 0.8 compatibility.
 DtDECLARE_DETONATION_PARAM_DECODER (EventID)
 DtDECLARE_DETONATION_PARAM_DECODER (FiringObjectID)
 DtDECLARE_DETONATION_PARAM_DECODER (MunitionObjectID)
 DtDECLARE_DETONATION_PARAM_DECODER (TargetObjectID)
 DtDECLARE_DETONATION_PARAM_DECODER (ArticulatedPartsArray)
- Protected Member Functions inherited from DtInteractionDecoder
 DtInteractionDecoder (const DtInteractionDecoder &orig)
 copy constructor - not implemented.
DtInteractionDecoderoperator= (const DtInteractionDecoder &orig)
 assignment operator - not implemented.
virtual void decodeParameter (DtInteractionRep *inter, const RTI::ParameterHandleValuePairSet &pvList, int index)
 Process (decode) the specified parameter.

Static Protected Member Functions

static void decodeArticulatedParametersArrayPost1_0 (DtDetonationInteraction *inter, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex)
 Decode function for ArticulatedParts RPR drafts 1 and higher.
static void convertFromRPR1_0 (DtNetArtParamRecord *netParams, DtNetArtParamRecordRPR1 *netParamsRPR1, int numRecords)
 helper function
static void decodeAttParts (int numParams, DtNetArtParamRecord *netParams, DtArticulatedPartCollection *artList)
 called by the articulated parameters array decoder

Additional Inherited Members

- Public Types inherited from DtInteractionDecoder
typedef void(* DtParameterDecoder )(DtInteractionRep *inter, const RTI::ParameterHandleValuePairSet &pvlist, int i)
 Parameter decoder function signature.
- Static Public Member Functions inherited from DtInteractionDecoder
static char * decodingBuffer (int length)
 Returns a pointer to a buffer that can be used to copy data obtained from a phvps.
- Protected Attributes inherited from DtInteractionDecoder
DtExerciseConnmyExConn
DtInterClassDescmyClassDesc
RTI::InteractionClassHandle myClassHandle
std::map< RTI::ParameterHandle,
DtParameterDecoder
myList
 myList is an array of classDesc->maxParamHandle() items.

Detailed Description

class DtDetonationDecoder:

Instances of DtDetonationDecoder are used to decode Detonation Interactions from the network.

Constructor & Destructor Documentation

DtDetonationDecoder::DtDetonationDecoder ( DtExerciseConn exConn,
DtInterClassDesc classDesc 
)

constructor

virtual DtDetonationDecoder::~DtDetonationDecoder ( )
virtual

destructor

DtDetonationDecoder::DtDetonationDecoder ( const DtDetonationDecoder orig)

copy constructor

Member Function Documentation

static void DtDetonationDecoder::convertFromRPR1_0 ( DtNetArtParamRecord netParams,
DtNetArtParamRecordRPR1 netParamsRPR1,
int  numRecords 
)
staticprotected

helper function

static void DtDetonationDecoder::decodeArticulatedParametersArrayPost1_0 ( DtDetonationInteraction inter,
const RTI::AttributeHandleValuePairSet &  attrs,
int  pairSetIndex 
)
staticprotected

Decode function for ArticulatedParts RPR drafts 1 and higher.

static void DtDetonationDecoder::decodeAttParts ( int  numParams,
DtNetArtParamRecord netParams,
DtArticulatedPartCollection artList 
)
staticprotected

called by the articulated parameters array decoder

DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( ArticulatedPartData  )
protected

Individual parameter decoders.

DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( DetonationLocation  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( DetonationResultCode  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( EventIdentifier  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( FiringObjectIdentifier  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( FinalVelocityVector  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( FuseType  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( MunitionObjectIdentifier  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( MunitionType  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( QuantityFired  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( RateOfFire  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( RelativeDetonationLocation  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( TargetObjectIdentifier  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( WarheadType  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( DetonationResult  )
protected

RPR FOM <= 0.8 compatibility.

DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( EventID  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( FiringObjectID  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( MunitionObjectID  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( TargetObjectID  )
protected
DtDetonationDecoder::DtDECLARE_DETONATION_PARAM_DECODER ( ArticulatedPartsArray  )
protected
DtDetonationDecoder& DtDetonationDecoder::operator= ( const DtDetonationDecoder orig)

assignment operator


The documentation for this class was generated from the following file:

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)