![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtAcknowledgeInteraction are used to represent Acknowledge Interactions in the RPR ROM. More...
Inheritance diagram for DtAcknowledgeInteraction:
Collaboration diagram for DtAcknowledgeInteraction:Public Member Functions | |
| DtAcknowledgeInteraction () | |
| default constructor | |
| virtual | ~DtAcknowledgeInteraction () |
| destructor | |
| DtAcknowledgeInteraction (const DtAcknowledgeInteraction &orig) | |
| copy constructor | |
| DtAcknowledgeInteraction & | operator= (const DtAcknowledgeInteraction &orig) |
| assignment operator | |
| virtual void | printData () const |
| Print the interaction's data. | |
| 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 | setAcknowledgeFlag (DtAcknowledgeFlag flag) |
| Set/Get acknowledge flag. | |
| virtual DtAcknowledgeFlag | acknowledgeFlag () const |
| virtual void | setResponseFlag (DtResponseFlag flag) |
| Set/Get response flag. | |
| virtual DtResponseFlag | responseFlag () 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 DtAcknowledgeInteraction. | |
| static void | addCallback (DtExerciseConn *conn, DtAcknowledgeInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register)/Remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtAcknowledgeInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtEntityIdentifier | myOrigEnt |
| DtEntityIdentifier | myReceiveEnt |
| int | myRequestId |
| DtAcknowledgeFlag | myAckFlag |
| DtResponseFlag | myRespFlag |
Instances of DtAcknowledgeInteraction are used to represent Acknowledge Interactions in the RPR ROM.
default constructor
| virtual DtAcknowledgeInteraction::~DtAcknowledgeInteraction | ( | ) | [virtual] |
destructor
copy constructor
| virtual DtAcknowledgeFlag DtAcknowledgeInteraction::acknowledgeFlag | ( | ) | const [virtual] |
| static void DtAcknowledgeInteraction::addCallback | ( | DtExerciseConn * | conn, |
| DtAcknowledgeInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register)/Remove (deregister) function to be called when interaction occurs.
| static DtInteraction* DtAcknowledgeInteraction::create | ( | ) | [static] |
Create a DtAcknowledgeInteraction.
Caller is responsible for deletion.
| virtual const char* DtAcknowledgeInteraction::name | ( | ) | const [virtual] |
Name of the interaction (Not necessarily the ClassName from the FOM).
Implements DtInteraction.
| DtAcknowledgeInteraction& DtAcknowledgeInteraction::operator= | ( | const DtAcknowledgeInteraction & | orig | ) |
assignment operator
| virtual void DtAcknowledgeInteraction::printData | ( | ) | const [virtual] |
Print the interaction's data.
Reimplemented from DtInteraction.
| virtual void DtAcknowledgeInteraction::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to the specified stream.
Reimplemented from DtInteraction.
| virtual const DtEntityIdentifier& DtAcknowledgeInteraction::receiverId | ( | ) | const [virtual] |
| static void DtAcknowledgeInteraction::removeCallback | ( | DtExerciseConn * | conn, |
| DtAcknowledgeInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| virtual int DtAcknowledgeInteraction::requestId | ( | ) | const [virtual] |
| virtual DtResponseFlag DtAcknowledgeInteraction::responseFlag | ( | ) | const [virtual] |
| virtual const DtEntityIdentifier& DtAcknowledgeInteraction::senderId | ( | ) | const [virtual] |
| virtual void DtAcknowledgeInteraction::setAcknowledgeFlag | ( | DtAcknowledgeFlag | flag | ) | [virtual] |
Set/Get acknowledge flag.
| virtual void DtAcknowledgeInteraction::setReceiverId | ( | const DtEntityIdentifier & | id | ) | [virtual] |
Set/Get receiver ID.
| virtual void DtAcknowledgeInteraction::setRequestId | ( | int | id | ) | [virtual] |
Set/Get request ID.
| virtual void DtAcknowledgeInteraction::setResponseFlag | ( | DtResponseFlag | flag | ) | [virtual] |
Set/Get response flag.
| virtual void DtAcknowledgeInteraction::setSenderId | ( | const DtEntityIdentifier & | id | ) | [virtual] |
Set/Get sender ID.
DtAcknowledgeFlag DtAcknowledgeInteraction::myAckFlag [protected] |
int DtAcknowledgeInteraction::myRequestId [protected] |
DtResponseFlag DtAcknowledgeInteraction::myRespFlag [protected] |