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