library of assembled shared sources

http://lass.cocamware.com

lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator > Class Template Reference
[Allocator]

#include <allocator.h>


Public Member Functions

 AllocatorBinned ()
 AllocatorBinned (const AllocatorBinned &other)
 ~AllocatorBinned ()
void * allocate (size_t size)
void deallocate (void *mem, size_t size)

Private Member Functions

AllocatorBinnedoperator= (const AllocatorBinned &)
const size_t numBins () const
void allocFixed ()
void initFixed ()
void copyInitFixed (const AllocatorBinned &other)
void destroyFixed (size_t i)

Private Attributes

FixedAllocator * fixedAllocators_


Detailed Description

template<typename FixedAllocator, size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
class lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >

Definition at line 473 of file allocator.h.


Constructor & Destructor Documentation

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::AllocatorBinned (  )  [inline]

Definition at line 476 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::AllocatorBinned ( const AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator > &  other  )  [inline]

Definition at line 480 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::~AllocatorBinned (  )  [inline]

Definition at line 484 of file allocator.h.


Member Function Documentation

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void* lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::allocate ( size_t  size  )  [inline]

Definition at line 488 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::deallocate ( void *  mem,
size_t  size 
) [inline]

Definition at line 496 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
AllocatorBinned& lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::operator= ( const AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator > &   )  [private]

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
const size_t lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::numBins (  )  const [inline, private]

Definition at line 510 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::allocFixed (  )  [inline, private]

Definition at line 514 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::initFixed (  )  [inline, private]

Definition at line 523 of file allocator.h.

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::copyInitFixed ( const AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator > &  other  )  [inline, private]

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
void lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::destroyFixed ( size_t  i  )  [inline, private]

Definition at line 561 of file allocator.h.


Field Documentation

template<typename FixedAllocator , size_t maxBinSize = 128, typename Binner = BinnerOne, typename VariableAllocator = AllocatorMalloc>
FixedAllocator* lass::util::AllocatorBinned< FixedAllocator, maxBinSize, Binner, VariableAllocator >::fixedAllocators_ [private]


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