![]() |
Project
|
#include <StaticSequenceAllocator.h>
Public Types | |
| using | value_type = unsigned char |
| using | BufferType = std::unique_ptr< value_type[]> |
Public Member Functions | |
| size_t | size () const |
| StaticSequenceAllocator ()=delete | |
| template<typename... Targs> | |
| StaticSequenceAllocator (Targs... args) | |
Public Attributes | |
| BufferType | buffer |
| size_t | bufferSize |
Allocator for a buffer of a static sequence of multiple objects.
The sequence of object types is fixed at compile time and given as a variable list of arguments to the constructor. The data of the objects is runtime dependent.
TODO: probably the Composite struct needs to be reworked to allow this allocator to be more general
Definition at line 136 of file StaticSequenceAllocator.h.
| using o2::algorithm::StaticSequenceAllocator::BufferType = std::unique_ptr<value_type[]> |
Definition at line 138 of file StaticSequenceAllocator.h.
| using o2::algorithm::StaticSequenceAllocator::value_type = unsigned char |
Definition at line 137 of file StaticSequenceAllocator.h.
|
delete |
|
inline |
Definition at line 148 of file StaticSequenceAllocator.h.
|
inline |
Definition at line 143 of file StaticSequenceAllocator.h.
| BufferType o2::algorithm::StaticSequenceAllocator::buffer |
Definition at line 140 of file StaticSequenceAllocator.h.
| size_t o2::algorithm::StaticSequenceAllocator::bufferSize |
Definition at line 141 of file StaticSequenceAllocator.h.