#include <alpaqa/util/atomic-stop-signal.hpp>
Definition at line 7 of file atomic-stop-signal.hpp.
Public Member Functions | |
AtomicStopSignal ()=default | |
AtomicStopSignal (const AtomicStopSignal &) | |
AtomicStopSignal & | operator= (const AtomicStopSignal &)=delete |
AtomicStopSignal (AtomicStopSignal &&) noexcept | |
AtomicStopSignal & | operator= (AtomicStopSignal &&) noexcept |
void | stop () |
bool | stop_requested () const |
Private Attributes | |
std::atomic< bool > | stop_flag {false} |
|
default |
|
inline |
Definition at line 10 of file atomic-stop-signal.hpp.
|
inlinenoexcept |
Definition at line 12 of file atomic-stop-signal.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 13 of file atomic-stop-signal.hpp.
|
inline |
|
inline |
Definition at line 21 of file atomic-stop-signal.hpp.