class DtPduFactory:
More...
Detailed Description
class DtPduFactory:
Instances of DtPduFactory are used to create PDUs (protocol data units) or packets, typically for DIS (as opposed to HLA).
Constructor & Destructor Documentation
| DtPduFactory::DtPduFactory |
( |
| ) |
|
| virtual DtPduFactory::~DtPduFactory |
( |
| ) |
|
|
virtual |
Member Function Documentation
Add a pdu creation function to the factory.
The function must return a new'ed pdu object which will be deleted by the user. Returns any previous pdu creation function which was replaced by the add.
Create the specified pdu.
Note: Caller is responsible for deleting. Returns NULL if pdu creation function is not in the factory.
| static int DtPduFactory::dfltPacketGood |
( |
const DtNetPacket * |
packet | ) |
|
|
static |
| virtual int DtPduFactory::packetGood |
( |
const DtNetPacket * |
packet | ) |
const |
|
virtual |
Returns whether packet is appropriate DIS version.
Member Data Documentation
myCreators is an array of theMaxPduKinds items.
| const int DtPduFactory::theMaxPduKinds |
|
staticprotected |
The documentation for this class was generated from the following file: