Defined in File SignalHandling.hpp
Signal handler class used to support CTRL+c user interrupts. This class works by registering a interrupt handler during its lifetime; to check if an interrupt has been received or to immediately stop running a (long-running) algorithm, use the assureRunning
or isRunning
member functions.
Note
Make sure to delete this object when it is no longer required to free up the interrupt handler again for other code such as the python runtime!
Special Exception to indicate that a SIGINT has been received.