Tomographer  v2.0
Tomographer C++ Framework Documentation
signal_handler.h File Reference

(v2.0)

Basic common code for intercepting a signal and basic interfacing to C++. More...

#include <signal.h>
#include <cstdio>
#include <ctime>
#include <chrono>
+ Include dependency graph for signal_handler.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tomographer::Tools::SignalHandler
 An abstract signal handler (C++ interface) More...
 

Namespaces

 Tomographer
 Base namespace for the Tomographer project.
 
 Tomographer::Tools
 Various useful tools.
 

Macros

#define TOMOGRAPHER_SIG_HANDLER_REPEAT_EXIT_DELAY   2
 

Functions

void Tomographer::Tools::installSignalHandler (int signum, SignalHandler *sobj)
 Installs the given signal handler to catch the signal signum. More...
 

Detailed Description

Basic common code for intercepting a signal and basic interfacing to C++.

Definition in file signal_handler.h.