SOLA
|
#include <watchdog.h>
Classes | |
class | Impl |
Public Member Functions | |
WatchDog (const WatchDog &)=delete | |
WatchDog & | operator= (const WatchDog &)=delete |
WatchDog (const WatchDog &&)=delete | |
WatchDog & | operator= (const WatchDog &&)=delete |
void | addJob (std::function< void()> function, uint32_t milliseconds, TimeoutType &timeout_type) |
void | cancelJob (const TimeoutType &timeout_type) |
Helper class to execute functions after a given time asynchronous
void minhton::core::WatchDog::addJob | ( | std::function< void()> | function, |
uint32_t | milliseconds, | ||
TimeoutType & | timeout_type | ||
) |
Add new job to watchdog (only one job can exist at a time for now)
function | function to execute |
milliseconds | milliseconds until function will be executed. |