SignalHandler.hh
Go to the documentation of this file.
Register callbacks that get triggered on SIGINT and SIGTERM.
Definition: SignalHandler.hh:49
bool AddCallback(std::function< void(int)> _cb)
Add a callback to execute when a signal is received.
virtual void SetInitialized(const bool _init)
Set whether the signal handler was successfully initialized. This function is here for testing purpos...
bool Initialized() const
Get whether the signal handlers were successfully initialized.
Forward declarations for the common classes.