![]() |
VR-Link API Documentation for HLA 1.3
|
Instances of DtRunwayDecoder are used to decode data from the network into DtRunwayStateRepository objects. More...
Inheritance diagram for DtRunwayDecoder:
Collaboration diagram for DtRunwayDecoder:Public Member Functions | |
| DtRunwayDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| Default constructor. More... | |
| virtual | ~DtRunwayDecoder () |
| Destructor. More... | |
| DtRunwayDecoder (const DtRunwayDecoder &orig) | |
| Copy constructor. More... | |
| DtRunwayDecoder & | operator= (const DtRunwayDecoder &orig) |
| Assignment operator. More... | |
Public Member Functions inherited from DtHlaStateDecoder | |
| DtHlaStateDecoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc) | |
| constructor More... | |
| virtual | ~DtHlaStateDecoder () |
| destructor More... | |
| DtHlaStateDecoder (const DtHlaStateDecoder &orig) | |
| copy constructor More... | |
| DtHlaStateDecoder & | operator= (const DtHlaStateDecoder &orig) |
| assignment operator More... | |
| DtAttributeDecoder | addDecoder (RTI::AttributeHandle h, DtAttributeDecoder func) |
| Add/Remove a decoding function for the attribute specified by handle. More... | |
| 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. More... | |
| DtAttributeDecoder | removeDecoder (char *attrName, bool complain=true) |
| virtual DtAttributeDecoder | decoder (const RTI::AttributeHandle &handle) const |
| Get the attribute decoder for the specified handle. More... | |
| virtual void | decode (const DtStateMsg &msg, DtStateRepository *stateRep) const |
| Decode the state message into the state repository. More... | |
| virtual RTI::ObjectClassHandle | objectClassHandle () const |
| Get the object's class handle. More... | |
| virtual DtHlaStateDecoder * | clone () const |
| Returns a new-ed clone of this object. More... | |
| virtual DtHlaStateDecoder * | clone (DtObjClassDesc *classDesc) const |
| Returns a new-ed clone of this object which corresponds to the class description classDesc. More... | |
Static Public Member Functions | |
| static DtHlaStateDecoder * | create (DtExerciseConn *exConn, DtObjClassDesc *classDesc) |
| Creates an instance of DtRunwayDecoder. More... | |
Static Public Member Functions inherited from DtHlaStateDecoder | |
| static char * | decodingBuffer (int length) |
| Returns a pointer to a buffer that can be used to copy data obtained from a phvps. More... | |
| static char * | attributeData (const RTI::AttributeHandleValuePairSet &attrs, int index, RTI::ULong &length) |
| Returns a pointer to the attribute data. More... | |
| static char * | attributeData (const RTI::AttributeHandleValuePairSet &attrs, int index, RTI::ULong &length, unsigned int expectedDataSize, char *attrName) |
| Gets the attribute data and checks the expected size. More... | |
| static DtNetEventId * | eventIdAttributeData (const RTI::AttributeHandleValuePairSet &attrs, int index) |
| Get the attribute data as a DtNetEventId (adds defensive null terminator) Returns a pointer to the attribute data. More... | |
| static std::wstring | wideStringFromHlaUnicodeString (char *buffer, int size, bool *error=nullptr) |
| Gets data from an incoming buffer as a HlaUnicodeString and decodes it as a wide string. More... | |
| static bool | getVectorFromArrayOfUuid (char *buffer, int size, std::vector< DtVrlUuid > &uuids) |
| Gets data from an incoming buffer as an ArrayOfUuid and decodes it as a vector of type DtVrlUuid. More... | |
Static Protected Member Functions | |
| static void | decodeUniqueId (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes UniqueId from attrs into rep. More... | |
| static void | decodeAerodromeId (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes AerodromeId from attrs into rep. More... | |
| static void | decodeDamaged (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Damaged from attrs into rep. More... | |
| static void | decodeCondition (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Condition from attrs into rep. More... | |
| static void | decodeRunway1Name (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1Name from attrs into rep. More... | |
| static void | decodeRunway2Name (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2Name from attrs into rep. More... | |
| static void | decodeRunway1Active (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1Active from attrs into rep. More... | |
| static void | decodeRunway2Active (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2Active from attrs into rep. More... | |
| static void | decodeRunway1CenterLineLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1CenterLineLight from attrs into rep. More... | |
| static void | decodeRunway2CenterLineLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2CenterLineLight from attrs into rep. More... | |
| static void | decodeRunway1DistanceToGoLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1DistanceToGoLight from attrs into rep. More... | |
| static void | decodeRunway2DistanceToGoLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2DistanceToGoLight from attrs into rep. More... | |
| static void | decodeRunway1EdgeLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1EdgeLight from attrs into rep. More... | |
| static void | decodeRunway2EdgeLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2EdgeLight from attrs into rep. More... | |
| static void | decodeRunway1DisplacedThresholdLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1DisplacedThresholdLight from attrs into rep. More... | |
| static void | decodeRunway2DisplacedThresholdLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2DisplacedThresholdLight from attrs into rep. More... | |
| static void | decodeRunway1EndLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1EndLight from attrs into rep. More... | |
| static void | decodeRunway2EndLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2EndLight from attrs into rep. More... | |
| static void | decodeRunway1TouchDownZoneLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1TouchDownZoneLight from attrs into rep. More... | |
| static void | decodeRunway2TouchDownZoneLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2TouchDownZoneLight from attrs into rep. More... | |
| static void | decodeRunway1ThresholdLightingLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1ThresholdLightingLight from attrs into rep. More... | |
| static void | decodeRunway2ThresholdLightingLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2ThresholdLightingLight from attrs into rep. More... | |
| static void | decodeRunway1RunwayEndIndicatorLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1RunwayEndIndicatorLight from attrs into rep. More... | |
| static void | decodeRunway2RunwayEndIndicatorLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2RunwayEndIndicatorLight from attrs into rep. More... | |
| static void | decodeRunway1ApproachLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1ApproachLight from attrs into rep. More... | |
| static void | decodeRunway2ApproachLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2ApproachLight from attrs into rep. More... | |
| static void | decodeRunway1VGSILight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1VGSILight from attrs into rep. More... | |
| static void | decodeRunway2VGSILight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2VGSILight from attrs into rep. More... | |
| static void | decodeRunwayGuardLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes RunwayGuardLight from attrs into rep. More... | |
| static void | decodeRunway1RapidExitTaxiwayLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1RapidExitTaxiwayLight from attrs into rep. More... | |
| static void | decodeRunway2RapidExitTaxiwayLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2RapidExitTaxiwayLight from attrs into rep. More... | |
| static void | decodeRunway1RunwayExitLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1RunwayExitLight from attrs into rep. More... | |
| static void | decodeRunway2RunwayExitLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2RunwayExitLight from attrs into rep. More... | |
| static void | decodeRunway1TaxiwayLeadOnLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1TaxiwayLeadOnLight from attrs into rep. More... | |
| static void | decodeRunway2TaxiwayLeadOnLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2TaxiwayLeadOnLight from attrs into rep. More... | |
| static void | decodeRunway1TaxiwayStopBarLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1TaxiwayStopBarLight from attrs into rep. More... | |
| static void | decodeRunway2TaxiwayStopBarLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2TaxiwayStopBarLight from attrs into rep. More... | |
| static void | decodeRunway1PrethresholdEdgeLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1PrethresholdEdgeLight from attrs into rep. More... | |
| static void | decodeRunway2PrethresholdEdgeLight (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2PrethresholdEdgeLight from attrs into rep. More... | |
| static void | decodeRunway1ArrestorGearUp (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway1ArrestorGearUp from attrs into rep. More... | |
| static void | decodeRunway2ArrestorGearUp (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Runway2ArrestorGearUp from attrs into rep. More... | |
| static void | decodeEndpoint1 (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Endpoint1 from attrs into rep. More... | |
| static void | decodeEndpoint2 (DtRunwayStateRepository *rep, const RTI::AttributeHandleValuePairSet &attrs, int pairSetIndex) |
| Decodes Endpoint2 from attrs into rep. More... | |
Additional Inherited Members | |
Public Types inherited from DtHlaStateDecoder | |
| typedef void(* | DtAttributeDecoder )(DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &avlist, unsigned long pairSetIndex) |
| Attribute decoding function declaration. More... | |
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 DtHlaStateDecoder | |
| virtual void | decodeAttribute (DtStateRepository *stateRep, const RTI::AttributeHandleValuePairSet &attrs, unsigned long pairSetIndex) const |
| Decode the attribute at the specified index in the attribute handle pair set. More... | |
| virtual void | copyDecFuncs (const DtHlaStateDecoder &orig) |
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. More... | |
Instances of DtRunwayDecoder are used to decode data from the network into DtRunwayStateRepository objects.
| DtRunwayDecoder::DtRunwayDecoder | ( | DtExerciseConn * | exConn, |
| DtObjClassDesc * | classDesc | ||
| ) |
Default constructor.
|
virtual |
Destructor.
| DtRunwayDecoder::DtRunwayDecoder | ( | const DtRunwayDecoder & | orig | ) |
Copy constructor.
|
static |
Creates an instance of DtRunwayDecoder.
|
staticprotected |
Decodes AerodromeId from attrs into rep.
|
staticprotected |
Decodes Condition from attrs into rep.
|
staticprotected |
Decodes Damaged from attrs into rep.
|
staticprotected |
Decodes Endpoint1 from attrs into rep.
|
staticprotected |
Decodes Endpoint2 from attrs into rep.
|
staticprotected |
Decodes Runway1Active from attrs into rep.
|
staticprotected |
Decodes Runway1ApproachLight from attrs into rep.
|
staticprotected |
Decodes Runway1ArrestorGearUp from attrs into rep.
|
staticprotected |
Decodes Runway1CenterLineLight from attrs into rep.
|
staticprotected |
Decodes Runway1DisplacedThresholdLight from attrs into rep.
|
staticprotected |
Decodes Runway1DistanceToGoLight from attrs into rep.
|
staticprotected |
Decodes Runway1EdgeLight from attrs into rep.
|
staticprotected |
Decodes Runway1EndLight from attrs into rep.
|
staticprotected |
Decodes Runway1Name from attrs into rep.
|
staticprotected |
Decodes Runway1PrethresholdEdgeLight from attrs into rep.
|
staticprotected |
Decodes Runway1RapidExitTaxiwayLight from attrs into rep.
|
staticprotected |
Decodes Runway1RunwayEndIndicatorLight from attrs into rep.
|
staticprotected |
Decodes Runway1RunwayExitLight from attrs into rep.
|
staticprotected |
Decodes Runway1TaxiwayLeadOnLight from attrs into rep.
|
staticprotected |
Decodes Runway1TaxiwayStopBarLight from attrs into rep.
|
staticprotected |
Decodes Runway1ThresholdLightingLight from attrs into rep.
|
staticprotected |
Decodes Runway1TouchDownZoneLight from attrs into rep.
|
staticprotected |
Decodes Runway1VGSILight from attrs into rep.
|
staticprotected |
Decodes Runway2Active from attrs into rep.
|
staticprotected |
Decodes Runway2ApproachLight from attrs into rep.
|
staticprotected |
Decodes Runway2ArrestorGearUp from attrs into rep.
|
staticprotected |
Decodes Runway2CenterLineLight from attrs into rep.
|
staticprotected |
Decodes Runway2DisplacedThresholdLight from attrs into rep.
|
staticprotected |
Decodes Runway2DistanceToGoLight from attrs into rep.
|
staticprotected |
Decodes Runway2EdgeLight from attrs into rep.
|
staticprotected |
Decodes Runway2EndLight from attrs into rep.
|
staticprotected |
Decodes Runway2Name from attrs into rep.
|
staticprotected |
Decodes Runway2PrethresholdEdgeLight from attrs into rep.
|
staticprotected |
Decodes Runway2RapidExitTaxiwayLight from attrs into rep.
|
staticprotected |
Decodes Runway2RunwayEndIndicatorLight from attrs into rep.
|
staticprotected |
Decodes Runway2RunwayExitLight from attrs into rep.
|
staticprotected |
Decodes Runway2TaxiwayLeadOnLight from attrs into rep.
|
staticprotected |
Decodes Runway2TaxiwayStopBarLight from attrs into rep.
|
staticprotected |
Decodes Runway2ThresholdLightingLight from attrs into rep.
|
staticprotected |
Decodes Runway2TouchDownZoneLight from attrs into rep.
|
staticprotected |
Decodes Runway2VGSILight from attrs into rep.
|
staticprotected |
Decodes RunwayGuardLight from attrs into rep.
|
staticprotected |
Decodes UniqueId from attrs into rep.
| DtRunwayDecoder& DtRunwayDecoder::operator= | ( | const DtRunwayDecoder & | orig | ) |
Assignment operator.