mapnik::Pool< T, Creator > Class Template Reference

#include <pool.hpp>

List of all members.

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

template<typename T, template< typename > class Creator>
class mapnik::Pool< T, Creator >


Constructor & Destructor Documentation

template<typename T, template< typename > class Creator>
mapnik::Pool< T, Creator >::Pool ( const Creator< T > &  creator,
unsigned  initialSize = 1,
unsigned  maxSize = 10 
) [inline]


Member Function Documentation

template<typename T, template< typename > class Creator>
HolderType mapnik::Pool< T, Creator >::borrowObject (  )  [inline]

template<typename T, template< typename > class Creator>
void mapnik::Pool< T, Creator >::returnObject ( HolderType  obj  )  [inline]

template<typename T, template< typename > class Creator>
std::pair<unsigned,unsigned> mapnik::Pool< T, Creator >::size (  )  const [inline]


The documentation for this class was generated from the following file:

Generated for Mapnik by doxygen 1.5.6