Public Member Functions | List of all members
coil::Allocator Class Reference

Allocator class. More...

#include <Allocator.h>

Inheritance diagram for coil::Allocator:
Inheritance graph
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from coil::Singleton< Allocator >
typedef ::coil::Mutex Mutex
 
typedef AllocatorSingletonClassPtr
 
- Static Public Member Functions inherited from coil::Singleton< Allocator >
static Allocatorinstance ()
 Create instance. More...
 
- Protected Member Functions inherited from coil::Singleton< Allocator >
 Singleton ()
 Constructor. More...
 
 ~Singleton ()
 Destructor. More...
 
- Static Protected Attributes inherited from coil::Singleton< Allocator >
static Allocatorm_instance
 SingletonClass object. More...
 
static coil::Mutex m_mutex
 Mutual exclusion object. More...
 

Detailed Description

Allocator class.

Definition at line 42 of file Allocator.h.

Constructor & Destructor Documentation

virtual coil::Allocator::~Allocator ( )
inlinevirtual

Destructor.

Destructor

Definition at line 61 of file Allocator.h.

Member Function Documentation

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

Delete of memory allocation.

Delete of memory allocation.

Parameters
pPointer to a memory allocation.

Definition at line 44 of file Allocator.cpp.

void coil::Allocator::DeleteArray ( void *  p)
throw (
)
virtual

Delete of array memory allocation.

Delete of array memory allocation.

Parameters
pPointer to a memory allocation.

Definition at line 68 of file Allocator.cpp.

void * coil::Allocator::New ( size_t  t)
throw (std::bad_alloc
)
virtual

Create of memory allocation.

Create of memory allocation.

Parameters
tAllocation size.
Returns
Pointer to a memory allocation.

Definition at line 32 of file Allocator.cpp.

void * coil::Allocator::NewArray ( size_t  t)
throw (std::bad_alloc
)
virtual

Create of array memory allocation.

Create of array memory allocation.

Parameters
tAllocation size.
Returns
Pointer to a memory allocation.

Definition at line 56 of file Allocator.cpp.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:59