library of assembled shared sources

http://lass.cocamware.com

lass::util::AllocatorPerThread< Allocator > Class Template Reference
[Allocator]

Instantiates an Allocator per thread. More...

#include <allocator.h>

Collaboration diagram for lass::util::AllocatorPerThread< Allocator >:

Collaboration graph
[legend]

Public Member Functions

 AllocatorPerThread ()
 AllocatorPerThread (size_t size)
void * allocate ()
void * allocate (size_t size)
void deallocate (void *mem)
void deallocate (void *mem, size_t size)

Private Attributes

util::ThreadLocalVariable
< Allocator
allocator_

Detailed Description

template<typename Allocator>
class lass::util::AllocatorPerThread< Allocator >

Instantiates an Allocator per thread.

Definition at line 317 of file allocator.h.


Constructor & Destructor Documentation

template<typename Allocator >
lass::util::AllocatorPerThread< Allocator >::AllocatorPerThread (  )  [inline]

Definition at line 320 of file allocator.h.

template<typename Allocator >
lass::util::AllocatorPerThread< Allocator >::AllocatorPerThread ( size_t  size  )  [inline]

Definition at line 324 of file allocator.h.


Member Function Documentation

template<typename Allocator >
void* lass::util::AllocatorPerThread< Allocator >::allocate (  )  [inline]

Definition at line 328 of file allocator.h.

template<typename Allocator >
void* lass::util::AllocatorPerThread< Allocator >::allocate ( size_t  size  )  [inline]

Definition at line 332 of file allocator.h.

template<typename Allocator >
void lass::util::AllocatorPerThread< Allocator >::deallocate ( void *  mem  )  [inline]

Definition at line 336 of file allocator.h.

template<typename Allocator >
void lass::util::AllocatorPerThread< Allocator >::deallocate ( void *  mem,
size_t  size 
) [inline]

Definition at line 340 of file allocator.h.


Field Documentation

Definition at line 345 of file allocator.h.


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

Generated on Mon Nov 10 14:22:16 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo