VR-Link API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtUnknownInteraction Class Reference

class DtUnknownInteraction: More...

+ Inheritance diagram for DtUnknownInteraction:
+ Collaboration diagram for DtUnknownInteraction:

List of all members.

Public Member Functions

 DtUnknownInteraction ()
 default constructor
 DtUnknownInteraction (RTI::InteractionClassHandle handle, const RTI::ParameterHandleValuePairSet &pvList)
 constructor
virtual ~DtUnknownInteraction ()
 destructor
 DtUnknownInteraction (const DtUnknownInteraction &orig)
 copy constructor
DtUnknownInteractionoperator= (const DtUnknownInteraction &orig)
 assignment operator
virtual const
RTI::ParameterHandleValuePairSet & 
phvps () const
 Get the parameter handle value pair set for the interaction.
virtual void setFromPhvps (const RTI::ParameterHandleValuePairSet &pvList)
 Decode into this object from parameter value list.
virtual void setExConn (DtExerciseConn *exConn, DtInterClassDesc *classDesc)
 Sets the interaction's ExerciseConn and class descriptor.
virtual void printData () const
 Just prints the parameters.
virtual const char * name () const
 Name of the interaction.

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtUnknownInteraction.
static void addCallback (RTI::InteractionClassHandle handle, DtExerciseConn *conn, DtUnknownInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
 Add (register)/Remove (deregister) function to be called when interaction with specified class handle occurs.
static void removeCallback (RTI::InteractionClassHandle handle, DtExerciseConn *conn, DtUnknownInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())

Protected Member Functions

void internalSetFromPhvps (const RTI::ParameterHandleValuePairSet &pvList)
 Decode into this object from parameter value list.

Protected Attributes

RTI::ParameterHandleValuePairSet * myParams
RTI::InteractionClassHandle myHandle

Detailed Description

class DtUnknownInteraction:

Instances of DtUnknownInteraction are used to represent Interactions for which there is no derived DtInteraction.


Constructor & Destructor Documentation

default constructor

DtUnknownInteraction::DtUnknownInteraction ( RTI::InteractionClassHandle  handle,
const RTI::ParameterHandleValuePairSet &  pvList 
)

constructor

destructor

copy constructor


Member Function Documentation

static void DtUnknownInteraction::addCallback ( RTI::InteractionClassHandle  handle,
DtExerciseConn conn,
DtUnknownInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]

Add (register)/Remove (deregister) function to be called when interaction with specified class handle occurs.

Create a DtUnknownInteraction.

Caller is responsible for deletion.

void DtUnknownInteraction::internalSetFromPhvps ( const RTI::ParameterHandleValuePairSet &  pvList) [protected]

Decode into this object from parameter value list.

Non-virtual, since meant to be called from ctor.

virtual const char* DtUnknownInteraction::name ( ) const [virtual]

Name of the interaction.

Implements DtInteraction.

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

assignment operator

virtual const RTI::ParameterHandleValuePairSet& DtUnknownInteraction::phvps ( ) const [virtual]

Get the parameter handle value pair set for the interaction.

Implements DtInteraction.

virtual void DtUnknownInteraction::printData ( ) const [virtual]

Just prints the parameters.

Reimplemented from DtInteraction.

static void DtUnknownInteraction::removeCallback ( RTI::InteractionClassHandle  handle,
DtExerciseConn conn,
DtUnknownInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
virtual void DtUnknownInteraction::setExConn ( DtExerciseConn exConn,
DtInterClassDesc classDesc 
) [virtual]

Sets the interaction's ExerciseConn and class descriptor.

If classDesc is NULL, we use the classDesc associated with the handle on which the interaction was created. Without being told what ExConn or class descriptor to use, many of the HLA-specific functions won't work properly.

Reimplemented from DtInteraction.

virtual void DtUnknownInteraction::setFromPhvps ( const RTI::ParameterHandleValuePairSet &  pvList) [virtual]

Decode into this object from parameter value list.

Implements DtInteraction.


Member Data Documentation

RTI::InteractionClassHandle DtUnknownInteraction::myHandle [protected]
RTI::ParameterHandleValuePairSet* DtUnknownInteraction::myParams [protected]

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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)