1 #ifndef __ARC_WATCHDOG_H__ 2 #define __ARC_WATCHDOG_H__ 4 #include <arc/Thread.h> 31 bool Listen(
int limit,
bool& error);
59 #endif // __ARC_WATCHDOG_H__ Arc namespace contains all core ARC classes.
Definition: ArcConfig.h:11
WatchdogChannel(int timeout)
Defines watchdog kicking source with specified timeout.
bool Listen(void)
Waits till timeout occurs and then returns true.
void Kick(void)
Tells watchdog this source is still alive.
This class is meant to provide interface for Watchdog executor part.
Definition: Watchdog.h:15
~WatchdogChannel(void)
Upon destruction channel is closed and watchdog forgets about it.
This class is meant to be used in code which provides "I'm alive" ticks to watchdog.
Definition: Watchdog.h:37