![]() |
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 | |
Public Member Functions inherited from DtPlatformDecoder | |
| DtPlatformDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtPlatformDecoder () |
| destructor | |
| DtPlatformDecoder (const DtPlatformDecoder &orig) | |
| copy constructor | |
| DtPlatformDecoder & | operator= (const DtPlatformDecoder &orig) |
| assignment operator | |
Public Member Functions inherited from DtPhysicalEntityDecoder | |
| DtPhysicalEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtPhysicalEntityDecoder () |
| destructor | |
| DtPhysicalEntityDecoder (const DtPhysicalEntityDecoder &orig) | |
| copy constructor | |
| DtPhysicalEntityDecoder & | operator= (const DtPhysicalEntityDecoder &orig) |
| assignment operator | |
Public Member Functions inherited from DtBaseEntityDecoder | |
| DtBaseEntityDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtBaseEntityDecoder () |
| destructor | |
| DtBaseEntityDecoder (const DtBaseEntityDecoder &orig) | |
| copy constructor | |
| DtBaseEntityDecoder & | operator= (const DtBaseEntityDecoder &orig) |
| assignment operator | |
| virtual DtHlaStateDecoder * | clone () const |
| Virtual function override. Return a new instance of this class. | |
| virtual DtHlaStateDecoder * | clone (DtObjClassDesc *classDesc) const |
| Returns a new-ed clone of this object which corresponds to the class description classDesc. | |
Public Member Functions inherited from DtHlaStateDecoder | |
| DtHlaStateDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor | |
| virtual | ~DtHlaStateDecoder () |
| destructor | |
| DtHlaStateDecoder (const DtHlaStateDecoder &orig) | |
| copy constructor | |
| DtHlaStateDecoder & | operator= (const DtHlaStateDecoder &orig) |
| assignment operator | |
| DtAttributeDecoder | addDecoder (RTI::AttributeHandle h, DtAttributeDecoder func) |
| Add/Remove a decoding function for the attribute specified by handle. | |
| DtAttributeDecoder | removeDecoder (RTI::AttributeHandle h) |
| DtAttributeDecoder | addDecoder (char *attrName, DtAttributeDecoder func, bool complain=true) |
| Add/Remove a decoding function for the attribute specified by name. | |
| DtAttributeDecoder | removeDecoder (char *attrName, bool complain=true) |
| virtual DtAttributeDecoder | decoder (const RTI::AttributeHandle &handle) const |
| Get the attribute decoder for the specified handle. | |
| virtual RTI::ObjectClassHandle | objectClassHandle () const |
| Get the object's class handle. | |
Static Protected Member Functions | |
| static void | decodeSpecialF18Attribute (DtF18EntityStateRep *stateRep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| all Encoder/Decoder classes need to be static. | |
Additional Inherited Members | |
Public Types inherited from DtHlaStateDecoder | |
| typedef void(* | DtAttributeDecoder )(DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &avlist, unsigned long pairSetIndex) |
| Attribute decoding function declaration. | |
Static Public Member Functions inherited from DtPlatformDecoder | |
| static DtHlaStateDecoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| Create a DtPlatformDecoder. | |
Static Public Attributes inherited from DtHlaStateDecoder | |
| static bool | theUseGetValuePointer |
Protected Types inherited from DtHlaStateDecoder | |
| typedef std::map < RTI::AttributeHandle, DtAttributeDecoder > | AttributeHandleDecoderMap |
| typedef std::map < RTI::AttributeHandle, bool > | AttributeHandleBoolMap |
Protected Member Functions inherited from DtPlatformDecoder | |
| void | addMyDecoders () |
| Add decoding functions for the attributes. | |
| DtDECLARE_ENTITY_ATTR_DECODER (AfterburnerOn) | |
| Static decode<AttributeName> member functions. | |
| DtDECLARE_ENTITY_ATTR_DECODER (AntiCollisionLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (BlackOutBrakeLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (BlackOutLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (BrakeLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (FormationLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HatchState) | |
| DtDECLARE_ENTITY_ATTR_DECODER (HeadLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (InteriorLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (LandingLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (LauncherRaised) | |
| DtDECLARE_ENTITY_ATTR_DECODER (NavigationLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (RampDeployed) | |
| DtDECLARE_ENTITY_ATTR_DECODER (RunningLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (SpotLightsOn) | |
| DtDECLARE_ENTITY_ATTR_DECODER (TailLightsOn) | |
Protected Attributes inherited from DtHlaStateDecoder | |
| DtExerciseConn * | myExConn |
| DtObjClassDesc * | myClassDesc |
| RTI::ObjectClassHandle | myHandle |
| AttributeHandleDecoderMap | myDecoderList |
| myDecoderList is a map of decoders for each attribute registered to this state. | |
An example subclass of DtPlatformDecoder for use with DtF18EntityStateRep.
This example shows how to add one more attribute to an existing state repository.
|
inline |
Ctor.
References DtHlaStateDecoder::addDecoder(), and decodeSpecialF18Attribute().
|
inlinevirtual |
destructor
|
inlinestaticprotected |
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().