|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #ifndef ATLALLOCATORS_ARENACACHINGHANDLE_H
19 #define ATLALLOCATORS_ARENACACHINGHANDLE_H
75 template <
class T,
class ALLOC>
122 const typename ALLOC::Params*
params =
nullptr);
134 const EventContext& ctx,
135 const typename ALLOC::Params*
params =
nullptr);
160 std::unique_ptr<ArenaAllocatorBase>
190 #endif // not ATLALLOCATORS_ARENACACHINGHANDLE_H
JetConstituentVector::iterator iterator
Base::iterator iterator
Iterators over elements.
User interface for allocating memory that caches constructed objects.
T * pointer
Pointer to an element.
pointer allocate()
Allocate a new element.
ArenaCachingHandle(Arena *arena, const typename ALLOC::Params *params=nullptr)
Constructor, passing in an Arena and an optional parameter set.
Collection of memory allocators with a common lifetime,.
ArenaHandleBaseT< T, ALLOC > Base
Shorthand for our base class.
static std::unique_ptr< ArenaAllocatorBase > makeAllocator(const typename ALLOC::Params ¶ms)
Internal helper: create a new Allocator instance.
Collection of memory allocators with a common lifetime, plus subsystem summary.
ArenaCachingHandle(ArenaHeader *header, const typename ALLOC::Params *params=nullptr)
Constructor, passing in a Header and an optional parameter set.
ArenaCachingHandle(ArenaHeader *header, size_t index)
Constructor, passing in an index.
ArenaCachingHandle(const typename ALLOC::Params *params=nullptr)
Constructor, passing in an optional parameter set.
ArenaCachingHandle(ArenaHeader *header, const EventContext &ctx, const typename ALLOC::Params *params=nullptr)
Constructor, passing in a Header, context, and an optional parameter set.
Base::const_iterator const_iterator
Base class for Handle classes, containing parts that are independent of how the Allocator gets create...
const ALLOC::Params & params() const
Return our Allocator's parameters.
ALLOC::template initParams< T, false > defaultParams_t
The class that initializes the default parameter set.
Base class for Handle classes, containing parts that are independent of how the Allocator gets create...