Block-local scratch view for realtime/offline processing. More...
#include <process_block.hpp>
Public Member Functions | |
| ScratchArenaView ()=default | |
| ScratchArenaView (std::span< std::byte > memory) noexcept | |
| ScratchArenaView (const ScratchArenaView &)=delete | |
| ScratchArenaView (ScratchArenaView &&)=default | |
| void | reset () noexcept |
| std::size_t | size_bytes () const noexcept |
| std::size_t | used_bytes () const noexcept |
| std::size_t | remaining_bytes () const noexcept |
| bool | empty () const noexcept |
| std::span< std::byte > | try_allocate_bytes (std::size_t byte_count, std::size_t alignment) noexcept |
| template<typename T> | |
| std::span< T > | try_allocate (std::size_t count) noexcept |
Block-local scratch view for realtime/offline processing.
Storage is caller-owned and should be reset at the start of each block.
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
default |
|
delete |
|
default |
|
inlineexplicitnoexcept |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |
|
inlinenoexceptinherited |