#include <TestDoublePeriodicTimerFactory.h>
◆ TestDoublePeriodicTimer()
| TestDoubleOSWrapper::TestDoublePeriodicTimer::TestDoublePeriodicTimer |
( |
| ) |
|
|
inline |
◆ ~TestDoublePeriodicTimer()
| virtual TestDoubleOSWrapper::TestDoublePeriodicTimer::~TestDoublePeriodicTimer |
( |
| ) |
|
|
inlinevirtual |
◆ getName()
| virtual const char * TestDoubleOSWrapper::TestDoublePeriodicTimer::getName |
( |
| ) |
const |
|
inlinevirtual |
◆ getPeriodInMillis()
| virtual unsigned long TestDoubleOSWrapper::TestDoublePeriodicTimer::getPeriodInMillis |
( |
| ) |
const |
|
inlinevirtual |
◆ isStarted()
| virtual bool TestDoubleOSWrapper::TestDoublePeriodicTimer::isStarted |
( |
| ) |
const |
|
inlinevirtual |
Return true if the timer is started.
- Return values
-
| true | The timer is already started |
| false | The timer is already stopped |
Implements OSWrapper::PeriodicTimer.
◆ setCreateArgs()
| void TestDoubleOSWrapper::TestDoublePeriodicTimer::setCreateArgs |
( |
OSWrapper::Runnable * |
r, |
|
|
unsigned long |
periodInMillis, |
|
|
const char * |
name |
|
) |
| |
|
inline |
◆ setName()
| virtual void TestDoubleOSWrapper::TestDoublePeriodicTimer::setName |
( |
const char * |
name | ) |
|
|
inlinevirtual |
◆ start()
| virtual void TestDoubleOSWrapper::TestDoublePeriodicTimer::start |
( |
| ) |
|
|
inlinevirtual |
Start the timer.
When the timer period elapses, the timer calls Runnable::run() specified at create(). The timer calls the Runnable::run() per period.
- Note
- If the timer is already started, do nothing.
-
If the timer is stopped, you can start() again.
Implements OSWrapper::PeriodicTimer.
◆ stop()
| virtual void TestDoubleOSWrapper::TestDoublePeriodicTimer::stop |
( |
| ) |
|
|
inlinevirtual |
◆ m_name
| const char* TestDoubleOSWrapper::TestDoublePeriodicTimer::m_name |
|
protected |
◆ m_periodInMillis
| unsigned long TestDoubleOSWrapper::TestDoublePeriodicTimer::m_periodInMillis |
|
protected |
◆ m_runnable
The documentation for this class was generated from the following file: