Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | Class Members | Related Pages

SigCX::SignalDispatcher Class Reference
[SigC++ Extras]

Signal dispatcher. More...

#include <dispatch.h>

Inheritance diagram for SigCX::SignalDispatcher:

SigCX::Dispatcher SigCX::GtkDispatcher SigCX::StandardDispatcher List of all members.

Public Member Functions

virtual HandlerID add_signal_handler (const Handler &h, int sig)
virtual void remove (HandlerID id)

Detailed Description

Signal dispatcher.

This class only implements signal events since this is generally not implemented in standard event loops (like GLib or GTK).


Member Function Documentation

virtual HandlerID SigCX::SignalDispatcher::add_signal_handler const Handler h,
int  sig
[virtual]
 

Add signal handler.

The handler h is invoked when the signal sig is received by the program.

Implements SigCX::Dispatcher.

virtual void SigCX::SignalDispatcher::remove HandlerID  id  )  [virtual]
 

Remove a handler.

Parameters:
id The ID of the handler.

Implements SigCX::Dispatcher.

Reimplemented in SigCX::StandardDispatcher, and SigCX::GtkDispatcher.


The documentation for this class was generated from the following file:
Generated on Sun Apr 10 18:35:43 2005 for SigCX - SigC++ Extras by  doxygen 1.4.2