![]() |
Project
|
#include <MemoryResources.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
OwningMessageSpectatorAllocator () noexcept=default | |
OwningMessageSpectatorAllocator (const OwningMessageSpectatorAllocator &) noexcept=default | |
OwningMessageSpectatorAllocator (OwningMessageSpectatorAllocator &&) noexcept=default | |
OwningMessageSpectatorAllocator (MessageResource &&resource) noexcept | |
template<class U > | |
OwningMessageSpectatorAllocator (const OwningMessageSpectatorAllocator< U > &other) noexcept | |
OwningMessageSpectatorAllocator & | operator= (const OwningMessageSpectatorAllocator &other) |
OwningMessageSpectatorAllocator | select_on_container_copy_construction () const |
boost::container::pmr::memory_resource * | resource () |
template<class U > | |
void | construct (U *) |
template<typename U > | |
void | destroy (U *) |
T * | allocate (size_t size) |
void | deallocate (T *ptr, size_t size) |
Public Attributes | |
MessageResource | mResource |
This allocator has a pmr-like interface, but keeps the unique MessageResource as internal state, allowing full resource (associated message) management internally without any global state.
Definition at line 218 of file MemoryResources.h.
using o2::pmr::OwningMessageSpectatorAllocator< T >::value_type = T |
Definition at line 221 of file MemoryResources.h.
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 228 of file MemoryResources.h.
|
inlinenoexcept |
Definition at line 231 of file MemoryResources.h.
|
inline |
Definition at line 263 of file MemoryResources.h.
|
inline |
Definition at line 252 of file MemoryResources.h.
|
inline |
Definition at line 264 of file MemoryResources.h.
|
inline |
Definition at line 259 of file MemoryResources.h.
|
inline |
Definition at line 235 of file MemoryResources.h.
|
inline |
Definition at line 246 of file MemoryResources.h.
|
inline |
Definition at line 241 of file MemoryResources.h.
MessageResource o2::pmr::OwningMessageSpectatorAllocator< T >::mResource |
Definition at line 223 of file MemoryResources.h.