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

Public Member Functions | |
| virtual | ~ACE_Free_List (void) | 
| Destructor - removes all the elements from the free_list.   | |
| virtual void | add (T *element)=0 | 
| virtual T * | remove (void)=0 | 
| virtual size_t | size (void)=0 | 
| Returns the current size of the free list.   | |
| virtual void | resize (size_t newsize)=0 | 
| Resizes the free list to newsize.   | |
This class maintains a free list of nodes of type T.
Definition at line 37 of file Free_List.h.
      
  | 
  ||||||||||
| 
 Destructor - removes all the elements from the free_list. 
 Definition at line 16 of file Free_List.cpp. 
 00017 {
00018 }
 | 
  
      
  | 
  ||||||||||
| 
 Inserts an element onto the free list (if it isn't past the high water mark). Implemented in ACE_Locked_Free_List< T, ACE_LOCK >, ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< char >, ACE_LOCK >, ACE_Locked_Free_List< ACE_Thread_Descriptor, ACE_SYNCH_MUTEX >, and ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< T >, ACE_LOCK >.  | 
  
      
  | 
  ||||||||||
| 
 Takes a element off the freelist and returns it. It creates new elements if the size is at or below the low water mark. Implemented in ACE_Locked_Free_List< T, ACE_LOCK >, ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< char >, ACE_LOCK >, ACE_Locked_Free_List< ACE_Thread_Descriptor, ACE_SYNCH_MUTEX >, and ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< T >, ACE_LOCK >.  | 
  
      
  | 
  ||||||||||
| 
 Resizes the free list to newsize. 
 Implemented in ACE_Locked_Free_List< T, ACE_LOCK >, ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< char >, ACE_LOCK >, ACE_Locked_Free_List< ACE_Thread_Descriptor, ACE_SYNCH_MUTEX >, and ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< T >, ACE_LOCK >.  | 
  
      
  | 
  ||||||||||
| 
 Returns the current size of the free list. 
 Implemented in ACE_Locked_Free_List< T, ACE_LOCK >, ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< char >, ACE_LOCK >, ACE_Locked_Free_List< ACE_Thread_Descriptor, ACE_SYNCH_MUTEX >, and ACE_Locked_Free_List< ACE_Cached_Mem_Pool_Node< T >, ACE_LOCK >.  | 
  
 
1.3.6