29 prefix_ void senf::scheduler::EventHook::v_run()
34 prefix_ char const * senf::scheduler::EventHook::v_type()
40 prefix_ std::string senf::scheduler::EventHook::v_info()
49 prefix_ senf::scheduler::detail::EventHookDispatcher::~EventHookDispatcher()
51 for (EventList::iterator i (events_.begin()); i != events_.end(); ++i)
52 FIFORunner::instance().dequeue(&(*i));
57 EventList::iterator i (EventList::s_iterator_to(event));
58 if (i == events_.end())
60 FIFORunner::instance().dequeue(&event);
64 prefix_ void senf::scheduler::detail::EventHookDispatcher::prepareRun()
66 for (EventList::iterator i (events_.begin()); i != events_.end(); ++i)
EventHook(std::string const &name, Callback const &cb, Priority priority, bool initiallyEnabled=true)
Register an event hook.