Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::ProcessBusBufferSet< SampleType > Class Template Reference

Non-owning span of richer-surface process buses for one direction. More...

#include <process_block.hpp>

Public Member Functions

 ProcessBusBufferSet ()=default
 ProcessBusBufferSet (std::span< ProcessBusBufferView< SampleType > > buses)
std::size_t size () const noexcept
bool empty () const noexcept
ProcessBusBufferView< SampleType > & operator[] (std::size_t index) noexcept
const ProcessBusBufferView< SampleType > & operator[] (std::size_t index) const noexcept
ProcessBusBufferView< SampleType > * find (BusRole role) noexcept
const ProcessBusBufferView< SampleType > * find (BusRole role) const noexcept
ProcessBusBufferView< SampleType > * find (BusRole role, std::size_t occurrence) noexcept
const ProcessBusBufferView< SampleType > * find (BusRole role, std::size_t occurrence) const noexcept
ProcessBusBufferView< SampleType > * find_by_index (std::size_t index) noexcept
const ProcessBusBufferView< SampleType > * find_by_index (std::size_t index) const noexcept
ProcessBusBufferView< SampleType > * find_by_name (std::string_view name) noexcept
const ProcessBusBufferView< SampleType > * find_by_name (std::string_view name) const noexcept
ProcessBusBufferView< SampleType > * main () noexcept
const ProcessBusBufferView< SampleType > * main () const noexcept
ProcessBusBufferView< SampleType > * sidechain () noexcept
const ProcessBusBufferView< SampleType > * sidechain () const noexcept
std::size_t active_count () const noexcept
std::size_t count (BusRole role) const noexcept
std::size_t active_count (BusRole role) const noexcept
bool layouts_match_descriptors () const noexcept
bool active_buses_have_storage () const noexcept

Detailed Description

template<typename SampleType>
class pulp::format::ProcessBusBufferSet< SampleType >

Non-owning span of richer-surface process buses for one direction.

Constructor & Destructor Documentation

◆ ProcessBusBufferSet() [1/2]

template<typename SampleType>
pulp::format::ProcessBusBufferSet< SampleType >::ProcessBusBufferSet ( )
default

◆ ProcessBusBufferSet() [2/2]

template<typename SampleType>
pulp::format::ProcessBusBufferSet< SampleType >::ProcessBusBufferSet ( std::span< ProcessBusBufferView< SampleType > > buses)
inlineexplicit

Member Function Documentation

◆ active_buses_have_storage()

template<typename SampleType>
bool pulp::format::ProcessBusBufferSet< SampleType >::active_buses_have_storage ( ) const
inlinenoexcept

◆ active_count() [1/2]

template<typename SampleType>
std::size_t pulp::format::ProcessBusBufferSet< SampleType >::active_count ( ) const
inlinenoexcept

◆ active_count() [2/2]

template<typename SampleType>
std::size_t pulp::format::ProcessBusBufferSet< SampleType >::active_count ( BusRole role) const
inlinenoexcept

◆ count()

template<typename SampleType>
std::size_t pulp::format::ProcessBusBufferSet< SampleType >::count ( BusRole role) const
inlinenoexcept

◆ empty()

template<typename SampleType>
bool pulp::format::ProcessBusBufferSet< SampleType >::empty ( ) const
inlinenoexcept

◆ find() [1/4]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find ( BusRole role) const
inlinenoexcept

◆ find() [2/4]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find ( BusRole role)
inlinenoexcept

◆ find() [3/4]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find ( BusRole role,
std::size_t occurrence ) const
inlinenoexcept

◆ find() [4/4]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find ( BusRole role,
std::size_t occurrence )
inlinenoexcept

◆ find_by_index() [1/2]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find_by_index ( std::size_t index) const
inlinenoexcept

◆ find_by_index() [2/2]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find_by_index ( std::size_t index)
inlinenoexcept

◆ find_by_name() [1/2]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find_by_name ( std::string_view name) const
inlinenoexcept

◆ find_by_name() [2/2]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::find_by_name ( std::string_view name)
inlinenoexcept

◆ layouts_match_descriptors()

template<typename SampleType>
bool pulp::format::ProcessBusBufferSet< SampleType >::layouts_match_descriptors ( ) const
inlinenoexcept

◆ main() [1/2]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::main ( ) const
inlinenoexcept

◆ main() [2/2]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::main ( )
inlinenoexcept

◆ operator[]() [1/2]

template<typename SampleType>
const ProcessBusBufferView< SampleType > & pulp::format::ProcessBusBufferSet< SampleType >::operator[] ( std::size_t index) const
inlinenoexcept

◆ operator[]() [2/2]

template<typename SampleType>
ProcessBusBufferView< SampleType > & pulp::format::ProcessBusBufferSet< SampleType >::operator[] ( std::size_t index)
inlinenoexcept

◆ sidechain() [1/2]

template<typename SampleType>
const ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::sidechain ( ) const
inlinenoexcept

◆ sidechain() [2/2]

template<typename SampleType>
ProcessBusBufferView< SampleType > * pulp::format::ProcessBusBufferSet< SampleType >::sidechain ( )
inlinenoexcept

◆ size()

template<typename SampleType>
std::size_t pulp::format::ProcessBusBufferSet< SampleType >::size ( ) const
inlinenoexcept

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