Defines a signal handler for win32 and *nix.
More...
#include <util.h>
|
| template<typename T> |
| static bool | install (T t) |
| | installs a signal handler
|
|
| static std::function< void(int)> | m_handler |
| | where the installed handler is stored
|
Defines a signal handler for win32 and *nix.
◆ handle_signal()
| void tools::signal_handler::handle_signal |
( |
int | type | ) |
|
|
inlinestaticprivate |
◆ install()
| bool tools::signal_handler::install |
( |
T | t | ) |
|
|
inlinestatic |
installs a signal handler
◆ posix_handler()
| void tools::signal_handler::posix_handler |
( |
int | type | ) |
|
|
inlinestaticprivate |
◆ m_handler
| std::function< void(int)> tools::signal_handler::m_handler |
|
staticprivate |
where the installed handler is stored
The documentation for this class was generated from the following files: