QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSReceiverConnectionPolicy.h File Reference
#include <chrono>
#include <optional>
#include <QtCore/QCoreApplication>
#include <QtCore/QString>
#include "ExponentialBackoff.h"
#include "GPSReceiverConnector.h"
#include "SerialPortManager.h"
+ Include dependency graph for GPSReceiverConnectionPolicy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GPSReceiverConnectionPolicy
 

Enumerations

enum class  GPSReceiverSessionOutcome {
  None , Unplugged , AutoRetrying , WaitingForPort ,
  Retrying
}
 What the policy does after a receiver session ends; the receiver words the message for it. More...
 

Enumeration Type Documentation

◆ GPSReceiverSessionOutcome

enum class GPSReceiverSessionOutcome
strong

What the policy does after a receiver session ends; the receiver words the message for it.

Enumerator
None 

Nothing reconnects; the receiver's own message for the error applies.

Unplugged 

A discovered receiver was unplugged; discovery connects it again when it returns.

AutoRetrying 

A discovered receiver failed or was lost; discovery retries it.

WaitingForPort 

The saved receiver was unplugged; it reconnects when its port returns.

Retrying 

The saved receiver's connection was lost; a retry is scheduled.

Definition at line 18 of file GPSReceiverConnectionPolicy.h.