![]() |
VR-Link API Documentation for HLA Evolved
|
Instances of DtCreateEntityInteraction are used to represent CreateEntity Interactions in the RPR FOM. More...
Inheritance diagram for DtCreateEntityInteraction:
Collaboration diagram for DtCreateEntityInteraction:Public Member Functions | |
| DtCreateEntityInteraction () | |
| default constructor | |
| virtual | ~DtCreateEntityInteraction () |
| destructor | |
| DtCreateEntityInteraction (const DtCreateEntityInteraction &orig) | |
| copy constructor | |
| DtCreateEntityInteraction & | operator= (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 DtEntityIdentifier & | senderId () const |
| virtual void | setReceiverId (const DtEntityIdentifier &id) |
| Set/Get receiver ID. | |
| virtual const DtEntityIdentifier & | receiverId () 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 DtInteraction * | create () |
| 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 |
Instances of DtCreateEntityInteraction are used to represent CreateEntity Interactions in the RPR FOM.
default constructor
| virtual DtCreateEntityInteraction::~DtCreateEntityInteraction | ( | ) | [virtual] |
destructor
copy constructor
| 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.
| static DtInteraction* DtCreateEntityInteraction::create | ( | ) | [static] |
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.
Referenced by senderId(), and setSenderId().
Referenced by receiverId(), and setReceiverId().
int DtCreateEntityInteraction::myRequestId [protected] |
Referenced by requestId(), and setRequestId().