2005/5/9

     
 

class BitmapPage

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::BitmapPage< SlotSize > Class Template Reference

#include <BitmapPagedAllocator.h>

List of all members.

template<int SlotSize>
class acdk::lang::sys::BitmapPage< SlotSize >


Public Member Functions

 BitmapPage (BitmapPagedAllocator *allocator, BitmapPage< SlotSize > *prev)
char * getFreeSlot ()
int getFreeIndex ()
bool releaseSlot (char *ptr)

Private Attributes

BitmapPage< SlotSize > * _next
 next page

BitmapPagedAllocator_allocator
int _bitmap
int _slotSize
char _data [32][SlotSize+sizeof(BitmapPage< SlotSize > *)]

Constructor & Destructor Documentation

template<int SlotSize>
acdk::lang::sys::BitmapPage< SlotSize >::BitmapPage BitmapPagedAllocator allocator,
BitmapPage< SlotSize > *  prev
[inline]
 


Member Function Documentation

template<int SlotSize>
int acdk::lang::sys::BitmapPage< SlotSize >::getFreeIndex  )  [inline]
 

template<int SlotSize>
char* acdk::lang::sys::BitmapPage< SlotSize >::getFreeSlot  )  [inline]
 

template<int SlotSize>
bool acdk::lang::sys::BitmapPage< SlotSize >::releaseSlot char *  ptr  )  [inline]
 


Member Data Documentation

template<int SlotSize>
BitmapPagedAllocator* acdk::lang::sys::BitmapPage< SlotSize >::_allocator [private]
 

template<int SlotSize>
int acdk::lang::sys::BitmapPage< SlotSize >::_bitmap [private]
 

template<int SlotSize>
char acdk::lang::sys::BitmapPage< SlotSize >::_data[32][SlotSize + sizeof(BitmapPage<SlotSize>*) ] [private]
 

template<int SlotSize>
BitmapPage<SlotSize>* acdk::lang::sys::BitmapPage< SlotSize >::_next [private]
 

next page

template<int SlotSize>
int acdk::lang::sys::BitmapPage< SlotSize >::_slotSize [private]