WatchdogTimer.hpp
Go to the documentation of this file.
1 // WatchdogTimer.hpp
2 // Copyright (c) SICK AG
3 // created: 06.06.2011
4 
5 #ifndef WATCHDOGTIMER_HPP
6 #define WATCHDOGTIMER_HPP
7 
8 #include "../BasicDatatypes.hpp"
9 //#include <sys/time.h>
10 #include "Time.hpp"
11 
13 //
14 //
15 //
17 {
18 public:
20  WatchdogTimer();
21 
23  virtual ~WatchdogTimer();
24 
25  void reset();
26 
27  void start(UINT32 seconds); // Initializes and starts the timer.
28 
30  void start(const TimeDuration interval);
31 
32  bool isElapsed();
33 
34 private:
37 };
38 
39 
40 #endif // WATCHDOGTIMER_HPP
Definition: Time.hpp:44
uint32_t UINT32
virtual ~WatchdogTimer()
Destructor.
void start(UINT32 seconds)
Restarts the timer. Call this as "ok" signal.
A timer object to compare elapsed time against a timeout value.
WatchdogTimer()
Constructor.
TimeDuration m_timeoutInterval


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Mon Oct 26 2020 03:27:30