ARC SDK
|
This class is meant to provide interface for Watchdog executor part. More...
#include <arc/Watchdog.h>
Public Member Functions | |
bool | Listen (void) |
Waits till timeout occurs and then returns true. More... | |
bool | Listen (int limit, bool &error) |
Similar to Listen() but forces method to exit after limit seconds. More... | |
This class is meant to provide interface for Watchdog executor part.
bool Arc::WatchdogListener::Listen | ( | void | ) |
Waits till timeout occurs and then returns true.
If any error occurs it returns false and watchdog is normally not usable anymore.
bool Arc::WatchdogListener::Listen | ( | int | limit, |
bool & | error | ||
) |
Similar to Listen() but forces method to exit after limit seconds.
If limit passed false is returned. If method is exited due to internal error then error argument is filled with true.