BoosterSeat
0.1
A C++ library that includes common utilities that are used in other projects.
|
A software timer class for manual control. More...
#include <timer.hpp>
Public Member Functions | |
SoftwareTimer ()=default | |
Default constructor. More... | |
bool | isDone () const override |
Check if the timer is done. More... | |
void | reset () override |
Reset the timer - Sets the timer to not done. More... | |
void | setDone () override |
Set the timer to done. More... | |
void | setNotDone () |
Set the timer to not done. More... | |
void | setTimeout (int timeout_ms) override |
Stubbed out - Does nothing. More... | |
Private Attributes | |
bool | is_done_ = false |
The done state of the timer. More... | |
A software timer class for manual control.
|
default |
Default constructor.
|
inlineoverridevirtual |
Reset the timer - Sets the timer to not done.
Implements bst::ITimer.
References is_done_.
Referenced by TEST().
|
inlineoverridevirtual |
Check if the timer is done.
Implements bst::ITimer.
References is_done_.
Referenced by TEST().
|
inlineoverridevirtual |
Stubbed out - Does nothing.
Implements bst::ITimer.
|
inlineoverridevirtual |
Set the timer to done.
Implements bst::ITimer.
References is_done_.
Referenced by TEST().
|
inline |
|
private |
The done state of the timer.
Referenced by isDone(), reset(), setDone(), and setNotDone().