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
DtPointObjectTransactionDecoder Class Reference

class DtPointObjTransDecoder: More...

+ Inheritance diagram for DtPointObjectTransactionDecoder:
+ Collaboration diagram for DtPointObjectTransactionDecoder:

Public Member Functions

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

Protected Member Functions

 DtDECLARE_POINT_OBJ_PARAM_DECODER (Location)
 Individual parameter decoders. More...
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (Orientation)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (PercentComplete)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (DamagedAppearance)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (ObjectPreDistributed)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (Deactivated)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (Smoking)
 
 DtDECLARE_POINT_OBJ_PARAM_DECODER (Flaming)
 
- Protected Member Functions inherited from DtEnvironmentObjectTransactionDecoder
 DtDECLARE_ENV_OBJ_PARAM_DECODER (ObjectIdentifier)
 Individual parameter decoders. More...
 
 DtDECLARE_ENV_OBJ_PARAM_DECODER (ReferencedObjectIdentifier)
 
 DtDECLARE_ENV_OBJ_PARAM_DECODER (ForceIdentifier)
 
 DtDECLARE_ENV_OBJ_PARAM_DECODER (ObjectType)
 
 DtDECLARE_ENV_OBJ_PARAM_DECODER (RequestingIdentifier)
 
 DtDECLARE_ENV_OBJ_PARAM_DECODER (ReceivingIdentifier)
 
- Protected Member Functions inherited from DtInteractionDecoder
 DtInteractionDecoder (const DtInteractionDecoder &orig)
 copy constructor - not implemented. More...
 
DtInteractionDecoderoperator= (const DtInteractionDecoder &orig)
 assignment operator - not implemented. More...
 
virtual void decodeParameter (DtInteractionRep *inter, const RTI::ParameterHandleValuePairSet &pvList, int index)
 Process (decode) the specified parameter. More...
 

Additional Inherited Members

- Public Types inherited from DtInteractionDecoder
typedef void(* DtParameterDecoder )(DtInteractionRep *inter, const RTI::ParameterHandleValuePairSet &pvlist, int i)
 Parameter decoder function signature. More...
 
- 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. More...
 
static char * parameterData (const RTI::ParameterHandleValuePairSet &pvList, int index, RTI::ULong &length)
 Returns a pointer to a buffer containing the parameter data. More...
 
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. More...
 
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. More...
 
static void decodeGenericParameter (DtInteractionWithEncDec *inter, const RTI::ParameterHandleValuePairSet &pvlist, int i)
 Generic decoder class. More...
 
- 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. More...
 

Detailed Description

class DtPointObjTransDecoder:

Instances of DtPointObjectTransactionDecoder are used to decode Point Object Transactions from the network.

Constructor & Destructor Documentation

DtPointObjectTransactionDecoder::DtPointObjectTransactionDecoder ( DtExerciseConn exConn,
DtInterClassDesc classDesc 
)

constructor

virtual DtPointObjectTransactionDecoder::~DtPointObjectTransactionDecoder ( )
virtual

destructor

DtPointObjectTransactionDecoder::DtPointObjectTransactionDecoder ( const DtPointObjectTransactionDecoder orig)

copy constructor

Member Function Documentation

DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( Location  )
protected

Individual parameter decoders.

DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( Orientation  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( PercentComplete  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( DamagedAppearance  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( ObjectPreDistributed  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( Deactivated  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( Smoking  )
protected
DtPointObjectTransactionDecoder::DtDECLARE_POINT_OBJ_PARAM_DECODER ( Flaming  )
protected
DtPointObjectTransactionDecoder& DtPointObjectTransactionDecoder::operator= ( const DtPointObjectTransactionDecoder orig)

assignment operator


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

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)