From fa9431d52f37bf51a2aa0d3a85eaaf027db8488f Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Tue, 25 Sep 2018 14:28:31 -0700 Subject: example: Add a repeating timer sample Tested: Ran through unit test suite and manually executed the example program to make sure it works as expected. Change-Id: I77cffdd038df4eab774f0d162f49273650638ad6 Signed-off-by: William A. Kennington III --- src/sdeventplus/utility/timer.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/sdeventplus/utility/timer.hpp b/src/sdeventplus/utility/timer.hpp index 8865ba1..96c5b6b 100644 --- a/src/sdeventplus/utility/timer.hpp +++ b/src/sdeventplus/utility/timer.hpp @@ -18,6 +18,8 @@ namespace utility * whether or not it has expired since creation or since the last * clearExpired() or restart(). The concept of expiration is * orthogonal to the callback mechanism and can be ignored. + * + * See example/heartbeat_timer.cpp for usage examples. */ template class Timer -- cgit v1.2.3