X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FTimerEvent.hh;h=1f306116c3eed2d25ffd85719447e3b2f651dc0f;hb=5158ab14205f56ba33fe72ce1e1914c7d46430fd;hp=148fdcc007710b4e50b4ca8ef04cf6083ba92bd2;hpb=e0a922ad6bffd3a527321131a906c701588d86f4;p=senf.git diff --git a/Scheduler/TimerEvent.hh b/Scheduler/TimerEvent.hh index 148fdcc..1f30611 100644 --- a/Scheduler/TimerEvent.hh +++ b/Scheduler/TimerEvent.hh @@ -28,7 +28,7 @@ // Custom includes #include -#include "../boost/intrusive/iset_hook.hpp" +#include #include "ClockService.hh" #include "FdManager.hh" #include "FIFORunner.hh" @@ -88,9 +88,9 @@ namespace scheduler { automatically. Use enable() to do so. \param[in] name Descriptive timer name (purely informational) + \param[in] cb Callback to call \param[in] timeout timeout time after the timer will be disabled - \param[in] cb Callback to call \param[in] initiallyEnabled if set \c false, do not enable callback automatically. */ TimerEvent(std::string const & name, Callback const & cb); @@ -116,6 +116,7 @@ namespace scheduler { \param[in] initiallyEnabled if set \c false, do not enable callback automatically. */ ClockService::clock_type timeout() const; + ///< Get current/last timeout value private: virtual void v_run();