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

Instances of DtCreateEntityInteraction are used to represent CreateEntity Interactions in the RPR FOM. More...

+ Inheritance diagram for DtCreateEntityInteraction:
+ Collaboration diagram for DtCreateEntityInteraction:

List of all members.

Public Member Functions

 DtCreateEntityInteraction ()
 default constructor
virtual ~DtCreateEntityInteraction ()
 destructor
 DtCreateEntityInteraction (const DtCreateEntityInteraction &orig)
 copy constructor
DtCreateEntityInteractionoperator= (const DtCreateEntityInteraction &orig)
 assignment operator
virtual void printData () const
 Print the interaction's data to DtInfo.
virtual void printDataToStream (std::ostream &stream) const
 Print the interaction's data to the specified stream.
virtual void setSenderId (const DtEntityIdentifier &id)
 Set/Get sender ID.
virtual const DtEntityIdentifiersenderId () const
virtual void setReceiverId (const DtEntityIdentifier &id)
 Set/Get receiver ID.
virtual const DtEntityIdentifierreceiverId () const
virtual void setRequestId (int id)
 Set/Get request ID.
virtual int requestId () const
virtual const char * name () const
 Name of the interaction. (Not necessarily the ClassName from the FOM.)

Static Public Member Functions

static DtInteractioncreate ()
 Create a DtCreateEntityInteraction.
static void addCallback (DtExerciseConn *conn, DtCreateEntityInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())
 Add (register)/Remove (deregister) function to be called when interaction occurs.
static void removeCallback (DtExerciseConn *conn, DtCreateEntityInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP())

Protected Attributes

DtEntityIdentifier myOrigEnt
DtEntityIdentifier myReceiveEnt
int myRequestId

Detailed Description

Instances of DtCreateEntityInteraction are used to represent CreateEntity Interactions in the RPR FOM.


Constructor & Destructor Documentation

default constructor

destructor

copy constructor


Member Function Documentation

static void DtCreateEntityInteraction::addCallback ( DtExerciseConn conn,
DtCreateEntityInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]

Add (register)/Remove (deregister) function to be called when interaction occurs.

Create a DtCreateEntityInteraction.

Caller is responsible for deletion.

const char * DtCreateEntityInteraction::name ( ) const [inline, virtual]

Name of the interaction. (Not necessarily the ClassName from the FOM.)

Implements DtInteraction.

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

assignment operator

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

Print the interaction's data to DtInfo.

Reimplemented from DtInteraction.

virtual void DtCreateEntityInteraction::printDataToStream ( std::ostream &  stream) const [virtual]

Print the interaction's data to the specified stream.

Reimplemented from DtInteraction.

const DtEntityIdentifier & DtCreateEntityInteraction::receiverId ( ) const [inline, virtual]

References myReceiveEnt.

static void DtCreateEntityInteraction::removeCallback ( DtExerciseConn conn,
DtCreateEntityInteractionCb  cb,
void *  usr,
DtDDMRegionSP  region = DtDDMRegionSP() 
) [static]
int DtCreateEntityInteraction::requestId ( ) const [inline, virtual]

References myRequestId.

const DtEntityIdentifier & DtCreateEntityInteraction::senderId ( ) const [inline, virtual]

References myOrigEnt.

void DtCreateEntityInteraction::setReceiverId ( const DtEntityIdentifier id) [inline, virtual]

Set/Get receiver ID.

References myReceiveEnt.

void DtCreateEntityInteraction::setRequestId ( int  id) [inline, virtual]

Set/Get request ID.

References myRequestId.

void DtCreateEntityInteraction::setSenderId ( const DtEntityIdentifier id) [inline, virtual]

Set/Get sender ID.

References myOrigEnt.


Member Data Documentation

Referenced by senderId(), and setSenderId().

Referenced by receiverId(), and setReceiverId().

Referenced by requestId(), and setRequestId().


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)