15 #ifndef A_UTIL_UTIL_SYSTEM_DETAIL_TIMER_IMPL_INCLUDED
16 #define A_UTIL_UTIL_SYSTEM_DETAIL_TIMER_IMPL_INCLUDED
23 template <
typename M,
typename T>
24 inline Timer::Timer(std::uint64_t period_us, M method, T& instance)
31 template <
typename M,
typename T>
General delegate template: encapsulates a function or a method without a parameter.
Periodic timer running in a separate thread.
void setCallback(void(*function)())
Set the callback for the timer.
void setPeriod(std::uint64_t period_us)
Set the period used by this timer, restarting the timer if already running.
Common include for delegate functionality.
Serves as the root component, with common functionality documented in core functionality.
Public API for Timer class.