All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
SignalHandling.cpp File Reference
#include "SignalHandling.h"
#include <exception>
#include <atomic>
#include <signal.h>




bool Aux::SignalHandling::gotSIGINT ()
 Returns true, if CTRL+C/SIGINT has been received, false otherwise. More...
void Aux::SignalHandling::setSIGINT (bool received)
 Sets the value of receivedSIGINT More...
void Aux::SignalHandling::init (SignalHandler *caller)
 Registers the function setRunning to be invoked, when CTRL+C/SIGINT is received. More...
void Aux::SignalHandling::reset (SignalHandler *caller)
 Resets receivedSIGINT to false and rootSet to false to allow a new initialization, if the calling object is the same as the root. More...