/** \file
\brief TimerDispatcher public header */
-#ifndef HH_TimerDispatcher_
-#define HH_TimerDispatcher_ 1
+#ifndef HH_SENF_Scheduler_TimerEvent_
+#define HH_SENF_Scheduler_TimerEvent_ 1
// Custom includes
#include <signal.h>
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);
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_;