|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSCancellation.h>
Public Member Functions | |
| GPSCancelCallback (const GPSCancelToken &token, std::function< void()> callback) | |
| ~GPSCancelCallback () | |
Runs callback on the cancelling thread when token is cancelled, or at once on this thread if it already is. Destruction waits for a running invocation, so the callback may use objects that outlive this one. It must not be destroyed from a callback of the same token.
Definition at line 51 of file GPSCancellation.h.
| GPSCancelCallback::GPSCancelCallback | ( | const GPSCancelToken & | token, |
| std::function< void()> | callback | ||
| ) |
Definition at line 56 of file GPSCancellation.cc.
| GPSCancelCallback::~GPSCancelCallback | ( | ) |
Definition at line 73 of file GPSCancellation.cc.