#include <BlockWipedAllocator.h>
Public Member Functions | |
LocalCache () | |
void | reset () |
~LocalCache () | |
Public Attributes | |
std::auto_ptr< T > | ptr |
Definition at line 179 of file BlockWipedAllocator.h.
LocalCache< T >::LocalCache | ( | ) | [inline] |
Definition at line 181 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 185 of file BlockWipedAllocator.h.
{}
void LocalCache< T >::reset | ( | void | ) | [inline, virtual] |
Implements BlockWipedAllocator::LocalCache.
Definition at line 186 of file BlockWipedAllocator.h.
References LocalCache< T >::ptr.
{ ptr.reset();}
std::auto_ptr<T> LocalCache< T >::ptr |
Definition at line 180 of file BlockWipedAllocator.h.
Referenced by TkGluedMeasurementDet::HitCollectorForFastMeasurements::add(), and LocalCache< T >::reset().