#include <BlockWipedAllocator.h>
Public Member Functions | |
LocalCache () | |
void | reset () |
~LocalCache () | |
Public Attributes | |
std::auto_ptr< T > | ptr |
Definition at line 181 of file BlockWipedAllocator.h.
LocalCache< T >::LocalCache | ( | ) | [inline] |
Definition at line 183 of file BlockWipedAllocator.h.
References BlockWipedPoolAllocated::s_usePool.
{ if (BlockWipedPoolAllocated::s_usePool) blockWipedAllocator<sizeof(T)>().registerCache(this); }
LocalCache< T >::~LocalCache | ( | ) | [inline, virtual] |
Reimplemented from BlockWipedAllocator::LocalCache.
Definition at line 187 of file BlockWipedAllocator.h.
{}
void LocalCache< T >::reset | ( | void | ) | [inline, virtual] |
Implements BlockWipedAllocator::LocalCache.
Definition at line 188 of file BlockWipedAllocator.h.
References LocalCache< T >::ptr.
{ ptr.reset();}
std::auto_ptr<T> LocalCache< T >::ptr |
Definition at line 182 of file BlockWipedAllocator.h.
Referenced by LocalCache< T >::reset().