prefix_ senf::scheduler::TimerEvent::TimerEvent(std::string const & name, Callback const & cb,
ClockService::clock_type timeout,
bool initiallyEnabled)
- : FIFORunner::TaskInfo (name), cb_ (cb), timeout_ (timeout)
+ : detail::FIFORunner::TaskInfo (name), cb_ (cb), timeout_ (timeout)
{
if (initiallyEnabled)
enable();
}
prefix_ senf::scheduler::TimerEvent::TimerEvent(std::string const & name, Callback const & cb)
- : FIFORunner::TaskInfo (name), cb_ (cb), timeout_ (0)
+ : detail::FIFORunner::TaskInfo (name), cb_ (cb), timeout_ (0)
{}
prefix_ senf::scheduler::TimerEvent::~TimerEvent()
senf::scheduler::detail::TimerDispatcher::instance().remove(*this);
}
-prefix_ bool senf::scheduler::TimerEvent::enabled()
-{
- return detail::TimerSetBase::linked();
-}
-
prefix_ void senf::scheduler::TimerEvent::action(Callback const & cb)
{
cb_ = cb;