BigChunk< chunkSize, slotSize, Super > Class Template Reference

#include <bigchunk.h>

List of all members.

Classes

class  ChunkBlock

Public Member Functions

 BigChunk (void)
void * getSlot (void)
void putSlot (void *)
int getNumSlotsFree (void)
int getNumSlotsInUse (void)
void setHeap (Super *h)
SupergetHeap (void)
BigChunkgetNext (void)
BigChunkgetPrev (void)
void setNext (BigChunk *)
void setPrev (BigChunk *)

Static Public Member Functions

static int getNumSlots (void)
static BigChunkgetChunk (void *)
static ChunkBlockgetChunkBlock (void *ptr)

Static Private Member Functions

static size_t align (size_t sz)

Private Attributes

ChunkBlockfreeSlots
int numSlotsAvailable
Superheap
BigChunkprev
BigChunknext

template<int chunkSize, int slotSize, class Super>
class BigChunk< chunkSize, slotSize, Super >


Constructor & Destructor Documentation

template<int chunkSize, int slotSize, class Super >
BigChunk< chunkSize, slotSize, Super >::BigChunk ( void   )  [inline]

Member Function Documentation

template<int chunkSize, int slotSize, class Super>
static size_t BigChunk< chunkSize, slotSize, Super >::align ( size_t  sz  )  [inline, static, private]
template<int chunkSize, int slotSize, class Super >
BigChunk< chunkSize, slotSize, Super > * BigChunk< chunkSize, slotSize, Super >::getChunk ( void *  ptr  )  [inline, static]
template<int chunkSize, int slotSize, class Super>
static ChunkBlock* BigChunk< chunkSize, slotSize, Super >::getChunkBlock ( void *  ptr  )  [inline, static]
template<int chunkSize, int slotSize, class Super>
Super* BigChunk< chunkSize, slotSize, Super >::getHeap ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
BigChunk< chunkSize, slotSize, Super > * BigChunk< chunkSize, slotSize, Super >::getNext ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
int BigChunk< chunkSize, slotSize, Super >::getNumSlots ( void   )  [inline, static]
template<int chunkSize, int slotSize, class Super >
int BigChunk< chunkSize, slotSize, Super >::getNumSlotsFree ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
int BigChunk< chunkSize, slotSize, Super >::getNumSlotsInUse ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
BigChunk< chunkSize, slotSize, Super > * BigChunk< chunkSize, slotSize, Super >::getPrev ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
void * BigChunk< chunkSize, slotSize, Super >::getSlot ( void   )  [inline]
template<int chunkSize, int slotSize, class Super >
void BigChunk< chunkSize, slotSize, Super >::putSlot ( void *  ptr  )  [inline]
template<int chunkSize, int slotSize, class Super>
void BigChunk< chunkSize, slotSize, Super >::setHeap ( Super h  )  [inline]
template<int chunkSize, int slotSize, class Super >
void BigChunk< chunkSize, slotSize, Super >::setNext ( BigChunk< chunkSize, slotSize, Super > *  ptr  )  [inline]
template<int chunkSize, int slotSize, class Super >
void BigChunk< chunkSize, slotSize, Super >::setPrev ( BigChunk< chunkSize, slotSize, Super > *  ptr  )  [inline]

Member Data Documentation

template<int chunkSize, int slotSize, class Super>
ChunkBlock* BigChunk< chunkSize, slotSize, Super >::freeSlots [private]
template<int chunkSize, int slotSize, class Super>
Super* BigChunk< chunkSize, slotSize, Super >::heap [private]
template<int chunkSize, int slotSize, class Super>
BigChunk* BigChunk< chunkSize, slotSize, Super >::next [private]
template<int chunkSize, int slotSize, class Super>
int BigChunk< chunkSize, slotSize, Super >::numSlotsAvailable [private]
template<int chunkSize, int slotSize, class Super>
BigChunk* BigChunk< chunkSize, slotSize, Super >::prev [private]

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