![]() |
VR-Link API Documentation for HLA 1.3
|
An example subclass of DtPlatformDecoder for use with DtF18EntityStateRep. More...
Inheritance diagram for DtF18EntityDecoder:
Collaboration diagram for DtF18EntityDecoder:Public Member Functions | |
| DtF18EntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| Ctor. | |
| virtual | ~DtF18EntityDecoder () |
| destructor | |
Static Protected Member Functions | |
| static void | decodeSpecialF18Attribute (DtF18EntityStateRep *stateRep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| all Encoder/Decoder classes need to be static. | |
An example subclass of DtPlatformDecoder for use with DtF18EntityStateRep.
This example shows how to add one more attribute to an existing state repository.
| DtF18EntityDecoder::DtF18EntityDecoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) | [inline] |
Ctor.
References DtHlaStateDecoder::addDecoder(), and decodeSpecialF18Attribute().
| virtual DtF18EntityDecoder::~DtF18EntityDecoder | ( | ) | [inline, virtual] |
destructor
| static void DtF18EntityDecoder::decodeSpecialF18Attribute | ( | DtF18EntityStateRep * | stateRep, |
| const RTI::AttributeHandleValuePairSet & | attrs, | ||
| int | pairSetIndex | ||
| ) | [inline, static, protected] |
all Encoder/Decoder classes need to be static.
All Decoder classes need to have this function signature. Since they are not virtual you can not overload them.
References DtDecodingBuffer(), and DtF18EntityStateRep::setF18Attribute().
Referenced by DtF18EntityDecoder().