#include <static_memory_pool.h>
Inheritance diagram for CL_StaticMemoryPool:

Public Member Functions | |
Construction | |
| CL_StaticMemoryPool (void *buffer, size_t size, CL_MemoryPool *alternative_pool=0) | |
| ~CL_StaticMemoryPool () | |
Operations | |
| void * | alloc (size_t size) |
| Allocate memory. | |
| void | free (void *data) |
| Free memory. | |
Static Public Member Functions | |
Operations | |
| static CL_MemoryPool * | get_temp_pool () |
| Returns the thread temporary pool. | |
|
||||||||||||||||
|
|
|
|
|
|
|
Allocate memory. param: size = Size to allocate Implements CL_MemoryPool. |
|
|
Free memory. param: data = Data to free Implements CL_MemoryPool. |
|
|
Returns the thread temporary pool.
|
1.4.6