17 #ifndef HH_SENF_Scheduler_IdleEvent_ 18 #define HH_SENF_Scheduler_IdleEvent_ 1 21 #include <boost/function.hpp> 22 #include <boost/intrusive/list_hook.hpp> 32 struct IdleEventListTag;
33 typedef boost::intrusive::list_base_hook< boost::intrusive::tag<IdleEventListTag> >
IdleEventListBase;
34 class IdleEventDispatcher;
51 IdleEvent(std::string
const & name, Callback
const & cb,
52 bool initiallyEnabled =
true);
61 void action(Callback
const & cb);
67 virtual char const * v_type()
const;
68 virtual std::string v_info()
const;
72 friend class detail::IdleEventDispatcher;
FIFORunner public header.
boost::function< void()> Callback
boost::intrusive::list_base_hook< boost::intrusive::tag< IdleEventListTag > > IdleEventListBase