![]() |
VR-Link API Documentation for DIS
|
Instances of DtStopFreezeRPdu are used to send/receive reliable stop/freeze PDUs. More...
Inheritance diagram for DtStopFreezeRPdu:
Collaboration diagram for DtStopFreezeRPdu:Public Member Functions | |
| DtStopFreezeRPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| Constructors. | |
| DtStopFreezeRPdu (const DtNetStopFreezeRPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtStopFreezeRPdu (const DtEntityIdentifier &to, const DtEntityIdentifier &from, const DtTime realTime, DtStopReason reason, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) | |
| DtStopFreezeRPdu (const DtStopFreezeRPdu &orig) | |
| virtual | ~DtStopFreezeRPdu () |
| destructor | |
| DtStopFreezeRPdu & | operator= (const DtStopFreezeRPdu &orig) |
| Assignment operator. | |
| virtual void | setRealWorldTime (const DtTime time) |
| Set/Get real world time. | |
| virtual DtTime | realWorldTime () const |
| virtual void | setReason (DtStopReason reason) |
| Set/Get the stop reason. | |
| virtual DtStopReason | reason () const |
| virtual void | setFrozenBehavior (int behavior) |
| Set/Get the frozen behavior. | |
| virtual int | frozenBehavior () const |
| virtual void | setReqRelService (DtRequiredReliabilityService value) |
| Set/Get the required reliability service. | |
| virtual DtRequiredReliabilityService | reqRelService () const |
| virtual void | setRequestId (int id) |
| Set/Get the request id. | |
| virtual int | requestId () const |
| virtual void | printData () const |
| Print the data contained by this PDU. | |
| virtual void | printDataToStream (std::ostream &stream) const |
| Print the data to a stream. | |
Static Public Member Functions | |
| static DtPdu * | create (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER) |
| Create a DtStopFreezeRPdu. | |
| static void | addCallback (DtExerciseConn *conn, DtStopFreezeRPduCb cb, void *usr) |
| Add (register)/Remove (deregister) function to be called when pdu is received. | |
| static void | removeCallback (DtExerciseConn *conn, DtStopFreezeRPduCb cb, void *usr) |
Protected Member Functions | |
| virtual DtPduKind | internalGetPduKind () const |
| Returns the internal PDU kind. | |
Static Protected Attributes | |
| static const int | theStaticSize |
Instances of DtStopFreezeRPdu are used to send/receive reliable stop/freeze PDUs.
Constructors.
| DtStopFreezeRPdu::DtStopFreezeRPdu | ( | const DtNetStopFreezeRPdu * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
| DtStopFreezeRPdu::DtStopFreezeRPdu | ( | const DtEntityIdentifier & | to, |
| const DtEntityIdentifier & | from, | ||
| const DtTime | realTime, | ||
| DtStopReason | reason, | ||
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) |
| DtStopFreezeRPdu::DtStopFreezeRPdu | ( | const DtStopFreezeRPdu & | orig | ) |
| virtual DtStopFreezeRPdu::~DtStopFreezeRPdu | ( | ) | [virtual] |
destructor
| static void DtStopFreezeRPdu::addCallback | ( | DtExerciseConn * | conn, |
| DtStopFreezeRPduCb | cb, | ||
| void * | usr | ||
| ) | [static] |
Add (register)/Remove (deregister) function to be called when pdu is received.
| static DtPdu* DtStopFreezeRPdu::create | ( | const DtNetPacket * | initial, |
| DtBufferPtr | buffer = DtUSE_INTERNAL_BUFFER |
||
| ) | [static] |
Create a DtStopFreezeRPdu.
Caller is responsible for deletion.
| virtual int DtStopFreezeRPdu::frozenBehavior | ( | ) | const [virtual] |
| DtPduKind DtStopFreezeRPdu::internalGetPduKind | ( | ) | const [inline, protected, virtual] |
| DtStopFreezeRPdu& DtStopFreezeRPdu::operator= | ( | const DtStopFreezeRPdu & | orig | ) |
Assignment operator.
| virtual void DtStopFreezeRPdu::printData | ( | ) | const [virtual] |
Print the data contained by this PDU.
Reimplemented from DtSimanPdu.
| virtual void DtStopFreezeRPdu::printDataToStream | ( | std::ostream & | stream | ) | const [virtual] |
Print the data to a stream.
Reimplemented from DtSimanPdu.
| virtual DtTime DtStopFreezeRPdu::realWorldTime | ( | ) | const [virtual] |
| virtual DtStopReason DtStopFreezeRPdu::reason | ( | ) | const [virtual] |
| static void DtStopFreezeRPdu::removeCallback | ( | DtExerciseConn * | conn, |
| DtStopFreezeRPduCb | cb, | ||
| void * | usr | ||
| ) | [static] |
| virtual DtRequiredReliabilityService DtStopFreezeRPdu::reqRelService | ( | ) | const [virtual] |
| virtual int DtStopFreezeRPdu::requestId | ( | ) | const [virtual] |
| virtual void DtStopFreezeRPdu::setFrozenBehavior | ( | int | behavior | ) | [virtual] |
Set/Get the frozen behavior.
| virtual void DtStopFreezeRPdu::setRealWorldTime | ( | const DtTime | time | ) | [virtual] |
Set/Get real world time.
| virtual void DtStopFreezeRPdu::setReason | ( | DtStopReason | reason | ) | [virtual] |
Set/Get the stop reason.
| virtual void DtStopFreezeRPdu::setReqRelService | ( | DtRequiredReliabilityService | value | ) | [virtual] |
Set/Get the required reliability service.
| virtual void DtStopFreezeRPdu::setRequestId | ( | int | id | ) | [virtual] |
Set/Get the request id.
const int DtStopFreezeRPdu::theStaticSize [static, protected] |