ARC SDK
Public Member Functions
Arc::WatchdogChannel Class Reference

This class is meant to be used in code which provides "I'm alive" ticks to watchdog. More...

#include <arc/Watchdog.h>

Public Member Functions

 WatchdogChannel (int timeout)
 Defines watchdog kicking source with specified timeout. More...
 
 ~WatchdogChannel (void)
 Upon destruction channel is closed and watchdog forgets about it. More...
 
void Kick (void)
 Tells watchdog this source is still alive. More...
 

Detailed Description

This class is meant to be used in code which provides "I'm alive" ticks to watchdog.

Constructor & Destructor Documentation

Arc::WatchdogChannel::WatchdogChannel ( int  timeout)

Defines watchdog kicking source with specified timeout.

Code must call Kick() method of this instance to keep watchdog from timeouting. If object is destroyed watchdog does not monitor it anymore. Althogh timeout is specified in seconds real time resolution of watchdog is about 1 minute.

Arc::WatchdogChannel::~WatchdogChannel ( void  )

Upon destruction channel is closed and watchdog forgets about it.

Member Function Documentation

void Arc::WatchdogChannel::Kick ( void  )

Tells watchdog this source is still alive.


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