![]() |
VR-Link API Documentation for HLA 1516
|
An example subclass of DtPlatformEncoder for use with DtF18EntityStateRep. More...
Inheritance diagram for DtF18EntityEncoder:
Collaboration diagram for DtF18EntityEncoder:Public Member Functions | |
| DtF18EntityEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| Constructor that registers the new attributes. | |
| virtual | ~DtF18EntityEncoder () |
Static Protected Member Functions | |
| static bool | needSpecialF18Attribute (const DtF18EntityStateRep &stateRep, const DtF18EntityStateRep &asSeenByRemote) |
| static void | encodeSpecialF18Attribute (const DtF18EntityStateRep &stateRep, RTI::AttributeHandleValuePairSet *avList, RTI::AttributeHandle attrHandle) |
An example subclass of DtPlatformEncoder for use with DtF18EntityStateRep.
This example shows how to add one more attribute to an existing state repository.
| DtF18EntityEncoder::DtF18EntityEncoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) | [inline] |
Constructor that registers the new attributes.
References DtHlaStateEncoder::addChecker(), DtHlaStateEncoder::addEncoder(), encodeSpecialF18Attribute(), and needSpecialF18Attribute().
| virtual DtF18EntityEncoder::~DtF18EntityEncoder | ( | ) | [inline, virtual] |
| static void DtF18EntityEncoder::encodeSpecialF18Attribute | ( | const DtF18EntityStateRep & | stateRep, |
| RTI::AttributeHandleValuePairSet * | avList, | ||
| RTI::AttributeHandle | attrHandle | ||
| ) | [inline, static, protected] |
| static bool DtF18EntityEncoder::needSpecialF18Attribute | ( | const DtF18EntityStateRep & | stateRep, |
| const DtF18EntityStateRep & | asSeenByRemote | ||
| ) | [inline, static, protected] |
References DtF18EntityStateRep::f18Attribute().
Referenced by DtF18EntityEncoder().