#include <oscl_linked_list.h>
Public Methods | |
Oscl_MTLinked_List () | |
~Oscl_MTLinked_List () | |
int32 | dequeue_element (LLClass &element) |
int32 | add_element (LLClass &new_element) |
int32 | add_to_front (LLClass &new_element) |
uint32 | get_element (int32 index, LLClass &element) |
int32 | remove_element (const LLClass &data_to_remove) |
int32 | get_index (const LLClass &data) |
int32 | remove_element (const int32 index_to_remove) |
int32 | move_to_end (const LLClass &data_to_move) |
int32 | move_to_front (const LLClass &data_to_move) |
Protected Attributes | |
Oscl_Linked_List< LLClass, Alloc > | the_list |
|
Constructor for Oscl_MTLinked_List |
|
Destructor for Oscl_MTLinked_List |
|
Adds new element to the Multi Threaded Linked list.if list is already there then it adds element at end of list otherwise it create the list and add the element as first element of list.
|
|
Adds new element at the start of the Multi Threaded Linked list. if list is already exist then it adds element at start of list otherwise it create the list and add the element as first element of list.
|
|
|
|
Search and returs the element in the Multi Treaded Linked List for passed index.
|
|
Returns the index for requested element.
|
|
Moves the element to end of the list
|
|
Moves the element to front of the list
|
|
Removes the element for requested index.
|
|
Removes the element from the list.
|
|
|