S3FC project page | S3FC home page |
#include <s3_event.h>
Inheritance diagram for s3_event_handler:
Public Types | |
typedef T_Event | event_t |
Type of the event that this handler handles. More... | |
Public Methods | |
virtual void | operator() (const event_t &event)=0 |
Interface to the event handler. More... |
It is templated on the type of event that it handles, T_Event
. The actual event handling is performed by the function operator()(const T_Event&)
, which should be implemented in the derived class.
Classes derived from s3_event_handler
are functors, as they can be used with function-call semantics, i.e. h(e)
, where i
is an s3_event_handler
instance and e
is any other type (event type).
Definition at line 82 of file s3_event.h.
|
Type of the event that this handler handles.
Definition at line 88 of file s3_event.h. |
|
Interface to the event handler. Overload this in a derived class to implement the actual event handler.
|
Send comments to: s3fc@stonethree.com |
|