Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions
WatchdogThread Class Reference

#include <watchdog.h>

List of all members.

Public Member Functions

bool kick ()
bool set (double interval)
 WatchdogThread ()
 WatchdogThread (double interval)
virtual ~WatchdogThread ()

Protected Member Functions

virtual void bark ()
virtual void watch ()

Protected Attributes

double interval_
bool kicked_
pthread_mutex_t mutex_
bool set_
pthread_t thread_

Static Private Member Functions

static void * watchDelegate (void *obj)

Detailed Description

Definition at line 6 of file watchdog.h.


Constructor & Destructor Documentation

Definition at line 15 of file watchdog.h.

WatchdogThread::WatchdogThread ( double  interval) [inline]

Definition at line 16 of file watchdog.h.

Definition at line 15 of file watchdog.cpp.


Member Function Documentation

void WatchdogThread::bark ( ) [protected, virtual]

Definition at line 61 of file watchdog.cpp.

Definition at line 49 of file watchdog.cpp.

bool WatchdogThread::set ( double  interval)

Definition at line 4 of file watchdog.cpp.

void WatchdogThread::watch ( ) [protected, virtual]

Definition at line 32 of file watchdog.cpp.

void * WatchdogThread::watchDelegate ( void *  obj) [static, private]

Definition at line 25 of file watchdog.cpp.


Member Data Documentation

double WatchdogThread::interval_ [protected]

Definition at line 11 of file watchdog.h.

bool WatchdogThread::kicked_ [protected]

Definition at line 12 of file watchdog.h.

pthread_mutex_t WatchdogThread::mutex_ [protected]

Definition at line 10 of file watchdog.h.

bool WatchdogThread::set_ [protected]

Definition at line 12 of file watchdog.h.

pthread_t WatchdogThread::thread_ [protected]

Definition at line 9 of file watchdog.h.


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


shared_serial
Author(s): Wouter Caarls
autogenerated on Fri Aug 28 2015 13:06:29