Tomographer  v5.4
Tomographer C++ Framework Documentation
Tomographer::Tools::SignalHandler Struct Referenceabstract

An abstract signal handler (C++ interface) More...

#include <tomographer/tools/signal_handler.h>

+ Inheritance diagram for Tomographer::Tools::SignalHandler:

Public Member Functions

virtual void handleSignal (int sig_num)=0
 Perform some action in reaction to a signal. More...
 

Detailed Description

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.

Member Function Documentation

§ handleSignal()

virtual void Tomographer::Tools::SignalHandler::handleSignal ( int  sig_num)
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.


The documentation for this struct was generated from the following file: