#include <blockpool.h>
Inheritance diagram for big_block_pool:


Public Member Functions | |
| big_block_pool (void) | |
| ~big_block_pool (void) | |
| void * | MemAlloc (unsigned int num_bytes) |
| Implementations of block_pool virtual functions low level, system dependent, memory allocation. | |
| void | MemFree (void *address) |
| low level, system dependent memory free | |
Protected Member Functions | |
| void | getinfo (unsigned int &p_size, unsigned int &a_gran) |
Private Attributes | |
| big_block_alloc | block_alloc |
Definition at line 156 of file blockpool.h.
|
|
Definition at line 167 of file blockpool.h.
00167 : block_pool() {} |
|
|
Definition at line 168 of file blockpool.h. References block_pool::free_pool().
00169 {
00170 free_pool(); // inherited from block_pool
00171 }
|
|
||||||||||||
|
Implements block_pool. Definition at line 161 of file blockpool.h. References block_alloc, and big_block_alloc::get_info().
00162 {
00163 block_alloc.get_info( p_size, a_gran );
00164 }
|
|
|
Implementations of block_pool virtual functions low level, system dependent, memory allocation.
Implements block_pool. Definition at line 177 of file blockpool.h. References block_alloc, and big_block_alloc::MemoryAlloc().
00178 {
00179 return block_alloc.MemoryAlloc( num_bytes );
00180 }
|
|
|
low level, system dependent memory free
Implements block_pool. Definition at line 186 of file blockpool.h. References block_alloc, and big_block_alloc::MemoryFree().
00187 {
00188 block_alloc.MemoryFree( address );
00189 }
|
|
|
Definition at line 158 of file blockpool.h. Referenced by getinfo(), MemAlloc(), and MemFree(). |
1.3.3