![]() |
VR-Link API Documentation for HLA Evolved
|
class DtEnvironmentObjectTransactionDecoder: More...
Inheritance diagram for DtEnvironmentObjectTransactionDecoder:
Collaboration diagram for DtEnvironmentObjectTransactionDecoder:Public Member Functions | |
| DtEnvironmentObjectTransactionDecoder (DtExerciseConn *exConn, DtInterClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtEnvironmentObjectTransactionDecoder () |
| destructor | |
| DtEnvironmentObjectTransactionDecoder (const DtEnvironmentObjectTransactionDecoder &orig) | |
| copy constructor | |
| DtEnvironmentObjectTransactionDecoder & | operator= (const DtEnvironmentObjectTransactionDecoder &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 DtInteractionDecoder * | clone () const |
| Returns a new-ed clone of this object. | |
| virtual DtInteractionDecoder * | clone (DtInterClassDesc *interDesc) const |
| Returns a new-ed clone of this object which corresponds to the inter description interDesc. | |
Protected Member Functions | |
| DtDECLARE_ENV_OBJ_PARAM_DECODER (ObjectIdentifier) | |
| Individual parameter decoders. | |
| 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. | |
| DtInteractionDecoder & | operator= (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 DtNetEventId * | eventIdParameterData (const RTI::ParameterHandleValuePairSet ¶ms, 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 | |
| DtExerciseConn * | myExConn |
| DtInterClassDesc * | myClassDesc |
| RTI::InteractionClassHandle | myClassHandle |
| std::map< RTI::ParameterHandle, DtParameterDecoder > | myList |
| myList is an array of classDesc->maxParamHandle() items. | |
class DtEnvironmentObjectTransactionDecoder:
Instances of DtEnvironmentObjectTransactionDecoder are used to decode Environment Object Transactions from the network.
| DtEnvironmentObjectTransactionDecoder::DtEnvironmentObjectTransactionDecoder | ( | DtExerciseConn * | exConn, |
| DtInterClassDesc * | classDesc | ||
| ) |
constructor
|
virtual |
destructor
| DtEnvironmentObjectTransactionDecoder::DtEnvironmentObjectTransactionDecoder | ( | const DtEnvironmentObjectTransactionDecoder & | orig | ) |
copy constructor
|
protected |
Individual parameter decoders.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| DtEnvironmentObjectTransactionDecoder& DtEnvironmentObjectTransactionDecoder::operator= | ( | const DtEnvironmentObjectTransactionDecoder & | orig | ) |
assignment operator