![]() |
VR-Link API Documentation for DIS
|
Go to the source code of this file.
Classes | |
| class | DtPduFactory |
| class DtPduFactory: More... | |
Defines | |
| #define | DtADD_PDU_CREATOR(x) addCreator(Dt##x##PduKind, &Dt##x##Pdu::create); |
| DtADD_PDU_CREATOR adds a PDU classes static create function to a PDU factory. | |
Typedefs | |
| typedef DtPdu *(* | DtPduCreator )(const DtNetPduHeader *packet, DtBufferPtr buffer) |
| PDU creation function signature. | |
| #define DtADD_PDU_CREATOR | ( | x | ) | addCreator(Dt##x##PduKind, &Dt##x##Pdu::create); |
DtADD_PDU_CREATOR adds a PDU classes static create function to a PDU factory.
For example, DtADD_PDU_CREATOR(EntityState) produces: addCreator(DtEntityStatePduKind, DtEntityStatePdu::create);
| typedef DtPdu*(* DtPduCreator)(const DtNetPduHeader *packet, DtBufferPtr buffer) |
PDU creation function signature.