X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FScheduler%2FTimerEventProxy.hh;h=d1fb5ad9177c398d6da92608e4cfc11a89e33deb;hb=94e4eda4358a4def564175ae42173f91307e36a4;hp=3517db60248e370c95a179bbdab5f3a8237aed7c;hpb=9cb871b939efe93e35dd96808d25089399acfc46;p=senf.git diff --git a/senf/Scheduler/TimerEventProxy.hh b/senf/Scheduler/TimerEventProxy.hh index 3517db6..d1fb5ad 100644 --- a/senf/Scheduler/TimerEventProxy.hh +++ b/senf/Scheduler/TimerEventProxy.hh @@ -34,15 +34,14 @@ #include #include -#include -///////////////////////////////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. @@ -55,10 +54,9 @@ namespace scheduler { public: typedef boost::function 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 @@ -112,7 +110,7 @@ namespace scheduler { }} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "TimerEventProxy.cci" #include "TimerEventProxy.ct" //#include "TimerEventProxy.cti"