Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::signal::CheckedRetainedByteCharge Class Reference

#include <checked_allocation.hpp>

Public Member Functions

 CheckedRetainedByteCharge (std::uint64_t allocation_ceiling) noexcept
template<typename Element>
bool add (std::uint64_t elements) noexcept
template<typename Element>
bool add_repeated (std::uint64_t elements_per_allocation, std::uint64_t repetitions) noexcept
bool add_retained_bytes (std::uint64_t bytes) noexcept
std::uint64_t total () const noexcept

Constructor & Destructor Documentation

◆ CheckedRetainedByteCharge()

pulp::signal::CheckedRetainedByteCharge::CheckedRetainedByteCharge ( std::uint64_t allocation_ceiling)
inlineexplicitnoexcept

Member Function Documentation

◆ add()

template<typename Element>
bool pulp::signal::CheckedRetainedByteCharge::add ( std::uint64_t elements)
inlinenoexcept

◆ add_repeated()

template<typename Element>
bool pulp::signal::CheckedRetainedByteCharge::add_repeated ( std::uint64_t elements_per_allocation,
std::uint64_t repetitions )
inlinenoexcept

◆ add_retained_bytes()

bool pulp::signal::CheckedRetainedByteCharge::add_retained_bytes ( std::uint64_t bytes)
inlinenoexcept

◆ total()

std::uint64_t pulp::signal::CheckedRetainedByteCharge::total ( ) const
inlinenoexcept

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