WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
wpi::memory::detail::fixed_memory_stack Class Reference

#include <wpi/memory/detail/memory_stack.hpp>

Public Member Functions

 fixed_memory_stack () noexcept
 
 fixed_memory_stack (void *memory) noexcept
 
 fixed_memory_stack (fixed_memory_stack &&other) noexcept
 
 ~fixed_memory_stack () noexcept=default
 
fixed_memory_stackoperator= (fixed_memory_stack &&other) noexcept
 
void bump (std::size_t offset) noexcept
 
void bump (std::size_t offset, debug_magic m) noexcept
 
void * bump_return (std::size_t offset, debug_magic m=debug_magic::new_memory) noexcept
 
void * allocate (const char *end, std::size_t size, std::size_t alignment, std::size_t fence_size=debug_fence_size) noexcept
 
void * allocate_unchecked (std::size_t size, std::size_t align_offset, std::size_t fence_size=debug_fence_size) noexcept
 
void unwind (char *top) noexcept
 
char * top () const noexcept
 

Constructor & Destructor Documentation

◆ fixed_memory_stack() [1/3]

wpi::memory::detail::fixed_memory_stack::fixed_memory_stack ( )
inlinenoexcept

◆ fixed_memory_stack() [2/3]

wpi::memory::detail::fixed_memory_stack::fixed_memory_stack ( void * memory)
inlineexplicitnoexcept

◆ fixed_memory_stack() [3/3]

wpi::memory::detail::fixed_memory_stack::fixed_memory_stack ( fixed_memory_stack && other)
inlinenoexcept

◆ ~fixed_memory_stack()

wpi::memory::detail::fixed_memory_stack::~fixed_memory_stack ( )
defaultnoexcept

Member Function Documentation

◆ allocate()

void * wpi::memory::detail::fixed_memory_stack::allocate ( const char * end,
std::size_t size,
std::size_t alignment,
std::size_t fence_size = debug_fence_size )
inlinenoexcept

◆ allocate_unchecked()

void * wpi::memory::detail::fixed_memory_stack::allocate_unchecked ( std::size_t size,
std::size_t align_offset,
std::size_t fence_size = debug_fence_size )
inlinenoexcept

◆ bump() [1/2]

void wpi::memory::detail::fixed_memory_stack::bump ( std::size_t offset)
inlinenoexcept

◆ bump() [2/2]

void wpi::memory::detail::fixed_memory_stack::bump ( std::size_t offset,
debug_magic m )
inlinenoexcept

◆ bump_return()

void * wpi::memory::detail::fixed_memory_stack::bump_return ( std::size_t offset,
debug_magic m = debug_magic::new_memory )
inlinenoexcept

◆ operator=()

fixed_memory_stack & wpi::memory::detail::fixed_memory_stack::operator= ( fixed_memory_stack && other)
inlinenoexcept

◆ top()

char * wpi::memory::detail::fixed_memory_stack::top ( ) const
inlinenoexcept

◆ unwind()

void wpi::memory::detail::fixed_memory_stack::unwind ( char * top)
inlinenoexcept

The documentation for this class was generated from the following file: