MeshKit
1.0
|
Public Member Functions | |
Pool (size_t n) | |
bool | is_filled () const |
T * | allocate () |
void | deleteAll () |
Public Attributes | |
size_t | capacity |
size_t | currpos |
T * | objects |
Definition at line 60 of file ObjectPool.hpp.
Pool | ( | size_t | n | ) | [inline] |
Definition at line 62 of file ObjectPool.hpp.
T* allocate | ( | ) | [inline] |
Definition at line 73 of file ObjectPool.hpp.
void deleteAll | ( | ) | [inline] |
Definition at line 77 of file ObjectPool.hpp.
bool is_filled | ( | ) | const [inline] |
Definition at line 69 of file ObjectPool.hpp.
size_t capacity |
Definition at line 84 of file ObjectPool.hpp.
size_t currpos |
Definition at line 84 of file ObjectPool.hpp.
T* objects |
Definition at line 85 of file ObjectPool.hpp.