Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Protected Attributes
DataStructures::BytePool Class Reference

#include <DS_BytePool.h>

List of all members.

Public Member Functions

unsigned char * Allocate (int bytesWanted, const char *file, unsigned int line)
 BytePool ()
void Clear (const char *file, unsigned int line)
void Release (unsigned char *data, const char *file, unsigned int line)
void SetPageSize (int size)
 ~BytePool ()

Protected Attributes

MemoryPool< unsigned char[128]> pool128
MemoryPool< unsigned char[2048]> pool2048
MemoryPool< unsigned char[512]> pool512
MemoryPool< unsigned char[8192]> pool8192

Detailed Description

Definition at line 22 of file DS_BytePool.h.


Constructor & Destructor Documentation

DataStructures::BytePool::BytePool ( )
DataStructures::BytePool::~BytePool ( )

Member Function Documentation

unsigned char* DataStructures::BytePool::Allocate ( int  bytesWanted,
const char *  file,
unsigned int  line 
)
void DataStructures::BytePool::Clear ( const char *  file,
unsigned int  line 
)
void DataStructures::BytePool::Release ( unsigned char *  data,
const char *  file,
unsigned int  line 
)
void DataStructures::BytePool::SetPageSize ( int  size)

Member Data Documentation

MemoryPool<unsigned char[128]> DataStructures::BytePool::pool128 [protected]

Definition at line 33 of file DS_BytePool.h.

MemoryPool<unsigned char[2048]> DataStructures::BytePool::pool2048 [protected]

Definition at line 35 of file DS_BytePool.h.

MemoryPool<unsigned char[512]> DataStructures::BytePool::pool512 [protected]

Definition at line 34 of file DS_BytePool.h.

MemoryPool<unsigned char[8192]> DataStructures::BytePool::pool8192 [protected]

Definition at line 36 of file DS_BytePool.h.


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net