Public Member Functions | Private Attributes
WatchdogTimer Class Reference

A timer object to compare elapsed time against a timeout value. More...

#include <WatchdogTimer.hpp>

List of all members.

Public Member Functions

bool isElapsed ()
void reset ()
void start (UINT32 seconds)
 Restarts the timer. Call this as "ok" signal.
void start (const TimeDuration interval)
 Initializes and starts the timer. interval = time in [s].
 WatchdogTimer ()
 Constructor.
virtual ~WatchdogTimer ()
 Destructor.

Private Attributes

Time m_nextElapseTime
TimeDuration m_timeoutInterval

Detailed Description

A timer object to compare elapsed time against a timeout value.

Definition at line 16 of file WatchdogTimer.hpp.


Constructor & Destructor Documentation

Constructor.

Konstruktor.

Der eigentliche Ablauf wird mit start() gestartet!

Definition at line 14 of file WatchdogTimer.cpp.

Destructor.

Definition at line 20 of file WatchdogTimer.cpp.


Member Function Documentation

Abfrage, ob der Timer abgelaufen ist.

Definition at line 37 of file WatchdogTimer.cpp.

OK-Meldung der Applikation zum Ruecksetzen des Timers.

Definition at line 52 of file WatchdogTimer.cpp.

void WatchdogTimer::start ( UINT32  seconds)

Restarts the timer. Call this as "ok" signal.

void WatchdogTimer::start ( const TimeDuration  interval)

Initializes and starts the timer. interval = time in [s].

Start the Timer.

Definition at line 28 of file WatchdogTimer.cpp.


Member Data Documentation

Definition at line 35 of file WatchdogTimer.hpp.

Definition at line 36 of file WatchdogTimer.hpp.


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


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Thu Jun 6 2019 21:02:36