VR-Link API Documentation for HLA 1516
Public Member Functions | Static Public 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::ParameterHandleValueMap &pvMap)
 constructor
virtual ~DtUnknownInteraction ()
 destructor
 DtUnknownInteraction (const DtUnknownInteraction &orig)
 copy constructor
DtUnknownInteractionoperator= (const DtUnknownInteraction &orig)
 assignment operator
virtual const
RTI::ParameterHandleValueMap & 
phvm () const
 Get the parameter handle value pair set for the interaction.
virtual void setFromPhvm (const RTI::ParameterHandleValueMap &pvMap)
 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 Attributes

RTI::ParameterHandleValueMap myParams
 Decode into this object from parameter value list.
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::ParameterHandleValueMap &  pvMap 
)

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.

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

Name of the interaction.

Implements DtInteraction.

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

assignment operator

virtual const RTI::ParameterHandleValueMap& DtUnknownInteraction::phvm ( ) 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::setFromPhvm ( const RTI::ParameterHandleValueMap &  pvMap) [virtual]

Decode into this object from parameter value list.

Implements DtInteraction.


Member Data Documentation

RTI::InteractionClassHandle DtUnknownInteraction::myHandle [protected]
RTI::ParameterHandleValueMap DtUnknownInteraction::myParams [protected]

Decode into this object from parameter value list.

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


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)