NAME
A class of omni::chrono
MEMBERS
omni::chrono::queue_timer
A class of omni::chrono
#include <omni/chrono/queue_timer.hpp>class omni::chrono::queue_timerMEMBERS
omni::chrono::queue_timer::queue_timer()
omni::chrono::queue_timer::~queue_timer()
bool omni::chrono::queue_timer::auto_reset()
uint64_t omni::chrono::queue_timer::hash()
uint32_t omni::chrono::queue_timer::interval()
bool omni::chrono::queue_timer::is_running()
std::size_t omni::chrono::queue_timer::queue_count()
void omni::chrono::queue_timer::reset()
void omni::chrono::queue_timer::set_auto_reset(bool autoreset)
void omni::chrono::queue_timer::set_interval(uint32_t interval_ms)
void omni::chrono::queue_timer::start()
void omni::chrono::queue_timer::stop()
void omni::chrono::queue_timer::swap(omni::chrono::queue_timer& other)
inline omni::chrono::timer_sync_type::enum_t omni::chrono::queue_timer::tick_type()
uint64_t omni::chrono::queue_timer::type()
inline bool omni::chrono::queue_timer::operator!=(const omni::chrono::queue_timer& o)
omni::chrono::queue_timer& omni::chrono::queue_timer::operator=(const omni::chrono::queue_timer& other)
bool omni::chrono::queue_timer::operator==(const omni::chrono::queue_timer& o)
omni::chrono::queue_timer::disposing
omni::chrono::queue_timer::name
omni::chrono::queue_timer::state_object
omni::chrono::queue_timer::tick
DESCRIPTION
This timer will invoke a
top
This timer will invoke a
tick event at a specified interval, and depending on how long the delegate takes to complete, could queue up additional events. In other words, if the timer elapses while an event is still executing, the next event will be queued up and fire after the completion of the current event.
top
NOTES
Since the timer event happens on a new thread, care must be taken to make sure the attached delegate is re-entrant. It should also be noted that since these events can be queued, even after the timer has been stopped, all events remaining in the queue will continue to fire.
top
Since the timer event happens on a new thread, care must be taken to make sure the attached delegate is re-entrant. It should also be noted that since these events can be queued, even after the timer has been stopped, all events remaining in the queue will continue to fire.
top