Eneboo - Documentación para desarrolladores
Métodos públicos | Tipos protegidos | Métodos protegidos | Atributos protegidos
Referencia de la plantilla de la Clase HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >

#include <segheap.h>

Diagrama de herencias de HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >
HL::StrictSegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >

Lista de todos los miembros.

Métodos públicos

 SegHeap (void)
 ~SegHeap (void)
size_t getMemoryHeld (void) const
size_t getSize (void *ptr)
void * malloc (const size_t sz)
void free (void *ptr)
void clear (void)

Tipos protegidos

enum  { NUM_ULONGS = MAX_BITS / BITS_PER_ULONG }

Métodos protegidos

int get_binmap (int i) const
void mark_bin (int i)
void unmark_bin (int i)

Atributos protegidos

BigHeap bigheap
unsigned long binmap [NUM_ULONGS]
size_t memoryHeld
const size_t maxObjectSize
LittleHeap myLittleHeap [NumBins]

template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
class HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >


Documentación de las enumeraciones miembro de la clase

template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
anonymous enum [protected]
Valores de enumeraciones:
NUM_ULONGS 

Documentación del constructor y destructor

template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::SegHeap ( void  ) [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::~SegHeap ( void  ) [inline]

Documentación de las funciones miembro

template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
void HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::clear ( void  ) [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
void HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::free ( void *  ptr) [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
int HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::get_binmap ( int  i) const [inline, protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
size_t HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::getMemoryHeld ( void  ) const [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
size_t HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::getSize ( void *  ptr) [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
void* HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::malloc ( const size_t  sz) [inline]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
void HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::mark_bin ( int  i) [inline, protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
void HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::unmark_bin ( int  i) [inline, protected]

Documentación de los datos miembro

template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
BigHeap HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::bigheap [protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
unsigned long HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::binmap[NUM_ULONGS] [protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
const size_t HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::maxObjectSize [protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
size_t HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::memoryHeld [protected]
template<int NumBins, int(*)(const size_t) getSizeClass, size_t(*)(const int) getClassMaxSize, class LittleHeap, class BigHeap>
LittleHeap HL::SegHeap< NumBins, getSizeClass, getClassMaxSize, LittleHeap, BigHeap >::myLittleHeap[NumBins] [protected]

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'