Instances of DtPduDecoderFactory are used to create Decoders which know how to decode an DIS message (or network representation) into a repository (or host representation).
More...
Detailed Description
Instances of DtPduDecoderFactory are used to create Decoders 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 DtInteractionDecoder pointers.
Constructor & Destructor Documentation
| DtPduDecoderFactory::DtPduDecoderFactory |
( |
| ) |
|
| virtual DtPduDecoderFactory::~DtPduDecoderFactory |
( |
| ) |
|
|
virtual |
copy constructor Copies across added Decoder creation functions.
Member Function Documentation
Add a Decoder prototype to the factory.
The Decoder prototype will be cloned by createDecoder when called for the appropriate handle. Caller deletes the Decoder, but AFTER the Decoder factory no longer needs it. Returns any previous Decoder which was replaced by the add.
| virtual void DtPduDecoderFactory::addDefaultDecoders |
( |
DtExerciseConn * |
exConn, |
|
|
int |
disVersion |
|
) |
| |
|
virtual |
Add all decoders for your specific version of DIS.
Create a Decoder for the specified interaction class.
Note: Caller is responsible for deleting. Returns NULL if Decoder creation function is not in the factory.
Returns the Decoder prototype associated with handle by a previous call to addDecoder.
assignment operator Copies across added Decoder creation functions.
Member Data Documentation
The documentation for this class was generated from the following file: