|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSCancellation.h>
Classes | |
| struct | State |
Public Member Functions | |
| GPSCancelToken ()=default | |
| A token that is never cancelled. | |
| bool | isCancelled () const |
| Safe to call from any thread. | |
Friends | |
| class | GPSCancelSource |
| class | GPSCancelCallback |
Cooperative cancellation of a receiver session, shared by the thread that stops the session and the worker that runs it. It stands in for std::stop_token, which libc++ before LLVM 20 offers only with -fexperimental-library.
Definition at line 10 of file GPSCancellation.h.
|
default |
A token that is never cancelled.
| bool GPSCancelToken::isCancelled | ( | ) | const |
Safe to call from any thread.
Definition at line 20 of file GPSCancellation.cc.
Referenced by GPSTransport::isCancelled(), and GPSCommandChannel::write().
|
friend |
Definition at line 21 of file GPSCancellation.h.
|
friend |
Definition at line 20 of file GPSCancellation.h.