Tomographer
v5.4
Tomographer C++ Framework Documentation
|
An abstract signal handler (C++ interface) More...
#include <tomographer/tools/signal_handler.h>
Public Member Functions | |
virtual void | handleSignal (int sig_num)=0 |
Perform some action in reaction to a signal. More... | |
An abstract signal handler (C++ interface)
Just override handleSignal() to define the handler. A SignalHandler instance can then be provided to installSignalHandler().
Definition at line 58 of file signal_handler.h.
|
pure virtual |
Perform some action in reaction to a signal.
Override this method to specify what to do when the signal sig_num is caught.