X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FTimerEvent.hh;h=acf7f98bf6cddbf46fcb7db3bcf90682d22621e6;hb=c7ddbbb0bc014bdfe6daef91e2d1c512d77e9fff;hp=fa01767fec88e0d86be6dec3fcbd5b5eac0ca400;hpb=09010bdcf81888480d4d481a523f9714a89f2625;p=senf.git diff --git a/Scheduler/TimerEvent.hh b/Scheduler/TimerEvent.hh index fa01767..acf7f98 100644 --- a/Scheduler/TimerEvent.hh +++ b/Scheduler/TimerEvent.hh @@ -49,7 +49,7 @@ namespace scheduler { /** \brief Deadline timer event - The TimerEvent class registeres a deadline timer callback which will be called when the + The TimerEvent class registers a deadline timer callback which will be called when the timer expires. Timer events are implemented using POSIX timers. Depending on kernel features, the timer @@ -66,7 +66,7 @@ namespace scheduler { callback is a member function it should be defined as a class member). */ class TimerEvent - : public FIFORunner::TaskInfo, + : public detail::FIFORunner::TaskInfo, public detail::TimerSetBase { public: @@ -106,7 +106,6 @@ namespace scheduler { void disable(); ///< Disable timer void enable(); ///< Enable timer - bool enabled(); ///< \c true, if timer enabled, \c false otherwise void action(Callback const & cb); ///< Change timer event callback void timeout(ClockService::clock_type timeout, bool initiallyEnabled=true); @@ -116,7 +115,9 @@ namespace scheduler { enable callback automatically. */ private: - virtual void run(); + virtual void v_run(); + virtual char const * v_type() const; + virtual std::string v_info() const; Callback cb_; ClockService::clock_type timeout_;