#include <objectpool.hh>
Public Member Functions | |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
T const * | operator-> () const |
use (object_pool< T > &pool) | |
~use () | |
Private Attributes | |
T * | m_object |
object_pool< T > & | m_pool |
Get a pointer on a T object from an object pool, and returns it to the pool when destroyed
Definition at line 53 of file objectpool.hh.
utilmm::pools::use< T >::use | ( | object_pool< T > & | pool | ) | [inline] |
Definition at line 59 of file objectpool.hh.
utilmm::pools::use< T >::~use | ( | ) | [inline] |
Definition at line 61 of file objectpool.hh.
T& utilmm::pools::use< T >::operator* | ( | ) | [inline] |
Definition at line 65 of file objectpool.hh.
T const& utilmm::pools::use< T >::operator* | ( | ) | const [inline] |
Definition at line 66 of file objectpool.hh.
T* utilmm::pools::use< T >::operator-> | ( | ) | [inline] |
Definition at line 63 of file objectpool.hh.
T const* utilmm::pools::use< T >::operator-> | ( | ) | const [inline] |
Definition at line 64 of file objectpool.hh.
T* utilmm::pools::use< T >::m_object [private] |
Definition at line 56 of file objectpool.hh.
object_pool<T>& utilmm::pools::use< T >::m_pool [private] |
Definition at line 55 of file objectpool.hh.