coil::Allocator Class Reference

Allocator class. More...

#include <Allocator.h>

Inheritance diagram for coil::Allocator:
coil::Singleton< Allocator >

List of all members.

Public Member Functions

virtual ~Allocator ()
 Destructor.
virtual void * New (size_t t) throw (std::bad_alloc)
 Create of memory allocation.
virtual void Delete (void *p) throw ()
 Delete of memory allocation.
virtual void * NewArray (size_t t) throw (std::bad_alloc)
 Create of array memory allocation.
virtual void DeleteArray (void *p) throw ()
 Delete of array memory allocation.

Detailed Description

Allocator class.


Constructor & Destructor Documentation

virtual coil::Allocator::~Allocator (  )  [inline, virtual]

Destructor.

Destructor


Member Function Documentation

virtual void coil::Allocator::Delete ( void *  p  )  throw () [virtual]

Delete of memory allocation.

Delete of memory allocation.

Parameters:
p Pointer to a memory allocation.
virtual void coil::Allocator::DeleteArray ( void *  p  )  throw () [virtual]

Delete of array memory allocation.

Delete of array memory allocation.

Parameters:
p Pointer to a memory allocation.
virtual void* coil::Allocator::New ( size_t  t  )  throw (std::bad_alloc) [virtual]

Create of memory allocation.

Create of memory allocation.

Parameters:
t Allocation size.
Returns:
Pointer to a memory allocation.
virtual void* coil::Allocator::NewArray ( size_t  t  )  throw (std::bad_alloc) [virtual]

Create of array memory allocation.

Create of array memory allocation.

Parameters:
t Allocation size.
Returns:
Pointer to a memory allocation.
Generated on Fri Oct 28 18:31:17 2016 for OpenRTM-aist by  doxygen 1.6.3