eventxx
1.0.1
|
Basic event from which all events derive. More...
Public Member Functions | |
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... | |
Protected Member Functions | |
basic_event () throw () | |
Basic event from which all events derive.
All events derive from this class, so it's useful for use in containers, like:
|
inlineprotected |
|
inline |
Event's file descriptor.
Referenced by eventxx::event< ccallback_type >::event(), and eventxx::event< F >::event().
|
inline |
Checks if there is an event pending.
ev | Type of event to check. |
|
inline |
Sets the event's priority.
priority | New event priority. |
|
inline |
Timeout of the event.