|
QGroundControl
Ground Control Station for MAVLink Drones
|
RAII guard for an atomic suspend flag: sets on construction, clears on destruction. More...
#include <AutoSuspendGuard.h>
Public Member Functions | |
| AutoSuspendGuard (std::atomic< bool > &flag) | |
| AutoSuspendGuard (AutoSuspendGuard &&other) noexcept | |
| AutoSuspendGuard & | operator= (AutoSuspendGuard &&other) noexcept |
| AutoSuspendGuard (const AutoSuspendGuard &)=delete | |
| AutoSuspendGuard & | operator= (const AutoSuspendGuard &)=delete |
| ~AutoSuspendGuard () | |
RAII guard for an atomic suspend flag: sets on construction, clears on destruction.
Movable so it can live in moved-from owner objects (e.g. PendingOp variants).
Definition at line 11 of file AutoSuspendGuard.h.
|
inlineexplicit |
Definition at line 14 of file AutoSuspendGuard.h.
|
inlinenoexcept |
Definition at line 19 of file AutoSuspendGuard.h.
|
delete |
|
inline |
Definition at line 34 of file AutoSuspendGuard.h.
|
inlinenoexcept |
Definition at line 21 of file AutoSuspendGuard.h.
|
delete |