ACE  6.1.0
Public Member Functions
ACE_Free_List< T > Class Template Reference

Implements a free list. More...

#include <Free_List.h>

Inheritance diagram for ACE_Free_List< T >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<class T>
class ACE_Free_List< T >

Implements a free list.

This class maintains a free list of nodes of type T.


Constructor & Destructor Documentation

template<class T >
ACE_Free_List< T >::~ACE_Free_List ( void  ) [virtual]

Destructor - removes all the elements from the free_list.


Member Function Documentation

template<class T>
virtual void ACE_Free_List< T >::add ( T *  element) [pure virtual]
template<class T>
virtual T* ACE_Free_List< T >::remove ( void  ) [pure virtual]
template<class T>
virtual void ACE_Free_List< T >::resize ( size_t  newsize) [pure virtual]
template<class T>
virtual size_t ACE_Free_List< T >::size ( void  ) [pure virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines