X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FTimerEvent.hh;h=6084f11465a663bee1e8f4214e97a5e76b245dc7;hb=bd9f9d3fd6fbcff0112a7bf48ab9284da9576b11;hp=493ae6ad15f6585d207075a261c19d9fd93c604e;hpb=bcbf09e13c018a2bf2391d3484450f3be84931eb;p=senf.git diff --git a/Scheduler/TimerEvent.hh b/Scheduler/TimerEvent.hh index 493ae6a..6084f11 100644 --- a/Scheduler/TimerEvent.hh +++ b/Scheduler/TimerEvent.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); @@ -115,6 +115,8 @@ namespace scheduler { /**< \param[in] timeout new timeout time \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();