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

class DtServiceRequestDecoder: More...

+ Inheritance diagram for DtServiceRequestDecoder:
+ Collaboration diagram for DtServiceRequestDecoder:

Public Member Functions

 DtServiceRequestDecoder (DtExerciseConn *exConn, DtInterClassDesc *classDesc)
 constructor More...
 
virtual ~DtServiceRequestDecoder ()
 destructor More...
 
 DtServiceRequestDecoder (const DtServiceRequestDecoder &orig)
 copy constructor More...
 
DtServiceRequestDecoder & operator= (const DtServiceRequestDecoder &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::ParameterHandleValueMap &pvMap)
 Decode the interaction. More...
 
virtual RTI::InteractionClassHandle interactionClassHandle ()
 Get the interaction's class handle. More...
 
virtual DtInteractionDecoder * clone () const
 Returns a new-ed clone of this object. More...
 
virtual DtInteractionDecoder * clone (DtInterClassDesc *interDesc) const
 Returns a new-ed clone of this object which corresponds to the inter description interDesc. More...
 

Protected Member Functions

 DtDECLARE_SERVREQ_PARAM_DECODER (RequestingObject)
 Individual parameter decoders. More...
 
 DtDECLARE_SERVREQ_PARAM_DECODER (ServicingObject)
 
 DtDECLARE_SERVREQ_PARAM_DECODER (ServiceType)
 
 DtDECLARE_SERVREQ_PARAM_DECODER (SuppliesData)
 
 DtDECLARE_SERVREQ_PARAM_DECODER (Supplies)
 RPR FOM <= 0.8 compatibility. More...
 
- Protected Member Functions inherited from DtInteractionDecoder
 DtInteractionDecoder (const DtInteractionDecoder &orig)
 copy constructor - not implemented. More...
 
DtInteractionDecoder & operator= (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, const char *paramName)
 Gets the parameter data and checks the expected size. More...
 
static DtNetEventId * eventIdParameterData (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
DtExerciseConn * myExConn
 
DtInterClassDesc * myClassDesc
 
RTI::InteractionClassHandle myClassHandle
 
std::map< RTI::ParameterHandle,
DtParameterDecoder > 
myList
 myList is an array of classDesc->maxParamHandle() items. More...
 

Detailed Description

class DtServiceRequestDecoder:

Instances of DtServiceRequestDecoder are used to decode ServiceRequest Interactions from the network.

Constructor & Destructor Documentation

DtServiceRequestDecoder::DtServiceRequestDecoder ( DtExerciseConn *  exConn,
DtInterClassDesc *  classDesc 
)

constructor

virtual DtServiceRequestDecoder::~DtServiceRequestDecoder ( )
virtual

destructor

DtServiceRequestDecoder::DtServiceRequestDecoder ( const DtServiceRequestDecoder &  orig)

copy constructor

Member Function Documentation

DtServiceRequestDecoder::DtDECLARE_SERVREQ_PARAM_DECODER ( RequestingObject  )
protected

Individual parameter decoders.

DtServiceRequestDecoder::DtDECLARE_SERVREQ_PARAM_DECODER ( ServicingObject  )
protected
DtServiceRequestDecoder::DtDECLARE_SERVREQ_PARAM_DECODER ( ServiceType  )
protected
DtServiceRequestDecoder::DtDECLARE_SERVREQ_PARAM_DECODER ( SuppliesData  )
protected
DtServiceRequestDecoder::DtDECLARE_SERVREQ_PARAM_DECODER ( Supplies  )
protected

RPR FOM <= 0.8 compatibility.

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

assignment operator


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

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)