![]() |
VR-Link API Documentation for HLA Evolved
|
class DtRecordRInteraction: More...
Inheritance diagram for DtRecordRInteraction:
Collaboration diagram for DtRecordRInteraction:Public Member Functions | |
| DtRecordRInteraction () | |
| default constructor | |
| DtRecordRInteraction (const DtRecordRInteraction &other) | |
| copy constructor | |
| virtual | ~DtRecordRInteraction () |
| destructor | |
| DtRecordRInteraction & | operator= (const DtRecordRInteraction &other) |
| assignment operator | |
| virtual void | printData () const |
| Print out interaction's data to DtInfo. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the interaction's data to the specified stream. | |
| virtual void | setOriginatingEntityID (const DtEntityIdentifier &entity) |
| Set/Get originator ID. | |
| virtual const DtEntityIdentifier & | originatingEntityID () const |
| virtual void | setReceivingEntityID (const DtEntityIdentifier &entity) |
| Set/Get receiver ID. | |
| virtual const DtEntityIdentifier | receivingEntityID () const |
| virtual void | setRequestID (DtU32 id) |
| Set/Get request ID. | |
| virtual DtU32 | requestID () const |
| virtual void | setReqRelService (enum DtRequiredReliabilityService service) |
| Set/Get required reliability service. | |
| virtual DtRequiredReliabilityService | reqRelService () const |
| virtual void | setEventType (DtEventType type) |
| Set/Get the event type. | |
| virtual DtEventType | eventType () const |
| virtual void | setResponseSerialNumber (DtU32 num) |
| Set/Get the response serial number. | |
| virtual DtU32 | responseSerialNumber () const |
| virtual void | setNumRecordSets (DtU32 number) |
| Set/Get the number of record sets in this list. | |
| virtual DtU32 | numRecordSets () const |
| virtual bool | setRecordSet (int index, const DtRecordSet &set) |
| Set/Get the record set at the specified index. | |
| virtual const DtRecordSet & | recordSet (int index, bool *valid=NULL) |
| virtual bool | getRecordSet (int index, DtRecordSet &recSet) const |
| a separate Get Function For backwards Compatibility | |
| virtual const DtRecordSetList & | recordSetList () const |
| They exist for the mapper to use for conversion to net data. | |
| virtual DtRecordSetList * | recordSetList () |
| virtual const char * | name () const |
| name of the interaction. | |
Static Public Member Functions | |
| static DtInteraction * | create () |
| Create a DtRecordRInteraction. | |
| static void | addCallback (DtExerciseConn *conn, DtRecordRInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register) / remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtRecordRInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtEntityIdentifier | myOriginatingEnt |
| DtEntityIdentifier | myReceivingEnt |
| DtU32 | myRequestId |
| DtEventType | myEventType |
| DtU32 | myResponceSerialNumber |
| DtRequiredReliabilityService | myRequiredReliabilityService |
| DtRecordSetList | myRecordSetList |
class DtRecordRInteraction:
Instances of DtRecordRInteraction are used to represent RecordR Interactions in the FOM.
default constructor
| DtRecordRInteraction::DtRecordRInteraction | ( | const DtRecordRInteraction & | other | ) |
copy constructor
| virtual DtRecordRInteraction::~DtRecordRInteraction | ( | ) | [virtual] |
destructor
| static void DtRecordRInteraction::addCallback | ( | DtExerciseConn * | conn, |
| DtRecordRInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register) / remove (deregister) function to be called when interaction occurs.
| static DtInteraction* DtRecordRInteraction::create | ( | ) | [static] |
Create a DtRecordRInteraction.
Caller is responsible for the deletion
| DtEventType DtRecordRInteraction::eventType | ( | ) | const [inline, virtual] |
References myEventType.
| virtual bool DtRecordRInteraction::getRecordSet | ( | int | index, |
| DtRecordSet & | recSet | ||
| ) | const [virtual] |
a separate Get Function For backwards Compatibility
| const char * DtRecordRInteraction::name | ( | ) | const [inline, virtual] |
| virtual DtU32 DtRecordRInteraction::numRecordSets | ( | ) | const [virtual] |
| DtRecordRInteraction& DtRecordRInteraction::operator= | ( | const DtRecordRInteraction & | other | ) |
assignment operator
| const DtEntityIdentifier & DtRecordRInteraction::originatingEntityID | ( | ) | const [inline, virtual] |
References myOriginatingEnt.
| virtual void DtRecordRInteraction::printData | ( | ) | const [virtual] |
Print out interaction's data to DtInfo.
Reimplemented from DtInteraction.
| virtual void DtRecordRInteraction::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the interaction's data to the specified stream.
Reimplemented from DtInteraction.
| const DtEntityIdentifier DtRecordRInteraction::receivingEntityID | ( | ) | const [inline, virtual] |
References myReceivingEnt.
| virtual const DtRecordSet& DtRecordRInteraction::recordSet | ( | int | index, |
| bool * | valid = NULL |
||
| ) | [virtual] |
| const DtRecordSetList & DtRecordRInteraction::recordSetList | ( | ) | const [inline, virtual] |
They exist for the mapper to use for conversion to net data.
References myRecordSetList.
| DtRecordSetList * DtRecordRInteraction::recordSetList | ( | ) | [inline, virtual] |
References myRecordSetList.
| static void DtRecordRInteraction::removeCallback | ( | DtExerciseConn * | conn, |
| DtRecordRInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| DtRequiredReliabilityService DtRecordRInteraction::reqRelService | ( | ) | const [inline, virtual] |
References myRequiredReliabilityService.
| DtU32 DtRecordRInteraction::requestID | ( | ) | const [inline, virtual] |
References myRequestId.
| DtU32 DtRecordRInteraction::responseSerialNumber | ( | ) | const [inline, virtual] |
References myResponceSerialNumber.
| void DtRecordRInteraction::setEventType | ( | DtEventType | type | ) | [inline, virtual] |
Set/Get the event type.
References myEventType.
| virtual void DtRecordRInteraction::setNumRecordSets | ( | DtU32 | number | ) | [virtual] |
Set/Get the number of record sets in this list.
When the number of record sets are changed, old records are not preserved.
| void DtRecordRInteraction::setOriginatingEntityID | ( | const DtEntityIdentifier & | entity | ) | [inline, virtual] |
Set/Get originator ID.
| void DtRecordRInteraction::setReceivingEntityID | ( | const DtEntityIdentifier & | entity | ) | [inline, virtual] |
Set/Get receiver ID.
References myReceivingEnt.
| virtual bool DtRecordRInteraction::setRecordSet | ( | int | index, |
| const DtRecordSet & | set | ||
| ) | [virtual] |
Set/Get the record set at the specified index.
RecordSetPDU used getRecordSet, here we use recordSet
| void DtRecordRInteraction::setReqRelService | ( | enum DtRequiredReliabilityService | service | ) | [inline, virtual] |
Set/Get required reliability service.
References myRequiredReliabilityService.
| void DtRecordRInteraction::setRequestID | ( | DtU32 | id | ) | [inline, virtual] |
Set/Get request ID.
References myRequestId.
| void DtRecordRInteraction::setResponseSerialNumber | ( | DtU32 | num | ) | [inline, virtual] |
Set/Get the response serial number.
References myResponceSerialNumber.
DtEventType DtRecordRInteraction::myEventType [protected] |
Referenced by eventType(), and setEventType().
Referenced by originatingEntityID().
Referenced by receivingEntityID(), and setReceivingEntityID().
DtRecordSetList DtRecordRInteraction::myRecordSetList [protected] |
Referenced by recordSetList().
DtU32 DtRecordRInteraction::myRequestId [protected] |
Referenced by requestID(), and setRequestID().
Referenced by reqRelService(), and setReqRelService().
DtU32 DtRecordRInteraction::myResponceSerialNumber [protected] |
Referenced by responseSerialNumber(), and setResponseSerialNumber().