VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
DtResupplyReceivedDecoder Class Reference

class DtResupplyReceivedDecoder: More...

+ Inheritance diagram for DtResupplyReceivedDecoder:
+ Collaboration diagram for DtResupplyReceivedDecoder:

Public Member Functions

 DtResupplyReceivedDecoder (DtExerciseConn *exConn, DtInterClassDesc *classDesc)
 constructor
virtual ~DtResupplyReceivedDecoder ()
 destructor
 DtResupplyReceivedDecoder (const DtResupplyReceivedDecoder &orig)
 copy constructor
DtResupplyReceivedDecoderoperator= (const DtResupplyReceivedDecoder &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_RESREC_PARAM_DECODER (ReceivingObject)
 Individual parameter decoders.
 DtDECLARE_RESREC_PARAM_DECODER (SupplyingObject)
 DtDECLARE_RESREC_PARAM_DECODER (SuppliesData)
 DtDECLARE_RESREC_PARAM_DECODER (Supplies)
 RPR FOM <= 0.8 compatibility.
- 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.

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.
static char * parameterData (const RTI::ParameterHandleValuePairSet &pvList, int index, RTI::ULong &length)
 Returns a pointer to a buffer containing the parameter data.
static char * parameterData (const RTI::ParameterHandleValuePairSet &pvList, int index, RTI::ULong &length, unsigned int expectedDataSize, char *paramName)
 Gets the parameter data and checks the expected size.
static DtNetEventIdeventIdParameterData (const RTI::ParameterHandleValuePairSet &params, int index)
 Get the parameter data as a DtNetEventId (adds defensive null terminator) Returns a pointer to the parameter data.
static void decodeGenericParameter (DtInteractionWithEncDec *inter, const RTI::ParameterHandleValuePairSet &pvlist, int i)
 Generic decoder class.
- Static Public Attributes inherited from DtInteractionDecoder
static bool theUseGetValuePointer
- 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 DtResupplyReceivedDecoder:

Instances of DtResupplyReceivedDecoder are used to decode ResupplyReceived Interactions from the network.

Constructor & Destructor Documentation

DtResupplyReceivedDecoder::DtResupplyReceivedDecoder ( DtExerciseConn exConn,
DtInterClassDesc classDesc 
)

constructor

virtual DtResupplyReceivedDecoder::~DtResupplyReceivedDecoder ( )
virtual

destructor

DtResupplyReceivedDecoder::DtResupplyReceivedDecoder ( const DtResupplyReceivedDecoder orig)

copy constructor

Member Function Documentation

DtResupplyReceivedDecoder::DtDECLARE_RESREC_PARAM_DECODER ( ReceivingObject  )
protected

Individual parameter decoders.

DtResupplyReceivedDecoder::DtDECLARE_RESREC_PARAM_DECODER ( SupplyingObject  )
protected
DtResupplyReceivedDecoder::DtDECLARE_RESREC_PARAM_DECODER ( SuppliesData  )
protected
DtResupplyReceivedDecoder::DtDECLARE_RESREC_PARAM_DECODER ( Supplies  )
protected

RPR FOM <= 0.8 compatibility.

DtResupplyReceivedDecoder& DtResupplyReceivedDecoder::operator= ( const DtResupplyReceivedDecoder orig)

assignment operator


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

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)