TAO  2.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
TAO::TAO_Buffer_Allocator< handler_type, alloc_type > Class Template Reference

Generic buffer allocator for TAO. More...

#include <Buffer_Allocator_T.h>

Inheritance diagram for TAO::TAO_Buffer_Allocator< handler_type, alloc_type >:
Inheritance graph
Collaboration diagram for TAO::TAO_Buffer_Allocator< handler_type, alloc_type >:
Collaboration graph

Public Types

typedef handler_type HANDLER_TYPE
 
typedef alloc_type ALLOC_TYPE
 

Public Member Functions

 TAO_Buffer_Allocator (alloc_type *allocator)
 
virtual handler_type * allocate (void)
 
virtual void release (handler_type *ptr)
 
- Public Member Functions inherited from TAO::TAO_Allocator< handler_type >
virtual ~TAO_Allocator (void)
 

Private Attributes

alloc_type * allocator_
 

Detailed Description

template<typename handler_type, typename alloc_type>
class TAO::TAO_Buffer_Allocator< handler_type, alloc_type >

Generic buffer allocator for TAO.

handler_type is the type of object to allocator, alloc_type is the type of allocator to be used to allocate the object.

Member Typedef Documentation

template<typename handler_type , typename alloc_type >
typedef alloc_type TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::ALLOC_TYPE
template<typename handler_type , typename alloc_type >
typedef handler_type TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::HANDLER_TYPE

Constructor & Destructor Documentation

template<typename handler_type , typename alloc_type >
TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::TAO_Buffer_Allocator ( alloc_type *  allocator)

Member Function Documentation

template<typename handler_type , typename alloc_type >
handler_type * TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::allocate ( void  )
virtual
template<typename handler_type , typename alloc_type >
void TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::release ( handler_type *  ptr)
virtual

Member Data Documentation

template<typename handler_type , typename alloc_type >
alloc_type* TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::allocator_
private

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