transwarp
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
transwarp::listener Class Referenceabstract

The listener interface to listen to events raised by tasks. More...

#include <transwarp.h>

Inheritance diagram for transwarp::listener:
transwarp::timer

Public Member Functions

virtual void handle_event (transwarp::event_type event, const transwarp::itask &task)=0
 This may be called from arbitrary threads depending on the event type (see transwarp::event_type). The implementer needs to ensure that this never throws exceptions. The lifetime of the task reference is not guaranteed beyond the duration of handle_event, and listeners must not retain a copy of the task.
 

Detailed Description

The listener interface to listen to events raised by tasks.


The documentation for this class was generated from the following file: