#include <Pool.h>

Public Member Functions | |
| T * | get () |
| void | put (T *item) |
| SimplePool () | |
| ~SimplePool () | |
Private Attributes | |
| size_t | busy |
| std::vector< T * > | free |
Definition at line 32 of file Pool.h.
| adchpp::SimplePool< T, Clear >::SimplePool | ( | ) | [inline] |
| adchpp::SimplePool< T, Clear >::~SimplePool | ( | ) | [inline] |
| T* adchpp::SimplePool< T, Clear >::get | ( | ) | [inline] |
| void adchpp::SimplePool< T, Clear >::put | ( | T * | item | ) | [inline] |
Definition at line 47 of file Pool.h.
Referenced by adchpp::Buffer::~Buffer().

size_t adchpp::SimplePool< T, Clear >::busy [private] |
Definition at line 63 of file Pool.h.
Referenced by adchpp::SimplePool< ByteVector, Clear >::get(), adchpp::SimplePool< ByteVector, Clear >::put(), and adchpp::SimplePool< ByteVector, Clear >::~SimplePool().
std::vector<T*> adchpp::SimplePool< T, Clear >::free [private] |
Definition at line 64 of file Pool.h.
Referenced by adchpp::SimplePool< ByteVector, Clear >::get(), and adchpp::SimplePool< ByteVector, Clear >::put().
1.6.3