17 #ifndef HH_SENF_Scheduler_TimerEvent_ 18 #define HH_SENF_Scheduler_TimerEvent_ 1 22 #include <boost/intrusive/set_hook.hpp> 36 typedef boost::intrusive::set_base_hook< boost::intrusive::tag<TimerSetTag> >
TimerSetBase;
37 struct TimerSetCompare;
38 class TimerDispatcher;
74 bool initiallyEnabled =
true);
87 TimerEvent(std::string
const & name, Callback
const & cb);
103 void action(Callback
const & cb);
113 virtual void v_run();
114 virtual char const * v_type()
const;
115 virtual std::string v_info()
const;
120 friend class detail::TimerDispatcher;
121 friend struct detail::TimerSetCompare;
config::time_type clock_type
ClockService timer data type.
boost::function< void()> Callback
FIFORunner public header.
boost::intrusive::set_base_hook< boost::intrusive::tag< TimerSetTag > > TimerSetBase
ClockService public header.