Instances of DtPduEncoderFactory are used to create encoders which know how to encode a state repository (or host representation) into a DIS Pdu (or network representation).
More...
Detailed Description
Instances of DtPduEncoderFactory are used to create encoders which know how to encode a state repository (or host representation) into a DIS Pdu (or network representation).
Member Typedef Documentation
Constructor & Destructor Documentation
| virtual DtPduEncoderFactory::~DtPduEncoderFactory |
( |
| ) |
|
|
virtual |
copy constructor - not implemented.
Member Function Documentation
Add a encoder prototype to the factory.
The encoder prototype will be cloned by createEncoder when called for the appropriate handle. Caller deletes the encoder, but AFTER the encoder factory no longer needs it. Returns any previous encoder which was replaced by the add.
| virtual void DtPduEncoderFactory::clearEncoder |
( |
DtPduKind |
kind | ) |
|
|
virtual |
remove this specific encoder from the factory.
If another encoder is not added then this pdu will not encode correctly.
Create an encoder for the specified object class.
Note: Caller is responsible for deleting. Returns NULL if encoder creation function is not in the factory.
Returns the encoder prototype associated with handle by a previous call to addEncoder.
| virtual void DtPduEncoderFactory::initialize |
( |
| ) |
|
|
virtual |
assignment operator - not implemented.
Member Data Documentation
The documentation for this class was generated from the following file: