JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::AudioProcessorValueTreeState::ParameterLayout Class Referencefinal

A class to contain a set of RangedAudioParameters and AudioProcessorParameterGroups containing RangedAudioParameters. More...

#include <juce_AudioProcessorValueTreeState.h>

Collaboration diagram for juce::AudioProcessorValueTreeState::ParameterLayout:

Classes

struct  MakeContents
 
struct  ParameterStorage
 
struct  ParameterStorageBase
 
struct  Visitor
 

Public Member Functions

 ParameterLayout (const ParameterLayout &other)=delete
 
template<typename It , typename = ValidIfIterator<It>>
 ParameterLayout (It begin, It end)
 
 ParameterLayout (ParameterLayout &&other) noexcept
 
template<typename... Items>
 ParameterLayout (std::unique_ptr< Items >... items)
 
template<typename It , typename = ValidIfIterator<It>>
void add (It begin, It end)
 
template<typename... Items>
void add (std::unique_ptr< Items >... items)
 
ParameterLayoutoperator= (const ParameterLayout &other)=delete
 
ParameterLayoutoperator= (ParameterLayout &&other) noexcept
 
void swap (ParameterLayout &other) noexcept
 

Private Types

template<typename It >
using ValidIfIterator = decltype(std::next(std::declval< It >()))
 

Private Member Functions

void add ()
 

Private Attributes

std::vector< std::unique_ptr< ParameterStorageBase > > parameters
 

Friends

class AudioProcessorValueTreeState
 

Detailed Description

A class to contain a set of RangedAudioParameters and AudioProcessorParameterGroups containing RangedAudioParameters.

This class is used in the AudioProcessorValueTreeState constructor to allow arbitrarily grouped RangedAudioParameters to be passed to an AudioProcessor.

Member Typedef Documentation

◆ ValidIfIterator

template<typename It >
using juce::AudioProcessorValueTreeState::ParameterLayout::ValidIfIterator = decltype (std::next (std::declval<It>()))
private

Constructor & Destructor Documentation

◆ ParameterLayout() [1/4]

template<typename... Items>
juce::AudioProcessorValueTreeState::ParameterLayout::ParameterLayout ( std::unique_ptr< Items >...  items)
inline

◆ ParameterLayout() [2/4]

template<typename It , typename = ValidIfIterator<It>>
juce::AudioProcessorValueTreeState::ParameterLayout::ParameterLayout ( It  begin,
It  end 
)
inline

References juce::begin(), and juce::end().

◆ ParameterLayout() [3/4]

juce::AudioProcessorValueTreeState::ParameterLayout::ParameterLayout ( const ParameterLayout other)
delete

◆ ParameterLayout() [4/4]

juce::AudioProcessorValueTreeState::ParameterLayout::ParameterLayout ( ParameterLayout &&  other)
inlinenoexcept

Member Function Documentation

◆ add() [1/3]

void juce::AudioProcessorValueTreeState::ParameterLayout::add ( )
inlineprivate

◆ add() [2/3]

template<typename It , typename = ValidIfIterator<It>>
void juce::AudioProcessorValueTreeState::ParameterLayout::add ( It  begin,
It  end 
)
inline

◆ add() [3/3]

template<typename... Items>
void juce::AudioProcessorValueTreeState::ParameterLayout::add ( std::unique_ptr< Items >...  items)
inline

References juce::ignoreUnused().

◆ operator=() [1/2]

ParameterLayout& juce::AudioProcessorValueTreeState::ParameterLayout::operator= ( const ParameterLayout other)
delete

◆ operator=() [2/2]

ParameterLayout& juce::AudioProcessorValueTreeState::ParameterLayout::operator= ( ParameterLayout &&  other)
inlinenoexcept

◆ swap()

void juce::AudioProcessorValueTreeState::ParameterLayout::swap ( ParameterLayout other)
inlinenoexcept

Friends And Related Function Documentation

◆ AudioProcessorValueTreeState

friend class AudioProcessorValueTreeState
friend

Member Data Documentation

◆ parameters

std::vector<std::unique_ptr<ParameterStorageBase> > juce::AudioProcessorValueTreeState::ParameterLayout::parameters
private

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