MISB 0903 Converter Library
Version 2.0.7
|
ISTD0903Converter - MISB 0903 library interface. More...
Public Member Functions | |
virtual bool | Activate (const char *appName, const char *licPath, const char *key)=0 |
Activate STD0903Converter. More... | |
virtual void | ConfigureEncoder (const char vmtiTag=74, bool fAddChecksum=false)=0 |
ConfigureEncoder method sets VMTI encoder properties. More... | |
virtual unsigned char * | Encode (VMTI_Packet *pPacket, size_t &encodedLength)=0 |
Encode method encodes the VMTI packet. More... | |
virtual bool | Decode (const unsigned char *buffer, size_t length, VMTI_Packet *decodedItem)=0 |
Decode method decodes the supplied buffer and fills the Video Moving Target Indicator and Track Metadatastructure as defined in the MISB 00903 spec. More... | |
virtual bool | DecodePayload (const unsigned char *buffer, size_t length, VMTI_Packet *decodedItem)=0 |
DecodePayload method decodes the supplied buffer and fills the Video Moving Target Indicator and Track Metadatastructure as defined in the MISB 00903 spec. More... | |
virtual const char * | TargetLocalDataTagToString (VTargetLocalDataTag tag)=0 |
TargetLocalDataTagToString method returns a text representation of the Local Data tag. More... | |
virtual const char * | TargetPackTagToString (VTargetPackTag tag)=0 |
TargetPackTag method returns a text representation of the TargetPack tag. More... | |
virtual const char * | TrackerLocalDataTagToString (VTrackerLDSTag tag)=0 |
TrackerLocalDataTagToString method returns a text representation of the Tracker Local Data tag. More... | |
virtual string | TargetLocalDataToHRString (VTargetLocalDataTag tag, VARIANT &vt)=0 |
TargetLocalDataToHRString method returns a human readable text representation of the LocalData value. More... | |
virtual string | TargetPackValueToHRString (VTargetPackTag tag, VARIANT &vt)=0 |
TargetPackValueToHRString method returns a human readable text representation of the Target Pack value. More... | |
virtual string | TrackerLocalDataToHRString (VTrackerLDSTag tag, VARIANT &vt)=0 |
TrackerLocalDataToHRString method returns a human readable text representation of the Tracker LocalData value. More... | |
virtual string | TrackerLocalDataItemToHRString (VTrackerLDSTag tag, VTargetItem &item)=0 |
TrackerLocalDataItemToHRString method returns a human readable text representation of the Tracker LocalData value. More... | |
virtual | ~ISTD0903Converter () |
Virtual destructor. | |
MISB 0903.3 Standard details the Video Moving Target Indicator and Track Metadata. Primarily intended for use by developers working on the UAV related applications, ISTD0903Converter implements the VMTI encoding/decoding functionality:
|
pure virtual |
Activates STD0903Converter's features according to the license
appName | a const char*. Application name. |
licPath | a const char*. License file path. |
key | a const char*. License Key. |
|
pure virtual |
ConfigureEncoder method sets VMTI encoder properties - 'outer tag' and an optional checksum that can be calculated and added.
vmtiTag | a const char. 'Outer' VMTI Tag to assign (Tag 74 for MISB0601.X) |
fAddChecksum | a bool. Calculate and add a checksum. |
|
pure virtual |
Decode method decodes the supplied buffer and fills the Video Moving Target Indicator and Track Metadatastructure as defined in the MISB 00903 spec. The buffer must be a complete Klv triplet - including Key, Length and value. If you need to decode a Klv payload only, please use DecodePayload instead.
buffer | a const unsigned char*. Data buffer |
length | a size_t. Buffer length. |
decodedItem | a VMTI_Packet*. |
|
pure virtual |
DecodePayload method decodes the supplied buffer and fills the Video Moving Target Indicator and Track Metadatastructure as defined in the MISB 00903 spec. The buffer must contain a Klv triplet's payload only (value). If you need to decode a complete Klv triplet, including Key, Length and value, please use Decode method instead.
buffer | a const unsigned char*. Data buffer |
length | a size_t. Buffer length. |
decodedItem | a VMTI_Packet*. |
|
pure virtual |
Encode method encodes the VMTI packet and returns a buffer with encoded data. An optional checksum can be calculated and added (tag 0x01).
pPacket | a VMTI_Packet*. VMTI packet to encode |
encodedLength | a size_t&. Encoded buffer length. |
|
pure virtual |
TargetLocalDataTagToString method returns a text representation of the Local Data tag.
tag | a VTargetLocalDataTag. LocalData Tag |
|
pure virtual |
TargetLocalDataToHRString method returns a human readable text representation of the LocalData value.
tag | a VTargetLocalDataTag. VTargetLocalDataTag Tag |
vt | a VARIANT&. Value to translate |
|
pure virtual |
TargetPackTag method returns a text representation of the TargetPack tag.
tag | a VTargetPackTag. VTargetPack Tag |
|
pure virtual |
TargetPackValueToHRString method returns a human readable text representation of the Target Pack value.
tag | a VTargetPackTag. VTargetPackTag Tag |
vt | a VARIANT&. Value to translate |
|
pure virtual |
TrackerLocalDataItemToHRString method returns a human readable text representation of the Tracker LocalData value.
tag | a VTrackerLDSTag. VTrackerLDSTag Tag |
vt | a VTargetItem&. Value to translate |
|
pure virtual |
TrackerLocalDataTagToString method returns a text representation of the Tracker Local Data tag.
tag | a VTrackerLDSTag. Tracker LocalData Tag |
|
pure virtual |
TrackerLocalDataToHRString method returns a human readable text representation of the Tracker LocalData value.
tag | a VTrackerLDSTag. VTrackerLDSTag Tag |
vt | a VARIANT&. Value to translate |