Class jac::TimersFeature::Timer
Public Functions
Type | Name |
---|---|
Timer (std::function< void()> callback, std::chrono::milliseconds duration, int id, bool isRepeating=false) |
|
void | cancel () |
std::function< void()> | getCallback () |
std::chrono::time_point< std::chrono::steady_clock > | getEndTime () const |
int | getId () const |
bool | isCancelled () const |
bool | isRepeating () const |
bool | operator< (const Timer & other) const |
void | update () |
Public Functions Documentation
function Timer
inline Timer::Timer (
std::function< void()> callback,
std::chrono::milliseconds duration,
int id,
bool isRepeating=false
)
function cancel
function getCallback
function getEndTime
function getId
function isCancelled
function isRepeating
function operator<
function update
The documentation for this class was generated from the following file src/jac/features/timersFeature.h