![]() |
0.01.00
|
This class implements the millisecond timer scheduler. More...
#include <src/core/common/timer.hpp>
Public Member Functions | |
| TimerMilliScheduler (otInstance &aInstance) | |
| This constructor initializes the object. More... | |
| void | Add (TimerMilli &aTimer) |
| This method adds a timer instance to the timer scheduler. More... | |
| void | Remove (TimerMilli &aTimer) |
| This method removes a timer instance to the timer scheduler. More... | |
| void | ProcessTimers (void) |
| This method processes the running timers. | |
Public Member Functions inherited from ot::InstanceLocator | |
| otInstance & | GetInstance (void) const |
| This method returns a reference to the parent otInstance structure. More... | |
| Ip6::Ip6 & | GetIp6 (void) const |
| This method returns a reference to the Ip6. More... | |
| ThreadNetif & | GetNetif (void) const |
| This method returns a reference to the thread network interface. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ot::TimerScheduler | |
| TimerScheduler (otInstance &aInstance) | |
| This constructor initializes the object. More... | |
| void | Add (Timer &aTimer, const AlarmApi &aAlarmApi) |
| This method adds a timer instance to the timer scheduler. More... | |
| void | Remove (Timer &aTimer, const AlarmApi &aAlarmApi) |
| This method removes a timer instance to the timer scheduler. More... | |
| void | ProcessTimers (const AlarmApi &aAlarmApi) |
| This method processes the running timers. More... | |
| void | SetAlarm (const AlarmApi &aAlarmApi) |
| This method sets the platform alarm based on timer at front of the list. More... | |
Protected Member Functions inherited from ot::InstanceLocator | |
| InstanceLocator (otInstance &aInstance) | |
| This constructor initializes the object. More... | |
Static Protected Member Functions inherited from ot::TimerScheduler | |
| static bool | IsStrictlyBefore (uint32_t aTimeA, uint32_t aTimeB) |
| This static method compares two times and indicates if the first time is strictly before (earlier) than the second time. More... | |
Protected Attributes inherited from ot::TimerScheduler | |
| Timer * | mHead |
This class implements the millisecond timer scheduler.
|
inline |
This constructor initializes the object.
| [in] | aInstance | A reference to the instance object. |
|
inline |
This method adds a timer instance to the timer scheduler.
| [in] | aTimer | A reference to the timer instance. |
|
inline |
This method removes a timer instance to the timer scheduler.
| [in] | aTimer | A reference to the timer instance. |