![]() |
PosturePerfection
|
Simple timer which just has the running flag set when running and unset when not running. More...
#include <posture_estimator.h>


Public Member Functions | |
| DelayTimer (size_t time) | |
Constructor for PostureEstimating::DelayTimer More... | |
| ~DelayTimer () | |
| void | timerEvent () |
| Sets running flag to false. More... | |
| void | countdown () |
| Starts the delay timer running. More... | |
Data Fields | |
| size_t | time |
| The time timer runs for. More... | |
| bool | running |
| Boolen which indicates if timer is running (True = running) More... | |
Simple timer which just has the running flag set when running and unset when not running.
|
explicit |
Constructor for PostureEstimating::DelayTimer
| time | The time timer will run for |
| PostureEstimating::DelayTimer::~DelayTimer | ( | ) |
Deconstructor for PostureEstimating::DelayTimer
| void PostureEstimating::DelayTimer::countdown | ( | ) |
Starts the delay timer running.
| void PostureEstimating::DelayTimer::timerEvent | ( | void | ) |
Sets running flag to false.
| bool PostureEstimating::DelayTimer::running |
Boolen which indicates if timer is running (True = running)
| size_t PostureEstimating::DelayTimer::time |
The time timer runs for.