Signal handling.
More...
#include <SignalHandler.hpp>
|
using | Handler = std::function< void(int)> |
|
|
template<typename T > |
static void | bind (int signal, void(T::*fp)(int), T *object) |
|
static void | bind (int signal, const Handler &handler) |
|
template<typename T > |
static void | bindAll (void(T::*fp)(int), T *object) |
|
template<typename T > |
static void | unbind (int signal, void(T::*fp)(int), T *object) |
|
static void | unbind (int signal, const Handler &handler) |
|
template<typename T > |
static void | unbindAll (void(T::*fp)(int), T *object) |
|
Signal handling.
This class provides a static interface to bind a common process signal handler.
Definition at line 20 of file SignalHandler.hpp.
signal_handler::SignalHandler::SignalHandler |
( |
| ) |
|
|
delete |
template<typename T >
static void signal_handler::SignalHandler::bind |
( |
int |
signal, |
|
|
void(T::*)(int) |
fp, |
|
|
T * |
object |
|
) |
| |
|
inlinestatic |
void signal_handler::SignalHandler::bind |
( |
int |
signal, |
|
|
const Handler & |
handler |
|
) |
| |
|
static |
template<typename T >
static void signal_handler::SignalHandler::bindAll |
( |
void(T::*)(int) |
fp, |
|
|
T * |
object |
|
) |
| |
|
inlinestatic |
void signal_handler::SignalHandler::signaled |
( |
int |
signal | ) |
|
|
staticprivate |
template<typename T >
static void signal_handler::SignalHandler::unbind |
( |
int |
signal, |
|
|
void(T::*)(int) |
fp, |
|
|
T * |
object |
|
) |
| |
|
inlinestatic |
void signal_handler::SignalHandler::unbind |
( |
int |
signal, |
|
|
const Handler & |
handler |
|
) |
| |
|
static |
template<typename T >
static void signal_handler::SignalHandler::unbindAll |
( |
void(T::*)(int) |
fp, |
|
|
T * |
object |
|
) |
| |
|
inlinestatic |
std::mutex signal_handler::SignalHandler::mutex_ |
|
staticprivate |
The documentation for this class was generated from the following files: