![]() |
VR-Link API Documentation for DIS
|
Base class for all DIS state decoders. More...
Inheritance diagram for DtStateDecoder:
Collaboration diagram for DtStateDecoder:Public Member Functions | |
| DtStateDecoder (DtExerciseConn *exConn) | |
| Constructor. | |
| virtual | ~DtStateDecoder () |
| Destructor. | |
| DtStateDecoder (const DtStateDecoder &orig) | |
| Copy constructor. | |
| DtStateDecoder & | operator= (const DtStateDecoder &orig) |
| Assignment operator. | |
| virtual DtPduDecoder * | clone () const =0 |
| clone. | |
| virtual void | decode (DtPdu *pdu, DtPduFactory *pduFactory=0) |
| This is a dummy method for backwards compatibility with DIS decoders. | |
| virtual void | decodeAttributeRecords (const DtPduWithAttributeRecordSets &pdu, DtStateRepository *stateRep) |
| Decode the Attribute Records portion of a PDU into an EntityStateRepository. | |
Public Member Functions inherited from DtPduDecoder | |
| virtual | ~DtPduDecoder () |
Protected Attributes | |
| DtExerciseConn * | myExConn |
Base class for all DIS state decoders.
| DtStateDecoder::DtStateDecoder | ( | DtExerciseConn * | exConn | ) |
Constructor.
|
virtual |
Destructor.
| DtStateDecoder::DtStateDecoder | ( | const DtStateDecoder & | orig | ) |
Copy constructor.
|
pure virtual |
clone.
Must be defined in your child class. This is easily done by defining DtCLONE_DECODER(DtChildClass)
Implements DtPduDecoder.
Implemented in DtDirectedEnergyFireDecoder.
|
virtual |
This is a dummy method for backwards compatibility with DIS decoders.
Implements DtPduDecoder.
Reimplemented in DtDirectedEnergyFireDecoder.
|
virtual |
Decode the Attribute Records portion of a PDU into an EntityStateRepository.
in DIS 7
Reimplemented in DtEntityStateDecoder.
| DtStateDecoder& DtStateDecoder::operator= | ( | const DtStateDecoder & | orig | ) |
Assignment operator.
|
protected |