33 #ifndef YSL_INC_SERVICE_YTIMER_H_
34 #define YSL_INC_SERVICE_YTIMER_H_ 1
36 #include "../Core/yobject.h"
37 #include "../Adaptor/ycont.h"
38 #include "../Core/ycounter.hpp"
53 typedef duration::rep
rep;
55 typedef std::chrono::time_point<HighResolutionClock, duration>
time_point;
64 inline HighResolutionClock::time_point
97 Delay(
const TimeSpan&);
122 Timer(
const Duration& = {},
bool =
false);
144 SetInterval(const TimeSpan& i)
146 SetInterval(static_cast<const Duration&>(i));
153 SetInterval(
const Duration&);