|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSCommandChannel.h>
Public Member Functions | |
| GPSDeadlineScope (GPSCommandChannel &channel, std::chrono::milliseconds timeout) | |
| GPSDeadlineScope (GPSCommandChannel &channel, GPSDeadline deadline) | |
| ~GPSDeadlineScope () | |
Tightens the operation deadline for its lifetime: every read, write, wait and command it encloses completes by the earlier of the enclosing deadline and the scope's own. Scopes nest, and destruction restores the enclosing one.
Definition at line 61 of file GPSCommandChannel.h.
| GPSDeadlineScope::GPSDeadlineScope | ( | GPSCommandChannel & | channel, |
| std::chrono::milliseconds | timeout | ||
| ) |
Definition at line 27 of file GPSCommandChannel.cc.
| GPSDeadlineScope::GPSDeadlineScope | ( | GPSCommandChannel & | channel, |
| GPSDeadline | deadline | ||
| ) |
Definition at line 31 of file GPSCommandChannel.cc.
References GPSDeadline::untilUs.
| GPSDeadlineScope::~GPSDeadlineScope | ( | ) |
Definition at line 38 of file GPSCommandChannel.cc.