![]() |
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. | |
![]() | |
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 | |
![]() | |
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... | |
![]() | |
InstanceLocator (otInstance &aInstance) | |
This constructor initializes the object. More... | |
![]() | |
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... | |
![]() | |
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. |