Instances of DtPduEncoderFactory are used to create Encoders which know how to decode an DIS message (or network representation) into a repository (or host representation).
More...
Detailed Description
Instances of DtPduEncoderFactory are used to create Encoders which know how to decode an DIS message (or network representation) into a repository (or host representation).
Member Typedef Documentation
A list that maps class handles (DtIntHashKeys) to DtInteractionEncoder pointers.
Constructor & Destructor Documentation
| DtPduEncoderFactory::DtPduEncoderFactory |
( |
| ) |
|
| virtual DtPduEncoderFactory::~DtPduEncoderFactory |
( |
| ) |
|
|
virtual |
copy constructor Copies across added Encoder creation functions.
Member Function Documentation
| virtual void DtPduEncoderFactory::addDefaultEncoders |
( |
DtExerciseConn * |
exConn, |
|
|
int |
disVersion |
|
) |
| |
|
virtual |
Add all encoders for your specific version of DIS.
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.
Create a Encoder for the specified interaction 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.
assignment operator Copies across added Encoder creation functions.
Member Data Documentation
The documentation for this class was generated from the following file: