#include <boost/utility.hpp>#include <senf/Utils/Logger/TimeSource.hh>#include "FdEvent.hh"#include "TimerEvent.hh"#include "SignalEvent.hh"#include "IdleEvent.hh"#include "EventHook.hh"#include "Scheduler.cci"


Go to the source code of this file.
Definition in file Scheduler.hh.
Classes |
|
| struct | senf::scheduler::LogTimeSource |
| scheduler specific time source for Utils/Logger framework More... |
|
| class | senf::scheduler::BlockSignals |
| Temporarily block all signals. More... |
|
Namespaces |
|
| namespace | senf |
| namespace | senf::scheduler |
| The Scheduler interface. |
|
Defines |
|
| #define | HH_SENF_Scheduler_Scheduler_ 1 |
Functions |
|
| void | senf::scheduler::process () |
| Event handler main loop. |
|
| bool | senf::scheduler::running () |
true, if scheduler is running, false otherwise |
|
| void | senf::scheduler::terminate () |
| Called by callbacks to terminate the main loop. |
|
| void | senf::scheduler::yield () |
| Immediately rescheduler. |
|
| ClockService::clock_type | senf::scheduler::eventTime () |
| Return timestamp of last event. |
|
| ClockService::clock_type | senf::scheduler::now () |
| Return (approximate) current time. |
|
| void | senf::scheduler::watchdogTimeout (unsigned ms) |
| Set watchdog timeout to ms milliseconds. |
|
| unsigned | senf::scheduler::watchdogTimeout () |
| Current watchdog timeout in milliseconds. |
|
| unsigned | senf::scheduler::watchdogEvents () |
| Number of watchdog events. |
|
| void | senf::scheduler::watchdogAbort (bool flag) |
| Enable/disable abort on watchdog event. |
|
| bool | senf::scheduler::watchdogAbort () |
| Get current watchdog abort on event status. |
|
| void | senf::scheduler::hiresTimers () |
| Switch to using hi resolution timers. |
|
| void | senf::scheduler::loresTimers () |
| Switch back to using epoll for timing. |
|
| bool | senf::scheduler::haveScalableHiresTimers () |
return true, if timerfd() timing is available, false otherwise |
|
| bool | senf::scheduler::usingHiresTimers () |
Return true, if using hires times, false otherwise. |
|
| void | senf::scheduler::restart () |
| Restart scheduler. |
|
| bool | senf::scheduler::empty () |
Return true, if no event is registered, false otherwise. |
|
| #define | ||||
| HH_SENF_Scheduler_Scheduler_ 1 | ||||
Definition at line 28 of file Scheduler.hh.