GaloisRuntime::MM::SizedAllocatorFactory Class Reference

#include <mem.h>

List of all members.

Public Types

typedef ThreadAwarePrivateHeap
< FreeListHeap< SimpleBumpPtr
< SystemBaseAlloc > > > 
SizedAlloc

Public Member Functions

SizedAllocgetAllocatorForSize (unsigned int)

Static Public Member Functions

static SizedAllocatorFactorygetInstance ()

Private Types

typedef std::map< unsigned int,
SizedAlloc * > 
AllocatorsTy

Private Member Functions

 ~SizedAllocatorFactory ()

Private Attributes

AllocatorsTy allocators
SimpleLock< int, true > lock

Static Private Attributes

static PtrLock
< SizedAllocatorFactory
*, true > 
instance

Member Typedef Documentation

typedef std::map<unsigned int, SizedAlloc*> GaloisRuntime::MM::SizedAllocatorFactory::AllocatorsTy [private]

Constructor & Destructor Documentation

SizedAllocatorFactory::~SizedAllocatorFactory (  )  [private]

Member Function Documentation

SizedAllocatorFactory::SizedAlloc * SizedAllocatorFactory::getAllocatorForSize ( unsigned int  size  ) 
static SizedAllocatorFactory* GaloisRuntime::MM::SizedAllocatorFactory::getInstance (  )  [inline, static]

Member Data Documentation

PtrLock< SizedAllocatorFactory *, true > SizedAllocatorFactory::instance [static, private]
SimpleLock<int, true> GaloisRuntime::MM::SizedAllocatorFactory::lock [private]

The documentation for this class was generated from the following files:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3