#include <DS_BytePool.h>

Public Member Functions | |
| BytePool () | |
| ~BytePool () | |
| void | SetPageSize (int size) |
| unsigned char * | Allocate (int bytesWanted, const char *file, unsigned int line) |
| void | Release (unsigned char *data, const char *file, unsigned int line) |
| void | Clear (const char *file, unsigned int line) |
Protected Attributes | |
| MemoryPool< unsigned char[128]> | pool128 |
| MemoryPool< unsigned char[512]> | pool512 |
| MemoryPool< unsigned char[2048]> | pool2048 |
| MemoryPool< unsigned char[8192]> | pool8192 |
Definition at line 22 of file DS_BytePool.h.
| BytePool::BytePool | ( | ) |
| BytePool::~BytePool | ( | ) |
Definition at line 17 of file DS_BytePool.cpp.
| unsigned char * BytePool::Allocate | ( | int | bytesWanted, | |
| const char * | file, | |||
| unsigned int | line | |||
| ) |
| void BytePool::Clear | ( | const char * | file, | |
| unsigned int | line | |||
| ) |
| void BytePool::Release | ( | unsigned char * | data, | |
| const char * | file, | |||
| unsigned int | line | |||
| ) |
| void BytePool::SetPageSize | ( | int | size | ) |
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.
1.7.1