eventxx
1.0.1
|
This is the specialization of eventxx::timer for C-style callbacks. More...
Public Member Functions | |
timer (ccallback_type handler, void *arg=0) throw () | |
Creates a new timer event. More... | |
Public Member Functions inherited from eventxx::event< ccallback_type > | |
event (int fd, type ev, ccallback_type handler, void *arg=0) throw () | |
Creates a new event. More... | |
Public Member Functions inherited from eventxx::basic_event | |
bool | pending (type ev) const throw () |
Checks if there is an event pending. More... | |
time | timeout () const throw () |
Timeout of the event. More... | |
void | priority (int priority) const throw (invalid_event, invalid_priority) |
Sets the event's priority. More... | |
int | fd () const throw () |
Event's file descriptor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from eventxx::basic_event | |
basic_event () throw () | |
This is the specialization of eventxx::timer for C-style callbacks.
|
inline |
Creates a new timer event.
handler | C-style callback function. |
arg | Arbitrary pointer to pass to the handler as argument. |