Double linked list node, with time stamp and timer.
More...
#include <os-lists.h>
Double linked list node, with time stamp and timer.
Definition at line 315 of file os-lists.h.
◆ timer_node()
Construct a clock timer node.
- Parameters
-
[in] | ts | Time stamp. |
[in] | tm | Reference to timer. |
Definition at line 362 of file os-lists.cpp.
◆ ~timer_node()
os::rtos::internal::timer_node::~timer_node |
( |
| ) |
|
|
overridevirtual |
◆ action()
void os::rtos::internal::timer_node::action |
( |
void |
| ) |
|
|
overridevirtual |
◆ next() [1/2]
◆ next() [2/2]
◆ prev() [1/2]
◆ prev() [2/2]
◆ unlink()
void os::utils::static_double_list_links::unlink |
( |
void |
| ) |
|
|
inherited |
Remove the node from the list.
- Returns
- Nothing.
Update the neighbours to point to each other, skipping the node.
For more robustness, to prevent unexpected accesses, the links in the removed node are nullified.
Definition at line 57 of file lists.cpp.
◆ unlinked()
bool os::utils::static_double_list_links::unlinked |
( |
void |
| ) |
|
|
inlineinherited |
Check if the node is unlinked.
- Return values
-
true | The node is not linked. |
false | The node is linked to a list. |
Definition at line 847 of file lists.h.
◆ next_
Pointer to next node.
Definition at line 138 of file lists.h.
◆ prev_
Pointer to previous node.
Definition at line 133 of file lists.h.
◆ timestamp
Time stamp when the next action will be performed.
Definition at line 200 of file os-lists.h.
◆ tmr
timer& os::rtos::internal::timer_node::tmr |
Reference to waiting timer.
Definition at line 385 of file os-lists.h.
The documentation for this class was generated from the following files: