Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::TrackCodec Class Reference

#include <MTrackCodec.h>

Static Public Member Functions

static std::string GetId (const TrackFieldDefinitions &fieldDefs, const TPG::Proto3::Track::PackedTrackMessage &track)
 
static void SetId (const std::string &id, const TrackFieldDefinitions &fieldDefs, TPG::Proto3::Track::PackedTrackMessage &track)
 
static std::string GetTrackField (const TPG::Proto3::Track::PackedTrackMessage &track, const TrackFieldDefinitions &fieldDefs, int fieldPos)
 
static std::string GetTrackField (const TPG::Proto3::Track::PackedTrackMessage &track, const TrackFieldDefinitions &fieldDefs, const std::string &fieldId)
 
static bool GetTrackFields (const TPG::Proto3::Track::PackedTrackMessage &track, const TrackFieldDefinitions &fieldDefs, std::vector< TrackField > &fields)
 
static bool GetCourse (const TPG::Proto3::Track::PackedTrackMessage &t, double &course)
 
static bool GetCourse (const TPG::Proto3::Track::PackedSpatial &ps, double &course)
 
static bool GetSpeed (const TPG::Proto3::Track::PackedTrackMessage &t, double &speed)
 
static bool GetSpeed (const TPG::Proto3::Track::PackedSpatial &ps, double &speed)
 
static void GetPosition (int packedLat, int packedLon, BasicGeoTypes::GeoPos &pos)
 
static BasicGeoTypes::GeoPos GetPosition (int packedLat, int packedLon)
 
static bool GetPosition (const TPG::Proto3::Track::PackedSpatial &ps, BasicGeoTypes::GeoPos &pos)
 
static bool GetPosition (const TPG::Proto3::Track::PackedTrackMessage &t, BasicGeoTypes::GeoPos &pos)
 

Detailed Description

TrackCodec - Encoding and decoding packed track data.


The documentation for this class was generated from the following files: