#include <static_mem_pool.h>
Collaboration diagram for static_mem_pool_set:

Public Types | |
| typedef class_level_lock< static_mem_pool_set >::lock | lock |
Public Member Functions | |
| void | recycle () |
| Asks all static memory pools to recycle unused memory blocks back to the system. | |
| void | add (mem_pool_base *__memory_pool_p) |
| Adds a new memory pool to static_mem_pool_set. | |
Static Public Member Functions | |
| static static_mem_pool_set & | instance () |
| Creates the singleton instance of static_mem_pool_set. | |
| static_mem_pool_set & static_mem_pool_set::instance | ( | ) | [static] |
Creates the singleton instance of static_mem_pool_set.
| void static_mem_pool_set::recycle | ( | ) |
Asks all static memory pools to recycle unused memory blocks back to the system.
The caller should get the lock to prevent other operations to static_mem_pool_set during its execution.
| void static_mem_pool_set::add | ( | mem_pool_base * | __memory_pool_p | ) |
Adds a new memory pool to static_mem_pool_set.
| __memory_pool_p | pointer to the memory pool to add |
1.5.1