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

Go to the source code of this file.

Classes

class  Aux::SignalHandler
 
class  Aux::SignalHandling::InterruptException
 Special Exception to indicate, that a SIGINT has been received. More...
 

Namespaces

 Aux
 
 Aux::SignalHandling
 

Functions

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...