QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSReceiverSignatures Class Referencefinal

#include <GPSReceiverDetector.h>

+ Inheritance diagram for GPSReceiverSignatures:
+ Collaboration diagram for GPSReceiverSignatures:

Classes

struct  Match
 

Public Member Functions

 GPSReceiverSignatures (std::span< const GPSReceiverFamily *const > families)
 
void push (std::span< const uint8_t > bytes)
 
void reset ()
 Forgets partial frames and findings, as after a rate change.
 
const std::optional< Match > & match () const
 The first family signature since the last reset.
 
bool framedTraffic () const
 Standard NMEA sentences or RTCM3 frames arrived, so the link runs at the receiver's rate.
 

Detailed Description

Recognises receiver families in raw received bytes. Every framer is enabled, whatever the families use, and each frame goes to each family's signature hook in table order.

Definition at line 20 of file GPSReceiverDetector.h.

Constructor & Destructor Documentation

◆ GPSReceiverSignatures()

GPSReceiverSignatures::GPSReceiverSignatures ( std::span< const GPSReceiverFamily *const >  families)
explicit

Definition at line 31 of file GPSReceiverDetector.cc.

Member Function Documentation

◆ framedTraffic()

bool GPSReceiverSignatures::framedTraffic ( ) const
inline

Standard NMEA sentences or RTCM3 frames arrived, so the link runs at the receiver's rate.

Definition at line 41 of file GPSReceiverDetector.h.

Referenced by GPSReceiverDetector::detect().

◆ match()

const std::optional< Match > & GPSReceiverSignatures::match ( ) const
inline

The first family signature since the last reset.

Definition at line 38 of file GPSReceiverDetector.h.

Referenced by GPSReceiverDetector::detect().

◆ push()

void GPSReceiverSignatures::push ( std::span< const uint8_t >  bytes)

Definition at line 36 of file GPSReceiverDetector.cc.

References GPSStreamDemux::push().

Referenced by GPSReceiverDetector::GPSReceiverDetector().

◆ reset()

void GPSReceiverSignatures::reset ( )

Forgets partial frames and findings, as after a rate change.

Definition at line 43 of file GPSReceiverDetector.cc.

References GPSStreamDemux::reset().

Referenced by GPSReceiverDetector::detect().


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