QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSDriverSinks Struct Reference

#include <GPSDriver.h>

Public Attributes

std::function< void(const GPSPositionReport &)> onPosition
 
std::function< void(const GPSSatelliteReport &)> onSatelliteInfo
 
std::function< void(const QByteArray &)> onRTCM
 One complete frame; copying it shares the receiver's buffer.
 
std::function< void(const GPSSurveyReport &)> onSurveyIn
 
std::function< void(GPSType)> onReceiverDetected
 

Detailed Description

Sinks the driver pushes decoded data into, invoked on the caller thread from within configure()/receiveOutcome(). Sinks must not call back into the driver.

Definition at line 27 of file GPSDriver.h.

Member Data Documentation

◆ onPosition

std::function<void(const GPSPositionReport&)> GPSDriverSinks::onPosition

Definition at line 29 of file GPSDriver.h.

◆ onReceiverDetected

std::function<void(GPSType)> GPSDriverSinks::onReceiverDetected

The family a GPSType::automatic driver detected, before it configures the receiver. A passive driver reports the protocol its input carries once identified and whenever it changes: the family whose native protocol it decodes, or GPSType::passive for standard NMEA.

Definition at line 37 of file GPSDriver.h.

◆ onRTCM

std::function<void(const QByteArray&)> GPSDriverSinks::onRTCM

One complete frame; copying it shares the receiver's buffer.

Definition at line 32 of file GPSDriver.h.

◆ onSatelliteInfo

std::function<void(const GPSSatelliteReport&)> GPSDriverSinks::onSatelliteInfo

Definition at line 30 of file GPSDriver.h.

◆ onSurveyIn

std::function<void(const GPSSurveyReport&)> GPSDriverSinks::onSurveyIn

Definition at line 33 of file GPSDriver.h.


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