Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

# TAO::TAO_Allocator< handler_type > Class Template Reference

Abstract class for TAO allocators. This will be used for derived allocator templates that are capable of allocating a specific type of objects. More...

`#include <Allocator.h>`

Inheritance diagram for TAO::TAO_Allocator< handler_type >:

[legend]
List of all members.

## Public Member Functions
virtual | ~TAO_Allocator (void)
virtual handler_type * | allocate ()=0
virtual void | release (handler_type *ptr)=0

## Detailed Description

### template<typename handler_type>
class TAO::TAO_Allocator< handler_type >

Abstract class for TAO allocators. This will be used for derived allocator templates that are capable of allocating a specific type of objects.

## Constructor & Destructor Documentation

template<typename handler_type>
virtual TAO::TAO_Allocator< handler_type >::~TAO_Allocator | ( | void |  | ) | `[inline, virtual]`

## Member Function Documentation

template<typename handler_type>
virtual handler_type* TAO::TAO_Allocator< handler_type >::allocate | ( |  | ) | `[pure virtual]`

| Implemented in TAO::TAO_Buffer_Allocator< handler_type, alloc_type >.

template<typename handler_type>
virtual void TAO::TAO_Allocator< handler_type >::release | ( | handler_type * | ptr | ) | `[pure virtual]`

| Implemented in TAO::TAO_Buffer_Allocator< handler_type, alloc_type >.

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

- Allocator.h