#include <senf/Scheduler/FdManager.hh>
Definition at line 44 of file FdManager.hh.
Classes |
|
struct | Event |
< Event baseclass More... |
|
Public Types |
|
enum |
Events { EV_READ = Poller<Event>::EV_READ, EV_PRIO = Poller<Event>::EV_PRIO, EV_WRITE = Poller<Event>::EV_WRITE, EV_HUP = Poller<Event>::EV_HUP, EV_ERR = Poller<Event>::EV_ERR } |
Public Member Functions |
|
bool | set (int fd, int events, Event *entry) |
void | remove (int fd) |
void | timeout (int t) |
int | timeout () const |
void | processOnce () |
Wait for events. |
|
ClockService::clock_type | eventTime () const |
Time of last event. |
|
Friends |
|
void | senf::scheduler::restart () |
enum senf::scheduler::detail::FdManager:: | ||||
Events | ||||
Definition at line 54 of file FdManager.hh.
senf::ClockService::clock_type senf::scheduler::detail::FdManager:: | ||||
eventTime | () | |||
Time of last event.
Definition at line 61 of file FdManager.cci.
void senf::scheduler::detail::FdManager:: | ||||
processOnce | () | |||
Wait for events.
This call waits until at least one event is posted but no longer than the current timeout().
Definition at line 35 of file FdManager.cc.
void senf::scheduler::detail::FdManager:: | ||||
remove | ( | int | fd | ) |
Definition at line 45 of file FdManager.cci.
bool senf::scheduler::detail::FdManager:: | ||||
set | ( | int | fd, | |
int | events, | |||
Event * | entry | ) | ||
Definition at line 40 of file FdManager.cci.
int senf::scheduler::detail::FdManager:: | ||||
timeout | () | |||
Definition at line 55 of file FdManager.cci.
void senf::scheduler::detail::FdManager:: | ||||
timeout | ( | int | t | ) |
Definition at line 50 of file FdManager.cci.
void senf::scheduler:: | ||||
restart | () | |||