Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/sys/Signal.hpp>
Public Member Functions | |
SigWait (std::initializer_list< int > mask={SIGHUP, SIGINT, SIGUSR1, SIGUSR2, SIGTERM}) | |
~SigWait () | |
SigWait (const SigWait &)=delete | |
SigWait & | operator= (const SigWait &)=delete |
SigWait (SigWait &&)=delete | |
SigWait & | operator= (SigWait &&)=delete |
int | operator() () const |
int | operator() (Duration timeout) const |
Returns zero on timeout. | |
template<typename RepT , typename PeriodT > | |
int | operator() (std::chrono::duration< RepT, PeriodT > timeout) const |
Definition at line 27 of file Signal.hpp.
toolbox::sys::SigWait::SigWait | ( | std::initializer_list< int > | mask = {SIGHUP, SIGINT, SIGUSR1, SIGUSR2, SIGTERM} | ) |
Definition at line 26 of file Signal.cpp.
toolbox::sys::SigWait::~SigWait | ( | ) |
Definition at line 39 of file Signal.cpp.
|
delete |
int toolbox::sys::SigWait::operator() | ( | ) | const |
Definition at line 45 of file Signal.cpp.
Returns zero on timeout.
Definition at line 61 of file Signal.cpp.
|
inline |
Definition at line 45 of file Signal.hpp.