Used internally to store state of active timers. More...
#include "timer.h"
Public Attributes | |
uint64_t | frequency |
Frequency between ticks. More... | |
timer | handle |
Timer handle. More... | |
time_t | next_tick |
Next timer tick as unix epoch. More... | |
timer_callback_t | on_stop |
Lambda to call on stop (optional) More... | |
timer_callback_t | on_tick |
Lambda to call on tick. More... | |
Used internally to store state of active timers.
uint64_t dpp::timer_t::frequency |
Frequency between ticks.
timer dpp::timer_t::handle |
Timer handle.
time_t dpp::timer_t::next_tick |
Next timer tick as unix epoch.
Referenced by dpp::cluster::start_timer().
timer_callback_t dpp::timer_t::on_stop |
Lambda to call on stop (optional)
Referenced by dpp::cluster::start_timer().
timer_callback_t dpp::timer_t::on_tick |
Lambda to call on tick.