OpenJAUS SAE SDK  6.0.0
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
openjaus::system::AbstractWatchdog Class Reference

#include <AbstractWatchdog.h>

Inherits openjaus::system::WatchdogInterface.

Inherited by openjaus::system::SimpleWatchdog.

Public Member Functions

 AbstractWatchdog ()
 
virtual ~AbstractWatchdog ()
 
void addTimeOutCallback (void(*function)(void *object, WatchdogInterface *watchdog), void *object)
 
- Public Member Functions inherited from openjaus::system::WatchdogInterface
 WatchdogInterface ()
 
virtual ~WatchdogInterface ()
 
virtual void start ()=0
 
virtual void cancel ()=0
 
virtual void reset ()=0
 
virtual bool timedOut () const =0
 

Protected Member Functions

void executeCallbacks ()
 

Private Attributes

std::vector< Callback< WatchdogInterface * > > callbacks
 

Constructor & Destructor Documentation

◆ AbstractWatchdog()

openjaus::system::AbstractWatchdog::AbstractWatchdog ( )

◆ ~AbstractWatchdog()

openjaus::system::AbstractWatchdog::~AbstractWatchdog ( )
virtual

Member Function Documentation

◆ addTimeOutCallback()

void openjaus::system::AbstractWatchdog::addTimeOutCallback ( void(*)(void *object, WatchdogInterface *watchdog)  function,
void *  object 
)
virtual

◆ executeCallbacks()

void openjaus::system::AbstractWatchdog::executeCallbacks ( )
protected

Member Data Documentation

◆ callbacks

std::vector< Callback<WatchdogInterface*> > openjaus::system::AbstractWatchdog::callbacks
private

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