#include <pool.hpp>
Public Member Functions | |
Pool (const Creator< T > &creator, unsigned initialSize=1, unsigned maxSize=10) | |
HolderType | borrowObject () |
void | returnObject (HolderType obj) |
std::pair< unsigned, unsigned > | size () const |
mapnik::Pool< T, Creator >::Pool | ( | const Creator< T > & | creator, | |
unsigned | initialSize = 1 , |
|||
unsigned | maxSize = 10 | |||
) | [inline] |
HolderType mapnik::Pool< T, Creator >::borrowObject | ( | ) | [inline] |
void mapnik::Pool< T, Creator >::returnObject | ( | HolderType | obj | ) | [inline] |
std::pair<unsigned,unsigned> mapnik::Pool< T, Creator >::size | ( | ) | const [inline] |