TAO
2.0.8
|
Generic buffer allocator for TAO. More...
#include <Buffer_Allocator_T.h>
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) |
Private Attributes | |
alloc_type * | allocator_ |
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.
typedef alloc_type TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::ALLOC_TYPE |
typedef handler_type TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::HANDLER_TYPE |
TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::TAO_Buffer_Allocator | ( | alloc_type * | allocator | ) |
handler_type * TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::allocate | ( | void | ) | [virtual] |
Implements TAO::TAO_Allocator< handler_type >.
void TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::release | ( | handler_type * | ptr | ) | [virtual] |
Implements TAO::TAO_Allocator< handler_type >.
alloc_type* TAO::TAO_Buffer_Allocator< handler_type, alloc_type >::allocator_ [private] |