|
Argon RTOS
1.3.0
Tiny embedded real-time kernel
|
#include <ar_kernel.h>
Linked list.
Public Member Functions | |
| void | add (ar_list_node_t *item) |
| Add an item to the list. | |
| void | add (ar_thread_t *item) |
| Add a thread to the list. | |
| void | add (ar_timer_t *item) |
| Add a timer to the list. | |
| void | add (ar_queue_t *item) |
| Add a queue to the list. | |
| void | check () |
| bool | contains (ar_list_node_t *item) |
| Return whether the list contains a given node. | |
| template<typename T > | |
| T * | getHead () |
| Convert the node head's m_obj pointer to a particular type. | |
| bool | isEmpty () const |
| Return whether the list is empty. | |
| void | remove (ar_list_node_t *item) |
| Remove an item from the list. | |
| void | remove (ar_thread_t *item) |
| Remove a thread from the list. | |
| void | remove (ar_timer_t *item) |
| Remove a timer from the list. | |
| void | remove (ar_queue_t *item) |
| Remove a queue from the list. | |
Public Attributes | |
| ar_list_node_t * | m_head |
| Pointer to the head of the list. Will be NULL if the list is empty. | |
| ar_sort_predicate_t | m_predicate |
| Sort predicate to use for this list. Items are added to the end if NULL. | |