A timer object to compare elapsed time against a timeout value. More...
#include <WatchdogTimer.hpp>
| 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 | 
A timer object to compare elapsed time against a timeout value.
Definition at line 16 of file WatchdogTimer.hpp.
Constructor.
Konstruktor.
Der eigentliche Ablauf wird mit start() gestartet!
Definition at line 14 of file WatchdogTimer.cpp.
| WatchdogTimer::~WatchdogTimer | ( | ) |  [virtual] | 
Destructor.
Definition at line 20 of file WatchdogTimer.cpp.
| bool WatchdogTimer::isElapsed | ( | ) | 
Abfrage, ob der Timer abgelaufen ist.
Definition at line 37 of file WatchdogTimer.cpp.
| void WatchdogTimer::reset | ( | ) | 
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.
| Time WatchdogTimer::m_nextElapseTime  [private] | 
Definition at line 35 of file WatchdogTimer.hpp.
| TimeDuration WatchdogTimer::m_timeoutInterval  [private] | 
Definition at line 36 of file WatchdogTimer.hpp.