semf
timer.h
Go to the documentation of this file.
1
10#ifndef SEMF_APP_SYSTEM_TIMER_H_
11#define SEMF_APP_SYSTEM_TIMER_H_
12
15
16namespace semf
17{
18namespace app
19{
23class Timer
24{
25public:
26 virtual ~Timer() = default;
27
29 virtual void start() = 0;
31 virtual void stop() = 0;
33 virtual void reset() = 0;
34
39};
40} /* namespace app */
41} /* namespace semf */
42#endif // SEMF_APP_SYSTEM_TIMER_H_
Signal for lightweight signal/slot implementation. One signal can be connected to multiple slots and ...
Definition: signal.h:41
Class for using timer hardware.
Definition: timer.h:24
virtual void stop()=0
virtual void start()=0
virtual ~Timer()=default
Signal< Error > error
Definition: timer.h:38
virtual void reset()=0
Signal timeout
Definition: timer.h:36