Eneboo - Documentación para desarrolladores
|
The top of the hoard manager hierarchy. Más...
#include <basehoardmanager.h>
Tipos públicos | |
typedef SuperblockType_ | SuperblockType |
Métodos públicos | |
BaseHoardManager (void) | |
virtual | ~BaseHoardManager (void) |
int | isValid (void) const |
virtual void | free (void *) |
Free an object. | |
virtual void | lock (void) |
Lock this memory manager. | |
virtual void | unlock (void) |
Unlock this memory manager. | |
Métodos públicos estáticos | |
static size_t | getSize (void *ptr) |
Return the size of an object. | |
static SuperblockType * | getSuperblock (void *ptr) |
Find the superblock corresponding to a pointer via bitmasking. |
The top of the hoard manager hierarchy.
typedef SuperblockType_ BaseHoardManager< SuperblockType_ >::SuperblockType |
Reimplementado en EmptyHoardManager< SuperblockType_ >, Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, Hoard::HoardManager< AlignedSuperblockHeap< LockType, SuperblockSize >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > >, EmptinessClasses, LockType, ThresholdClass, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > y Hoard::HoardManager< AlignedSuperblockHeap< TheLockType, SUPERBLOCK_SIZE >, TheGlobalHeap, SmallSuperblockType, EMPTINESS_CLASSES, TheLockType, hoardThresholdFunctionClass, SmallHeap >.
BaseHoardManager< SuperblockType_ >::BaseHoardManager | ( | void | ) | [inline] |
virtual BaseHoardManager< SuperblockType_ >::~BaseHoardManager | ( | void | ) | [inline, virtual] |
virtual void BaseHoardManager< SuperblockType_ >::free | ( | void * | ) | [inline, virtual] |
Free an object.
Reimplementado en EmptyHoardManager< SuperblockType_ >, Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, Hoard::HoardManager< AlignedSuperblockHeap< LockType, SuperblockSize >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > >, EmptinessClasses, LockType, ThresholdClass, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > y Hoard::HoardManager< AlignedSuperblockHeap< TheLockType, SUPERBLOCK_SIZE >, TheGlobalHeap, SmallSuperblockType, EMPTINESS_CLASSES, TheLockType, hoardThresholdFunctionClass, SmallHeap >.
static size_t BaseHoardManager< SuperblockType_ >::getSize | ( | void * | ptr | ) | [inline, static] |
Return the size of an object.
static SuperblockType* BaseHoardManager< SuperblockType_ >::getSuperblock | ( | void * | ptr | ) | [inline, static] |
Find the superblock corresponding to a pointer via bitmasking.
int BaseHoardManager< SuperblockType_ >::isValid | ( | void | ) | const [inline] |
virtual void BaseHoardManager< SuperblockType_ >::lock | ( | void | ) | [inline, virtual] |
Lock this memory manager.
Reimplementado en EmptyHoardManager< SuperblockType_ >, Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, Hoard::HoardManager< AlignedSuperblockHeap< LockType, SuperblockSize >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > >, EmptinessClasses, LockType, ThresholdClass, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > y Hoard::HoardManager< AlignedSuperblockHeap< TheLockType, SUPERBLOCK_SIZE >, TheGlobalHeap, SmallSuperblockType, EMPTINESS_CLASSES, TheLockType, hoardThresholdFunctionClass, SmallHeap >.
virtual void BaseHoardManager< SuperblockType_ >::unlock | ( | void | ) | [inline, virtual] |
Unlock this memory manager.
Reimplementado en EmptyHoardManager< SuperblockType_ >, Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, Hoard::HoardManager< AlignedSuperblockHeap< LockType, SuperblockSize >, EmptyHoardManager< HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > >, HoardSuperblock< LockType, SuperblockSize, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > >, EmptinessClasses, LockType, ThresholdClass, ProcessHeap< SuperblockSize, EmptinessClasses, LockType, ThresholdClass > > y Hoard::HoardManager< AlignedSuperblockHeap< TheLockType, SUPERBLOCK_SIZE >, TheGlobalHeap, SmallSuperblockType, EMPTINESS_CLASSES, TheLockType, hoardThresholdFunctionClass, SmallHeap >.