ARC SDK
Public Member Functions
Arc::WatchdogListener Class Reference

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...
 

Detailed Description

This class is meant to provide interface for Watchdog executor part.

Member Function Documentation

◆ Listen() [1/2]

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.

◆ Listen() [2/2]

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.


The documentation for this class was generated from the following file: