QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
NMEA::SatelliteAssembler Class Reference

Bounded multipart/multisignal assembly; scheduling and delivery remain with the caller. More...

#include <NMEASatellites.h>

Classes

struct  Update

Public Member Functions

void clear ()
Update ingest (const Sentence &input, uint64_t receivedAtUs)
SatelliteEpoch flush ()
SatelliteEpoch flushDue (uint64_t nowUs)
std::optional< uint64_t > deadlineUs () const

Static Public Attributes

static constexpr std::chrono::microseconds IDLE_TIMEOUT = std::chrono::milliseconds(150)
static constexpr std::chrono::microseconds BATCH_TIMEOUT = std::chrono::seconds(1)

Detailed Description

Bounded multipart/multisignal assembly; scheduling and delivery remain with the caller.

Definition at line 101 of file NMEASatellites.h.

Member Function Documentation

◆ clear()

void NMEA::SatelliteAssembler::clear ( )

Definition at line 179 of file NMEASatellites.cc.

◆ deadlineUs()

std::optional< uint64_t > NMEA::SatelliteAssembler::deadlineUs ( ) const

Definition at line 287 of file NMEASatellites.cc.

References BATCH_TIMEOUT, and IDLE_TIMEOUT.

Referenced by flushDue().

◆ flush()

SatelliteEpoch NMEA::SatelliteAssembler::flush ( )

Definition at line 302 of file NMEASatellites.cc.

References GPS, SBAS, and Unknown.

Referenced by flushDue(), and ingest().

◆ flushDue()

SatelliteEpoch NMEA::SatelliteAssembler::flushDue ( uint64_t nowUs)

Definition at line 296 of file NMEASatellites.cc.

References deadlineUs(), and flush().

Referenced by ingest().

◆ ingest()

Member Data Documentation

◆ BATCH_TIMEOUT

std::chrono::microseconds NMEA::SatelliteAssembler::BATCH_TIMEOUT = std::chrono::seconds(1)
staticconstexpr

Definition at line 105 of file NMEASatellites.h.

Referenced by deadlineUs().

◆ IDLE_TIMEOUT

std::chrono::microseconds NMEA::SatelliteAssembler::IDLE_TIMEOUT = std::chrono::milliseconds(150)
staticconstexpr

Definition at line 104 of file NMEASatellites.h.

Referenced by deadlineUs().


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