![]() |
Project
|
#include <StaticSequenceAllocator.h>
Public Types | |
using | HeaderType = HeaderT |
using | TrailerType = TrailerT |
Public Member Functions | |
template<size_t N, typename U = TrailerType> | |
constexpr | Composite (const HeaderType h, const char(&d)[N], typename std::conditional<!std::is_void< U >::value, const TrailerType, int >::type t, typename std::enable_if<!std::is_void< U >::value >::type *=nullptr) |
template<size_t N, typename U = TrailerType> | |
constexpr | Composite (const HeaderType &h, const char(&d)[N], typename std::enable_if< std::is_void< U >::value >::type *=nullptr) |
constexpr size_t | getLength () const noexcept |
constexpr size_t | getDataLength () const noexcept |
template<typename BufferT > | |
constexpr size_t | insert (BufferT *buffer) const noexcept |
Public Attributes | |
size_t | compositeLength = 0 |
size_t | trailerLength = 0 |
size_t | dataLength = 0 |
const HeaderType | header |
const char * | data = nullptr |
std::conditional<!std::is_void< TrailerType >::value, constTrailerType, int >::type | trailer |
Helper struct to define a composite element from a header, some payload and a trailer
Definition at line 27 of file StaticSequenceAllocator.h.
using o2::algorithm::Composite< HeaderT, TrailerT >::HeaderType = HeaderT |
Definition at line 28 of file StaticSequenceAllocator.h.
using o2::algorithm::Composite< HeaderT, TrailerT >::TrailerType = TrailerT |
Definition at line 29 of file StaticSequenceAllocator.h.
|
inlineconstexpr |
Definition at line 36 of file StaticSequenceAllocator.h.
|
inlineconstexpr |
Definition at line 48 of file StaticSequenceAllocator.h.
|
inlineconstexprnoexcept |
Definition at line 62 of file StaticSequenceAllocator.h.
|
inlineconstexprnoexcept |
Definition at line 57 of file StaticSequenceAllocator.h.
|
inlineconstexprnoexcept |
Definition at line 68 of file StaticSequenceAllocator.h.
size_t o2::algorithm::Composite< HeaderT, TrailerT >::compositeLength = 0 |
Definition at line 30 of file StaticSequenceAllocator.h.
const char* o2::algorithm::Composite< HeaderT, TrailerT >::data = nullptr |
Definition at line 84 of file StaticSequenceAllocator.h.
size_t o2::algorithm::Composite< HeaderT, TrailerT >::dataLength = 0 |
Definition at line 32 of file StaticSequenceAllocator.h.
const HeaderType o2::algorithm::Composite< HeaderT, TrailerT >::header |
Definition at line 83 of file StaticSequenceAllocator.h.
std::conditional<!std::is_void<TrailerType>::value,constTrailerType,int>::type o2::algorithm::Composite< HeaderT, TrailerT >::trailer |
Definition at line 85 of file StaticSequenceAllocator.h.
size_t o2::algorithm::Composite< HeaderT, TrailerT >::trailerLength = 0 |
Definition at line 31 of file StaticSequenceAllocator.h.