WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator > Class Template Reference

#include <wpi/memory/tracking.hpp>

Public Member Functions

template<typename... Args>
 deeply_tracked_block_allocator (std::size_t block_size, Args &&... args)
 
memory_block allocate_block ()
 
void deallocate_block (memory_block block) noexcept
 
std::size_t next_block_size () const noexcept
 
void set_tracker (Tracker *tracker) noexcept
 

Constructor & Destructor Documentation

◆ deeply_tracked_block_allocator()

template<class Tracker , class BlockAllocator >
template<typename... Args>
wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator >::deeply_tracked_block_allocator ( std::size_t block_size,
Args &&... args )
inline

Member Function Documentation

◆ allocate_block()

template<class Tracker , class BlockAllocator >
memory_block wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator >::allocate_block ( )
inline

◆ deallocate_block()

template<class Tracker , class BlockAllocator >
void wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator >::deallocate_block ( memory_block block)
inlinenoexcept

◆ next_block_size()

template<class Tracker , class BlockAllocator >
std::size_t wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator >::next_block_size ( ) const
inlinenoexcept

◆ set_tracker()

template<class Tracker , class BlockAllocator >
void wpi::memory::detail::deeply_tracked_block_allocator< Tracker, BlockAllocator >::set_tracker ( Tracker * tracker)
inlinenoexcept

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