#include <uan-tools.h>
Inheritance diagram for UanEventTimer:
Public Member Functions | |
UanEventTimer (void *obj, pfEventHandler h) | |
Constructor, associates with object obj and event handler h. h should be static member of obj. | |
virtual void | handle (Event *e) |
Method called when timer expires. Calls handler handler with argument object. | |
Protected Attributes | |
pfEventHandler | handler |
The handler function. |
This class will call pfEventHandler h when it expires. pfEventHandler is a function taking void pointer argument and returns void.
It should be a static member of object obj. obj will be the argument passed to the event handler