#include <senf/Scheduler/ClockService.hh>
#include <senf/Scheduler/TimerEvent.hh>
-#include <senf/Utils/Console/Console.hh>
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace scheduler {
/** \brief Deadline timer proxy
- The TimerEventProxy is meant to host long term deadline timers to reduce the load of the
+ The TimerEventProxy is meant to host long %term deadline timers to reduce the load of the
Scheduler with a huge count of TimerEvent items. It registers deadline timer callbacks which
will be called when the timer expires.
public:
typedef boost::function<void(ClockService::clock_type, IdType const &)> Callback;
- TimerEventProxy(); ///< Instantiate a TimerEventProxy
- TimerEventProxy(std::string const & name, console::DirectoryNode & node);
- /**< \brief Instantiate a TimerEventProxy and add the list
- command to the give DirectoryNode */
+ TimerEventProxy(std::string const & description = "");
+ ///< Instantiate a TimerEventProxy
+ /**< \param[in] description Descriptive name (purely informational) */
void add(ClockService::clock_type timeout, IdType const & id, Callback cb);
///< Add new deadline timer
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
//#include "TimerEventProxy.cci"
#include "TimerEventProxy.ct"
//#include "TimerEventProxy.cti"