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