ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Free_List< T > Class Template Referenceabstract

Implements a free list. More...

#include <Free_List.h>

Inheritance diagram for ACE_Free_List< T >:

Public Member Functions

virtual ~ACE_Free_List ()=default
 Destructor - removes all the elements from the free_list.
virtual void add (T *element)=0
virtual T * remove ()=0
virtual size_t size ()=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

◆ ~ACE_Free_List()

template<class T>
virtual ACE_Free_List< T >::~ACE_Free_List ( )
virtualdefault

Destructor - removes all the elements from the free_list.

Member Function Documentation

◆ add()

◆ remove()

template<class T>
virtual T * ACE_Free_List< T >::remove ( )
pure virtual

◆ resize()

◆ size()


The documentation for this class was generated from the following file: