#include <Free_List.h>
Inheritance diagram for ACE_Free_List:

Public Methods | |
| virtual | ~ACE_Free_List (void) |
| Destructor - removes all the elements from the free_list. More... | |
| virtual void | add (T *element)=0 |
| Inserts an element onto the free list (if it isn't past the high water mark). More... | |
| virtual T * | remove (void)=0 |
| Takes a element off the freelist and returns it. It creates <inc> new elements if the size is at or below the low water mark. More... | |
| virtual size_t | size (void)=0 |
| Returns the current size of the free list. More... | |
| virtual void | resize (size_t newsize)=0 |
| Resizes the free list to <newsize>. More... | |
This class maintains a free list of nodes of type T.
Definition at line 33 of file Free_List.h.
|
||||||||||
|
Destructor - removes all the elements from the free_list.
Definition at line 21 of file Free_List.cpp.
00022 {
00023 // Nothing
00024 }
|
|
||||||||||
|
Inserts an element onto the free list (if it isn't past the high water mark).
Implemented in ACE_Locked_Free_List. |
|
||||||||||
|
Takes a element off the freelist and returns it. It creates <inc> new elements if the size is at or below the low water mark.
Implemented in ACE_Locked_Free_List. |
|
||||||||||
|
Resizes the free list to <newsize>.
Implemented in ACE_Locked_Free_List. |
|
||||||||||
|
Returns the current size of the free list.
Implemented in ACE_Locked_Free_List. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002