Eneboo - Documentación para desarrolladores
Clases | Tipos públicos | Métodos públicos | Amigas
Referencia de la plantilla de la Clase Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >

#include <hoardmanager.h>

Diagrama de herencias de Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >
BaseHoardManager< SuperblockType_ >

Lista de todos los miembros.

Clases

class  sanityCheck

Tipos públicos

enum  { Alignment = sizeof(double) }
 This heap guarantees only double-word alignment. Más...
typedef SuperblockType_ SuperblockType

Métodos públicos

 HoardManager (void)
virtual ~HoardManager (void)
MALLOC_FUNCTION INLINE void * malloc (size_t sz)
NO_INLINE void put (SuperblockType *s, size_t sz)
 Put a superblock on this heap.
NO_INLINE SuperblockTypeget (size_t sz, HeapType *dest)
 Get an empty (or nearly-empty) superblock.
INLINE void free (void *ptr)
 Return one object to its superblock and update stats.
INLINE void lock (void)
 Lock this memory manager.
INLINE void unlock (void)
 Unlock this memory manager.
NO_INLINE void * getAnotherSuperblock (size_t sz)

Amigas

class sanityCheck

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
class Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >


Documentación de los 'Typedef' miembros de la clase

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
typedef SuperblockType_ Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::SuperblockType

Documentación de las enumeraciones miembro de la clase

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
anonymous enum

This heap guarantees only double-word alignment.

Valores de enumeraciones:
Alignment 

Documentación del constructor y destructor

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::HoardManager ( void  ) [inline]
template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
virtual Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::~HoardManager ( void  ) [inline, virtual]

Documentación de las funciones miembro

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
INLINE void Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::free ( void *  ptr) [inline, virtual]

Return one object to its superblock and update stats.

Reimplementado de BaseHoardManager< SuperblockType_ >.

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
NO_INLINE SuperblockType* Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::get ( size_t  sz,
HeapType *  dest 
) [inline]

Get an empty (or nearly-empty) superblock.

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
NO_INLINE void* Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::getAnotherSuperblock ( size_t  sz) [inline]
template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
INLINE void Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::lock ( void  ) [inline, virtual]

Lock this memory manager.

Reimplementado de BaseHoardManager< SuperblockType_ >.

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
MALLOC_FUNCTION INLINE void* Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::malloc ( size_t  sz) [inline]
template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
NO_INLINE void Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::put ( SuperblockType s,
size_t  sz 
) [inline]

Put a superblock on this heap.

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
INLINE void Hoard::HoardManager< SourceHeap, ParentHeap, SuperblockType_, EmptinessClasses, LockType, thresholdFunctionClass, HeapType >::unlock ( void  ) [inline, virtual]

Unlock this memory manager.

Reimplementado de BaseHoardManager< SuperblockType_ >.


Documentación de las funciones relacionadas y clases amigas

template<class SourceHeap, class ParentHeap, class SuperblockType_, int EmptinessClasses, class LockType, class thresholdFunctionClass, class HeapType>
friend class sanityCheck [friend]

La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'