QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSSettingsBindings Class Reference

#include <GPSSettingsBindings.h>

Public Member Functions

 GPSSettingsBindings ()=delete
 

Static Public Member Functions

static void bindCorrections (GPSCorrectionSettings *settings, GPSCorrectionManager *corrections)
 Applies the correction settings to corrections now and whenever they change.
 
static void bindNtrip (NTRIPSettings *settings, NTRIPManager *ntrip)
 
static void bindReceiver (RTKSettings *settings, GPSReceiver *receiver)
 
static void bindPosition (RTKSettings *settings, PositionManager *positions)
 

Friends

class GPSManagerTest
 
class GPSReceiverSettingsBindingTest
 

Detailed Description

Translates the persisted GPS settings into the plain configurations the GPS services consume. Each is a value the service compares with the one it runs and applies whole, and tests build without settings.

Definition at line 17 of file GPSSettingsBindings.h.

Constructor & Destructor Documentation

◆ GPSSettingsBindings()

GPSSettingsBindings::GPSSettingsBindings ( )
delete

Member Function Documentation

◆ bindCorrections()

void GPSSettingsBindings::bindCorrections ( GPSCorrectionSettings *  settings,
GPSCorrectionManager *  corrections 
)
static

Applies the correction settings to corrections now and whenever they change.

Definition at line 196 of file GPSSettingsBindings.cc.

References GPSCorrectionManager::setConfiguration().

Referenced by GPSManager::init().

◆ bindNtrip()

void GPSSettingsBindings::bindNtrip ( NTRIPSettings *  settings,
NTRIPManager *  ntrip 
)
static

Supplies the NTRIP settings to ntrip now and whenever they change, and stores the connection a retry enables and the certificate pin trusted on first use. Call before NTRIPManager::init().

Definition at line 204 of file GPSSettingsBindings.cc.

References NTRIPManager::certificatePinChanged(), NTRIPManager::enableRequested(), and NTRIPManager::setConfiguration().

Referenced by GPSManager::init().

◆ bindPosition()

void GPSSettingsBindings::bindPosition ( RTKSettings *  settings,
PositionManager *  positions 
)
static

Applies the GCS position settings to positions now and whenever they change. Call before PositionManager::init().

Definition at line 228 of file GPSSettingsBindings.cc.

References PositionManager::setConfiguration().

Referenced by GPSManager::init().

◆ bindReceiver()

void GPSSettingsBindings::bindReceiver ( RTKSettings *  settings,
GPSReceiver *  receiver 
)
static

Supplies the receiver settings to receiver now and whenever they change. Call before the receiver is allowed to connect.

Definition at line 220 of file GPSSettingsBindings.cc.

References GPSReceiver::setConfiguration().

Referenced by GPSManager::init().

Friends And Related Symbol Documentation

◆ GPSManagerTest

friend class GPSManagerTest
friend

Definition at line 19 of file GPSSettingsBindings.h.

◆ GPSReceiverSettingsBindingTest

friend class GPSReceiverSettingsBindingTest
friend

Definition at line 20 of file GPSSettingsBindings.h.


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