ATLAS Offline Software
|
Allocator parameters. More...
#include <ArenaAllocatorBase.h>
Public Attributes | |
std::string | name |
The name of this allocator. More... | |
size_t | eltSize |
The size in bytes of the individual elements we're allocating. More... | |
size_t | minSize |
The minimum size that this Allocator allows for an element. More... | |
size_t | nblock |
The number of elements we should allocate in a single block (hint only). More... | |
size_t | linkOffset |
Offset from the start of a free element to a pointer to be used by the allocator. More... | |
func_t * | constructor |
Constructor function for elements. More... | |
func_t * | destructor |
Destructor function for elements. More... | |
func_t * | clear |
Clear function for elements. More... | |
bool | canReclear |
If true, clear can be called more than once on a given element. More... | |
bool | mustClear |
If true, the clear call cannot be skipped before destructor . More... | |
Allocator parameters.
See above for more details.
Definition at line 149 of file ArenaAllocatorBase.h.
bool SG::ArenaAllocatorBase::Params::canReclear |
If true, clear
can be called more than once on a given element.
Definition at line 178 of file ArenaAllocatorBase.h.
func_t* SG::ArenaAllocatorBase::Params::clear |
Clear function for elements.
Definition at line 175 of file ArenaAllocatorBase.h.
func_t* SG::ArenaAllocatorBase::Params::constructor |
Constructor function for elements.
Definition at line 170 of file ArenaAllocatorBase.h.
func_t* SG::ArenaAllocatorBase::Params::destructor |
Destructor function for elements.
Definition at line 172 of file ArenaAllocatorBase.h.
size_t SG::ArenaAllocatorBase::Params::eltSize |
The size in bytes of the individual elements we're allocating.
Definition at line 155 of file ArenaAllocatorBase.h.
size_t SG::ArenaAllocatorBase::Params::linkOffset |
Offset from the start of a free element to a pointer to be used by the allocator.
Only used if the allocator requires it.
Definition at line 166 of file ArenaAllocatorBase.h.
size_t SG::ArenaAllocatorBase::Params::minSize |
The minimum size that this Allocator allows for an element.
Definition at line 158 of file ArenaAllocatorBase.h.
bool SG::ArenaAllocatorBase::Params::mustClear |
If true, the clear
call cannot be skipped before destructor
.
Definition at line 181 of file ArenaAllocatorBase.h.
std::string SG::ArenaAllocatorBase::Params::name |
The name of this allocator.
Definition at line 152 of file ArenaAllocatorBase.h.
size_t SG::ArenaAllocatorBase::Params::nblock |
The number of elements we should allocate in a single block (hint only).
Definition at line 162 of file ArenaAllocatorBase.h.