A Timer. Not really implemented yet.
More...
#include <hardware.h>
|
|
using | sptr = std::shared_ptr< Timer > |
| | Shared pointer type for Timer.
|
| |
|
| bool | isActive () const |
| | Is this timer active? More...
|
| |
| void | start (const uint millis) |
| | Start a timer for given count of milliseconds. More...
|
| |
|
void | stop () |
| | Stop the timer.
|
| |
| SignalTimeout & | timeout () |
| | Getter for timeout signal. More...
|
| |
|
|
SignalTimeout | s_timeout |
| | Signal: timer period elapsed.
|
| |
A Timer. Not really implemented yet.
◆ isActive()
| bool Timer::isActive |
( |
| ) |
const |
|
inline |
Is this timer active?
- Returns
- true
-
false
◆ start()
| void Timer::start |
( |
const uint |
millis | ) |
|
|
inline |
Start a timer for given count of milliseconds.
- Parameters
-
◆ timeout()
| SignalTimeout & Timer::timeout |
( |
| ) |
|
|
inline |
Getter for timeout signal.
- Returns
- SignalTimeout&
The documentation for this class was generated from the following file:
- louper-footpedal/hardware.h