BitmapPool Class Reference

#include <BitmapPool.h>

Inheritance diagram for BitmapPool:
CUnique< BitmapPool >

List of all members.

Public Member Functions

 BitmapPool (void)
void Init (int bitmapsize, int poolsize)
 ~BitmapPool (void)
unsigned char * Allocate (void)
bool Deallocate (unsigned char *poolslot)

Protected Attributes

bool * freeslot
int poolsize
int bitmapsize
unsigned char ** pool
std::list< int > freelist
std::list< int > busylist

Constructor & Destructor Documentation

BitmapPool::BitmapPool ( void   ) 
BitmapPool::~BitmapPool ( void   ) 

Member Function Documentation

unsigned char * BitmapPool::Allocate ( void   ) 
bool BitmapPool::Deallocate ( unsigned char *  poolslot  ) 
void BitmapPool::Init ( int  bitmapsize,
int  poolsize 
)

Member Data Documentation

int BitmapPool::bitmapsize [protected]
std::list<int> BitmapPool::busylist [protected]
std::list<int> BitmapPool::freelist [protected]
bool* BitmapPool::freeslot [protected]
unsigned char** BitmapPool::pool [protected]
int BitmapPool::poolsize [protected]

The documentation for this class was generated from the following files:

Generated on Thu Jan 14 20:50:12 2010 for TerrainEditor by  doxygen 1.6.1