![]() |
VR-Link API Documentation for HLA Evolved
|
Inheritance diagram for DtSetRecordInteraction:
Collaboration diagram for DtSetRecordInteraction:Public Member Functions | |
| DtSetRecordInteraction () | |
| DtSetRecordInteraction (const DtSetRecordInteraction &other) | |
| copy Constructor | |
| virtual | ~DtSetRecordInteraction () |
| destructor | |
| DtSetRecordInteraction & | operator= (const DtSetRecordInteraction &other) |
| assignment operator | |
| virtual void | printData () const |
| Print out interaction's data. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print out the interaction's data to a 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 | 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 DtSetRecordInteraction. | |
| static void | addCallback (DtExerciseConn *conn, DtSetRecordInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
| Add (register) / remove (deregister) function to be called when interaction occurs. | |
| static void | removeCallback (DtExerciseConn *conn, DtSetRecordInteractionCb cb, void *usr, DtDDMRegionSP region=DtDDMRegionSP()) |
Protected Attributes | |
| DtEntityIdentifier | myOriginatingEnt |
| DtEntityIdentifier | myReceivingEnt |
| DtU32 | myRequestId |
| DtRequiredReliabilityService | myRequiredReliabilityService |
| DtRecordSetList | myRecordSetList |
| DtSetRecordInteraction::DtSetRecordInteraction | ( | const DtSetRecordInteraction & | other | ) |
copy Constructor
| virtual DtSetRecordInteraction::~DtSetRecordInteraction | ( | ) | [virtual] |
destructor
| static void DtSetRecordInteraction::addCallback | ( | DtExerciseConn * | conn, |
| DtSetRecordInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
Add (register) / remove (deregister) function to be called when interaction occurs.
| static DtInteraction* DtSetRecordInteraction::create | ( | ) | [static] |
Create a DtSetRecordInteraction.
Caller is responsible for the deletion
| virtual bool DtSetRecordInteraction::getRecordSet | ( | int | index, |
| DtRecordSet & | recSet | ||
| ) | const [virtual] |
a separate Get Function For backwards compatibility
| const char * DtSetRecordInteraction::name | ( | ) | const [inline, virtual] |
| virtual DtU32 DtSetRecordInteraction::numRecordSets | ( | ) | const [virtual] |
| DtSetRecordInteraction& DtSetRecordInteraction::operator= | ( | const DtSetRecordInteraction & | other | ) |
assignment operator
| const DtEntityIdentifier & DtSetRecordInteraction::originatingEntityID | ( | ) | const [inline, virtual] |
References myOriginatingEnt.
| virtual void DtSetRecordInteraction::printData | ( | ) | const [virtual] |
Print out interaction's data.
Reimplemented from DtInteraction.
| virtual void DtSetRecordInteraction::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print out the interaction's data to a stream.
Reimplemented from DtInteraction.
| const DtEntityIdentifier DtSetRecordInteraction::receivingEntityID | ( | ) | const [inline, virtual] |
References myReceivingEnt.
| virtual const DtRecordSet& DtSetRecordInteraction::recordSet | ( | int | index, |
| bool * | valid = NULL |
||
| ) | [virtual] |
| const DtRecordSetList & DtSetRecordInteraction::recordSetList | ( | ) | const [inline, virtual] |
They exist for the mapper to use for conversion to net data.
References myRecordSetList.
| DtRecordSetList * DtSetRecordInteraction::recordSetList | ( | ) | [inline, virtual] |
References myRecordSetList.
| static void DtSetRecordInteraction::removeCallback | ( | DtExerciseConn * | conn, |
| DtSetRecordInteractionCb | cb, | ||
| void * | usr, | ||
| DtDDMRegionSP | region = DtDDMRegionSP() |
||
| ) | [static] |
| DtRequiredReliabilityService DtSetRecordInteraction::reqRelService | ( | ) | const [inline, virtual] |
References myRequiredReliabilityService.
| DtU32 DtSetRecordInteraction::requestID | ( | ) | const [inline, virtual] |
References myRequestId.
| virtual void DtSetRecordInteraction::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 DtSetRecordInteraction::setOriginatingEntityID | ( | const DtEntityIdentifier & | entity | ) | [inline, virtual] |
Set/Get originator ID.
| void DtSetRecordInteraction::setReceivingEntityID | ( | const DtEntityIdentifier & | entity | ) | [inline, virtual] |
Set/Get receiver ID.
References myReceivingEnt.
| virtual bool DtSetRecordInteraction::setRecordSet | ( | int | index, |
| const DtRecordSet & | set | ||
| ) | [virtual] |
Set/Get the record set at the specified index.
RecordSetPDU used getRecordSet, here we use recordSet
| void DtSetRecordInteraction::setReqRelService | ( | enum DtRequiredReliabilityService | service | ) | [inline, virtual] |
Set/Get required reliability service.
References myRequiredReliabilityService.
| void DtSetRecordInteraction::setRequestID | ( | DtU32 | id | ) | [inline, virtual] |
Set/Get request ID.
References myRequestId.
Referenced by originatingEntityID().
Referenced by receivingEntityID(), and setReceivingEntityID().
Referenced by recordSetList().
DtU32 DtSetRecordInteraction::myRequestId [protected] |
Referenced by requestID(), and setRequestID().
Referenced by reqRelService(), and setReqRelService().