Double linked list. More...
Public Member Functions | |
void | init (void) noexcept |
Double linked list initialization. | |
void | detach (void) noexcept |
Detach entry from connected list. | |
void | insert_after (DoubleLinkedList_t *pInput) noexcept |
Insert the supplied object after this object. | |
void | insert_before (DoubleLinkedList_t *pInput) noexcept |
Insert the supplied object before this object. | |
Public Attributes | |
DoubleLinkedList_t * | m_pNext |
Pointer to the next entry. | |
DoubleLinkedList_t * | m_pPrev |
Pointer to the previous entry. | |
Double linked list.
Using inlined code, this structure handles all the tasks needed to manage a circular double linked list. All objects when created point to themselves and can be added and removed to other linked list objects at will.
|
noexcept |
Detach entry from connected list.
Unlink this list object from any connected list.
Once this function ends, the entries in this object will point to itself.
|
inlinenoexcept |
Double linked list initialization.
Using inlined code, initialize the linked list entries to point to themselves so it is a circular linked list of only one entry.
|
noexcept |
Insert the supplied object after this object.
Unlink the input object from any linked list it's attached to and then insert the object after this one.
|
noexcept |
Insert the supplied object before this object.
Unlink the input object from any linked list it's attached to and then insert the object before this one.
DoubleLinkedList_t* Burger::DoubleLinkedList_t::m_pNext |
Pointer to the next entry.
DoubleLinkedList_t* Burger::DoubleLinkedList_t::m_pPrev |
Pointer to the previous entry.