#include <dispatch.h>
Inheritance diagram for SigCX::SignalDispatcher:
Public Member Functions | |
virtual HandlerID | add_signal_handler (const Handler &h, int sig) |
virtual void | remove (HandlerID id) |
This class only implements signal events since this is generally not implemented in standard event loops (like GLib or GTK).
|
Add signal handler. The handler h is invoked when the signal sig is received by the program. Implements SigCX::Dispatcher. |
|
Remove a handler.
Implements SigCX::Dispatcher. Reimplemented in SigCX::StandardDispatcher, and SigCX::GtkDispatcher. |