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