#include <GPSReceiverConnector.h>
The receiver operations GPSReceiverConnectionPolicy drives. They change state without emitting; the receiver emits once its public method or report handler returns.
Definition at line 70 of file GPSReceiverConnector.h.
◆ ~GPSReceiverConnector()
| GPSReceiverConnector::~GPSReceiverConnector |
( |
| ) |
|
|
protecteddefault |
◆ claimSerialPort()
| virtual GPSSerialClaim GPSReceiverConnector::claimSerialPort |
( |
const QString & | device | ) |
|
|
pure virtual |
Claims the device until the last copy is released; empty when it is in use.
◆ connectSerial()
| virtual bool GPSReceiverConnector::connectSerial |
( |
const QString & | device, |
|
|
GPSType | type, |
|
|
uint32_t | baudRate, |
|
|
bool | allowPersistentChanges, |
|
|
GPSSerialClaim | claim ) |
|
pure virtual |
◆ connectTcp()
| virtual bool GPSReceiverConnector::connectTcp |
( |
const QString & | host, |
|
|
quint16 | port, |
|
|
GPSType | type, |
|
|
bool | allowPersistentChanges ) |
|
pure virtual |
◆ connectUdp()
| virtual bool GPSReceiverConnector::connectUdp |
( |
quint16 | port, |
|
|
GPSType | type ) |
|
pure virtual |
◆ endConnection()
| virtual void GPSReceiverConnector::endConnection |
( |
bool | clearError | ) |
|
|
pure virtual |
◆ hasReceiver()
| virtual bool GPSReceiverConnector::hasReceiver |
( |
| ) |
const |
|
pure virtual |
◆ rtkReceiverPorts()
| virtual QStringList GPSReceiverConnector::rtkReceiverPorts |
( |
| ) |
const |
|
pure virtual |
Free devices whose USB identity is a known RTK receiver adapter, one per physical device, which discovery may connect with the saved manufacturer.
◆ serialPortAllowed()
| virtual bool GPSReceiverConnector::serialPortAllowed |
( |
const QString & | device | ) |
const |
|
pure virtual |
Whether QGC may open the device. Only a USB device on Android can be one that it may not: the user has not allowed it.
◆ serialPortAvailable()
| virtual bool GPSReceiverConnector::serialPortAvailable |
( |
const QString & | device | ) |
const |
|
pure virtual |
The device is plugged in and not in its bootloader. device is any name of its port, as the saved device is: one that survives replugging, or a system location.
◆ serialPortLabel()
| virtual QString GPSReceiverConnector::serialPortLabel |
( |
const QString & | device | ) |
const |
|
pure virtual |
What a message calls the device: the system location of its port, as the device picker shows it, or the name itself while no port is listed by it. Empty for a device that then has no name the user knows it by.
◆ setConnectionError()
| virtual void GPSReceiverConnector::setConnectionError |
( |
const QString & | message | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: