#include <memory_pool.h>
Inheritance diagram for CL_MemoryPool:

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