MISB 0903 Converter Library  Version 2.0.7
Public Member Functions | List of all members
ISTD0903Converter Class Referenceabstract

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.
 

Detailed Description


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:

Examples:
STD0903DemoApp.cpp.

Member Function Documentation

◆ Activate()

virtual bool ISTD0903Converter::Activate ( const char *  appName,
const char *  licPath,
const char *  key 
)
pure virtual

Activates STD0903Converter's features according to the license

Parameters
appNamea const char*. Application name.
licPatha const char*. License file path.
keya const char*. License Key.
Returns
bool.

◆ ConfigureEncoder()

virtual void ISTD0903Converter::ConfigureEncoder ( const char  vmtiTag = 74,
bool  fAddChecksum = false 
)
pure virtual

ConfigureEncoder method sets VMTI encoder properties - 'outer tag' and an optional checksum that can be calculated and added.

Parameters
vmtiTaga const char. 'Outer' VMTI Tag to assign (Tag 74 for MISB0601.X)
fAddChecksuma bool. Calculate and add a checksum.
Returns
void
Examples:
STD0903DemoApp.cpp.

◆ Decode()

virtual bool ISTD0903Converter::Decode ( const unsigned char *  buffer,
size_t  length,
VMTI_Packet decodedItem 
)
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.

Parameters
buffera const unsigned char*. Data buffer
lengtha size_t. Buffer length.
decodedItema VMTI_Packet*.
Returns
bool.
Examples:
STD0903DemoApp.cpp.

◆ DecodePayload()

virtual bool ISTD0903Converter::DecodePayload ( const unsigned char *  buffer,
size_t  length,
VMTI_Packet decodedItem 
)
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.

Parameters
buffera const unsigned char*. Data buffer
lengtha size_t. Buffer length.
decodedItema VMTI_Packet*.
Returns
bool.

◆ Encode()

virtual unsigned char* ISTD0903Converter::Encode ( VMTI_Packet pPacket,
size_t &  encodedLength 
)
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).

Parameters
pPacketa VMTI_Packet*. VMTI packet to encode
encodedLengtha size_t&. Encoded buffer length.
Returns
unsigned char*. Encoded buffer
Examples:
STD0903DemoApp.cpp.

◆ TargetLocalDataTagToString()

virtual const char* ISTD0903Converter::TargetLocalDataTagToString ( VTargetLocalDataTag  tag)
pure virtual

TargetLocalDataTagToString method returns a text representation of the Local Data tag.

Parameters
taga VTargetLocalDataTag. LocalData Tag
Returns
const char*.
Examples:
STD0903DemoApp.cpp.

◆ TargetLocalDataToHRString()

virtual string ISTD0903Converter::TargetLocalDataToHRString ( VTargetLocalDataTag  tag,
VARIANT &  vt 
)
pure virtual

TargetLocalDataToHRString method returns a human readable text representation of the LocalData value.

Parameters
taga VTargetLocalDataTag. VTargetLocalDataTag Tag
vta VARIANT&. Value to translate
Returns
string.
Examples:
STD0903DemoApp.cpp.

◆ TargetPackTagToString()

virtual const char* ISTD0903Converter::TargetPackTagToString ( VTargetPackTag  tag)
pure virtual

TargetPackTag method returns a text representation of the TargetPack tag.

Parameters
taga VTargetPackTag. VTargetPack Tag
Returns
const char*.
Examples:
STD0903DemoApp.cpp.

◆ TargetPackValueToHRString()

virtual string ISTD0903Converter::TargetPackValueToHRString ( VTargetPackTag  tag,
VARIANT &  vt 
)
pure virtual

TargetPackValueToHRString method returns a human readable text representation of the Target Pack value.

Parameters
taga VTargetPackTag. VTargetPackTag Tag
vta VARIANT&. Value to translate
Returns
string.

◆ TrackerLocalDataItemToHRString()

virtual string ISTD0903Converter::TrackerLocalDataItemToHRString ( VTrackerLDSTag  tag,
VTargetItem item 
)
pure virtual

TrackerLocalDataItemToHRString method returns a human readable text representation of the Tracker LocalData value.

Parameters
taga VTrackerLDSTag. VTrackerLDSTag Tag
vta VTargetItem&. Value to translate
Returns
string.
Examples:
STD0903DemoApp.cpp.

◆ TrackerLocalDataTagToString()

virtual const char* ISTD0903Converter::TrackerLocalDataTagToString ( VTrackerLDSTag  tag)
pure virtual

TrackerLocalDataTagToString method returns a text representation of the Tracker Local Data tag.

Parameters
taga VTrackerLDSTag. Tracker LocalData Tag
Returns
const char*.
Examples:
STD0903DemoApp.cpp.

◆ TrackerLocalDataToHRString()

virtual string ISTD0903Converter::TrackerLocalDataToHRString ( VTrackerLDSTag  tag,
VARIANT &  vt 
)
pure virtual

TrackerLocalDataToHRString method returns a human readable text representation of the Tracker LocalData value.

Parameters
taga VTrackerLDSTag. VTrackerLDSTag Tag
vta VARIANT&. Value to translate
Returns
string.
Untitled 1




 Copyright 2018,    IMPLEOTV SYSTEMS LTD