![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtSetDataInteraction are used to represent SetData Interactions in the RPR FOM. More...
Inheritance diagram for DtSetDataInteraction:
Collaboration diagram for DtSetDataInteraction:Public Member Functions | |
| DtSetDataInteraction () | |
| default constructor | |
| virtual | ~DtSetDataInteraction () |
| destructor | |
| DtSetDataInteraction (const DtSetDataInteraction &orig) | |
| copy constructor | |
| DtSetDataInteraction & | operator= (const DtSetDataInteraction &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 (unsigned long id) |
| Set/Get request ID. | |
| virtual unsigned long | 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 DtSetDataInteraction. | |
| static void | addCallback (DtExerciseConn *conn, DtSetDataInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register)/Remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtSetDataInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtEntityIdentifier | myOrigEnt |
| DtEntityIdentifier | myReceiveEnt |
| unsigned long | myRequestId |
Instances of DtSetDataInteraction are used to represent SetData Interactions in the RPR FOM.
The variable and fixed datum records are accessed through DtInteractionWithData member functions.
default constructor
| virtual DtSetDataInteraction::~DtSetDataInteraction | ( | ) | [virtual] |
destructor
| DtSetDataInteraction::DtSetDataInteraction | ( | const DtSetDataInteraction & | orig | ) |
copy constructor
| static void DtSetDataInteraction::addCallback | ( | DtExerciseConn * | conn, |
| DtSetDataInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register)/Remove (deregister) function to be called when interaction occurs.
| static DtInteraction* DtSetDataInteraction::create | ( | ) | [static] |
Create a DtSetDataInteraction.
Caller is responsible for deletion.
| virtual const char* DtSetDataInteraction::name | ( | ) | const [virtual] |
Name of the interaction. (Not necessarily the ClassName from the FOM.)
Implements DtInteraction.
| DtSetDataInteraction& DtSetDataInteraction::operator= | ( | const DtSetDataInteraction & | orig | ) |
assignment operator
| virtual void DtSetDataInteraction::printData | ( | ) | const [virtual] |
Print the interaction's data to DtInfo.
Reimplemented from DtInteractionWithData.
| virtual void DtSetDataInteraction::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to the specified stream.
Reimplemented from DtInteractionWithData.
| virtual const DtEntityIdentifier& DtSetDataInteraction::receiverId | ( | ) | const [virtual] |
| static void DtSetDataInteraction::removeCallback | ( | DtExerciseConn * | conn, |
| DtSetDataInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| virtual unsigned long DtSetDataInteraction::requestId | ( | ) | const [virtual] |
| virtual const DtEntityIdentifier& DtSetDataInteraction::senderId | ( | ) | const [virtual] |
| virtual void DtSetDataInteraction::setReceiverId | ( | const DtEntityIdentifier & | id | ) | [virtual] |
Set/Get receiver ID.
| virtual void DtSetDataInteraction::setRequestId | ( | unsigned long | id | ) | [virtual] |
Set/Get request ID.
| virtual void DtSetDataInteraction::setSenderId | ( | const DtEntityIdentifier & | id | ) | [virtual] |
Set/Get sender ID.
DtEntityIdentifier DtSetDataInteraction::myOrigEnt [protected] |
DtEntityIdentifier DtSetDataInteraction::myReceiveEnt [protected] |
unsigned long DtSetDataInteraction::myRequestId [protected] |