Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
|
Fixposition SDK: Parser. More...
#include <algorithm>
#include <cstdint>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
struct | fpsdk::common::parser::ParserMsg |
Message frame output by the Parser. More... | |
struct | fpsdk::common::parser::ParserStats |
Parser statistics. More... | |
Namespaces | |
namespace | fpsdk |
Fixposition SDK. | |
namespace | fpsdk::common |
Fixposition SDK: Common library. | |
namespace | fpsdk::common::parser |
Parser. | |
Enumerations | |
enum class | fpsdk::common::parser::Protocol : int { fpsdk::common::parser::FP_A = 1 , fpsdk::common::parser::FP_B , fpsdk::common::parser::NMEA , fpsdk::common::parser::UBX , fpsdk::common::parser::RTCM3 , fpsdk::common::parser::UNI_B , fpsdk::common::parser::NOV_B , fpsdk::common::parser::SPARTN , fpsdk::common::parser::OTHER } |
Protocols (message types), see also Protocol and message naming. More... | |
Functions | |
const char * | fpsdk::common::parser::ProtocolStr (const Protocol proto) |
Stringify Protocol. | |
Protocol | fpsdk::common::parser::StrProtocol (const char *name) |
Get Protocol from name. | |
Variables | |
Protocol names | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_FP_A = "FP_A" |
Name (label) for Protocol::FP_A. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_FP_B = "FP_B" |
Name (label) for Protocol::FP_B. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_NMEA = "NMEA" |
Name (label) for Protocol::NMEA. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_UBX = "UBX" |
Name (label) for Protocol::UBX. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_RTCM3 = "RTCM3" |
Name (label) for Protocol::RTCM3. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_UNI_B = "UNI_B" |
Name (label) for Protocol::UNI_B. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_NOV_B = "NOV_B" |
Name (label) for Protocol::NOV_B. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_SPARTN = "SPARTN" |
Name (label) for Protocol::SPARTN. | |
static constexpr const char * | fpsdk::common::parser::PROTOCOL_NAME_OTHER = "OTHER" |
Name (label) for Protocol::OTHER. | |
Parser constraints | |
static constexpr std::size_t | fpsdk::common::parser::MAX_ADD_SIZE = 32 * 1024 |
Max size for Parser::Add() that is guaranteed to work. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_NAME_SIZE = 100 |
Maximum size of message name string (incl. nul termination) | |
static constexpr std::size_t | fpsdk::common::parser::MAX_INFO_SIZE = 400 |
Maximum size of message info string (incl. nul termination) | |
static constexpr std::size_t | fpsdk::common::parser::MAX_FP_A_SIZE = 400 |
Maximum FP_A message size (must be the same as MAX_NMEA_SIZE) | |
static constexpr std::size_t | fpsdk::common::parser::MAX_FP_B_SIZE = 4096 |
Maximum FP_B message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_NMEA_SIZE = 400 |
Maximum NMEA message size (standard NMEA would be 82!) | |
static constexpr std::size_t | fpsdk::common::parser::MAX_UBX_SIZE = 4096 |
Maximum UBX message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_RTCM3_SIZE = 1028 |
Maximum RTCM3 message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_SPARTN_SIZE = 1110 |
Maximum SPARTN message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_NOV_B_SIZE = 4096 |
Maximum NOV_B message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_UNI_B_SIZE = 4096 |
Maximum UNI_B message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_OTHER_SIZE = 256 |
Maximum OTHER message size. | |
static constexpr std::size_t | fpsdk::common::parser::MAX_ANY_SIZE |
The largest of the above. | |
static constexpr std::size_t | fpsdk::common::parser::MIN_ANY_SIZE |
The smallest of the above. | |
Fixposition SDK: Parser.
* ___ ___ * \ \ / / * \ \/ / Copyright (c) Fixposition AG (www.fixposition.com) and contributors * / /\ \ License: see the LICENSE file * /__/ \__\ * * Based on work by flipflip (https://github.com/phkehl) *
Definition in file types.hpp.