A thread-safe countdown timer running on a different thread. More...
#include <delay_timer.h>
Public Member Functions | |
DelayTimer (const DelayTimer &)=delete | |
DelayTimer & | operator= (const DelayTimer &)=delete |
void | Start (std::chrono::seconds delayDuration) |
Start the timer if it has not been started yet. More... | |
bool | IsActive () const noexcept |
Indicate whether the timer is active or not. More... | |
void | Dispose () |
Release resources aquired by the timer. | |
A thread-safe countdown timer running on a different thread.
|
noexcept |
Indicate whether the timer is active or not.
void ara::diag::routing::DelayTimer::Start | ( | std::chrono::seconds | delayDuration | ) |
Start the timer if it has not been started yet.
delayDuration | Timer delay duration in [sec] |