|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Sets recording() for its lifetime, if it wasn't set already. More...
#include <signalcapture_p.h>
Public Member Functions | |
| Guard () | |
| Takes the flag; check active() before recording. | |
| ~Guard () | |
| Gives the flag back, if this guard took it. | |
| bool | active () const |
| Whether this guard took the flag (false: already recording, so don't). | |
Private Attributes | |
| bool | m_active |
| Whether this guard set the flag. | |
Sets recording() for its lifetime, if it wasn't set already.