Fixposition SDK 0.0.0-heads/main-0-g90a51ff
Collection of c++ libraries and apps for use with Fixposition products
Loading...
Searching...
No Matches
fpsdk::common::parser::nmea::NmeaCollectGsaGsv Struct Reference

Collector for NMEA-Gx-GSA and NMEA-Gx-GPA. More...

#include <nmea.hpp>

Collaboration diagram for fpsdk::common::parser::nmea::NmeaCollectGsaGsv:

Classes

struct  Sat
 Satellite info. More...
 
struct  Sig
 

Public Member Functions

bool AddGsa (const NmeaGsaPayload &gsa)
 Add NMEA-GN-GSA message to collection.
 
bool AddGsv (const NmeaGsvPayload &gsv)
 Add NMEA-Gx-GSV message to collection.
 
void Complete ()
 Complete collection after feeding all GSA and GSV messages.
 
bool AddGsaAndGsv (const std::vector< NmeaGsaPayload > &gsas, const std::vector< NmeaGsvPayload > &gsvs)
 Add NMEA-GN-GSA and NMEA-Gx-GSV messages to collection.
 

Public Attributes

std::vector< Satsats_
 Collected satellite info.
 
std::vector< Sigsigs_
 Collected signal info.
 

Detailed Description

Collector for NMEA-Gx-GSA and NMEA-Gx-GPA.

Definition at line 706 of file nmea.hpp.

Member Function Documentation

◆ AddGsa()

bool fpsdk::common::parser::nmea::NmeaCollectGsaGsv::AddGsa ( const NmeaGsaPayload & gsa)

Add NMEA-GN-GSA message to collection.

These must be provided in order and completely, and before the GSV messages.

Parameters
[in]gsaDecoded message payload
Returns
true if the message was accepted, false otherwise

◆ AddGsv()

bool fpsdk::common::parser::nmea::NmeaCollectGsaGsv::AddGsv ( const NmeaGsvPayload & gsv)

Add NMEA-Gx-GSV message to collection.

These must be provided in order and completely, and after the GSA messages.

Parameters
[in]gsvDecoded message payload
Returns
true if the message was accepted, false otherwise

◆ AddGsaAndGsv()

bool fpsdk::common::parser::nmea::NmeaCollectGsaGsv::AddGsaAndGsv ( const std::vector< NmeaGsaPayload > & gsas,
const std::vector< NmeaGsvPayload > & gsvs )

Add NMEA-GN-GSA and NMEA-Gx-GSV messages to collection.

Does all of AddGsa(), AddGsv() and Complete() in one call.

Parameters
[in]gsasAll decoded message payloads, complete and in order
[in]gsvsAll decoded message payloads, complete and in order
Returns
true if all messages were collected successfully

Member Data Documentation

◆ sats_

std::vector<Sat> fpsdk::common::parser::nmea::NmeaCollectGsaGsv::sats_

Collected satellite info.

Definition at line 731 of file nmea.hpp.

◆ sigs_

std::vector<Sig> fpsdk::common::parser::nmea::NmeaCollectGsaGsv::sigs_

Collected signal info.

Definition at line 732 of file nmea.hpp.


The documentation for this struct was generated from the following file: