12 #ifndef INCLUDE_DISTORTOS_SOFTWARETIMERCOMMON_HPP_ 13 #define INCLUDE_DISTORTOS_SOFTWARETIMERCOMMON_HPP_ 89 #endif // INCLUDE_DISTORTOS_SOFTWARETIMERCOMMON_HPP_ ~SoftwareTimerCommon() override
SoftwareTimerCommon's destructor.
Definition: SoftwareTimerCommon.cpp:24
int stop() override
Stops the timer.
Definition: SoftwareTimerCommon.cpp:40
int start(TickClock::time_point timePoint, TickClock::duration period={}) override
Starts the timer.
Definition: SoftwareTimerCommon.cpp:34
constexpr SoftwareTimerCommon()
SoftwareTimerCommon's constructor.
Definition: SoftwareTimerCommon.hpp:36
std::chrono::time_point< TickClock > time_point
basic time_point type of clock
Definition: TickClock.hpp:42
int start(TickClock::duration duration, TickClock::duration period={})
Starts the timer.
Definition: SoftwareTimer.cpp:21
internal::SoftwareTimerControlBlock softwareTimerControlBlock_
internal SoftwareTimerControlBlock object
Definition: SoftwareTimerCommon.hpp:84
Top-level namespace of distortos project.
Definition: buttons.hpp:33
bool isRunning() const override
Definition: SoftwareTimerCommon.cpp:29
std::chrono::duration< rep, period > duration
basic duration type of clock
Definition: TickClock.hpp:39
static void softwareTimerRunner(SoftwareTimer &softwareTimer)
Software timer's function runner.
Definition: SoftwareTimer.cpp:31
SoftwareTimerCommon class implements common functionality of software timers.
Definition: SoftwareTimerCommon.hpp:28
SoftwareTimer class header.
SoftwareTimerControlBlock class header.
SoftwareTimerControlBlock class is a control block of software timer.
Definition: SoftwareTimerControlBlock.hpp:28
SoftwareTimer class is an abstract interface for software timers.
Definition: SoftwareTimer.hpp:26