JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
juce::RangedAudioParameterAttributes< Derived, Value > Class Template Reference

Public Types

using Category = AudioProcessorParameter::Category
 
using StringFromValue = std::function< String(Value, int)>
 
using ValueFromString = std::function< Value(const String &)>
 

Public Member Functions

auto withStringFromValueFunction (StringFromValue x) const
 An optional lambda function that converts a non-normalised value to a string with a maximum length.
 
auto withValueFromStringFunction (ValueFromString x) const
 An optional lambda function that parses a string and converts it into a non-normalised value.
 
auto withLabel (String x) const
 See AudioProcessorParameterWithIDAttributes::withLabel()
 
auto withCategory (Category x) const
 See AudioProcessorParameterWithIDAttributes::withCategory()
 
auto withMeta (bool x) const
 See AudioProcessorParameter::isMetaParameter()
 
auto withAutomatable (bool x) const
 See AudioProcessorParameter::isAutomatable()
 
auto withInverted (bool x) const
 See AudioProcessorParameter::isOrientationInverted()
 
const autogetStringFromValueFunction () const
 An optional lambda function that converts a non-normalised value to a string with a maximum length.
 
const autogetValueFromStringFunction () const
 An optional lambda function that parses a string and converts it into a non-normalised value.
 
const autogetAudioProcessorParameterWithIDAttributes () const
 Gets attributes that would also apply to an AudioProcessorParameterWithID.
 

Detailed Description

template<typename Derived, typename Value>
class juce::RangedAudioParameterAttributes< Derived, Value >

Definition at line 43 of file juce_RangedAudioParameter.h.

Member Typedef Documentation

◆ Category

Definition at line 48 of file juce_RangedAudioParameter.h.

◆ StringFromValue

Definition at line 50 of file juce_RangedAudioParameter.h.

◆ ValueFromString

Definition at line 51 of file juce_RangedAudioParameter.h.

Member Function Documentation

◆ getAudioProcessorParameterWithIDAttributes()

const auto & juce::RangedAudioParameterAttributes< Derived, Value >::getAudioProcessorParameterWithIDAttributes ( ) const

Gets attributes that would also apply to an AudioProcessorParameterWithID.

Definition at line 81 of file juce_RangedAudioParameter.h.

◆ getStringFromValueFunction()

const auto & juce::RangedAudioParameterAttributes< Derived, Value >::getStringFromValueFunction ( ) const

An optional lambda function that converts a non-normalised value to a string with a maximum length.

This may be used by hosts to display the parameter's value.

Definition at line 75 of file juce_RangedAudioParameter.h.

◆ getValueFromStringFunction()

const auto & juce::RangedAudioParameterAttributes< Derived, Value >::getValueFromStringFunction ( ) const

An optional lambda function that parses a string and converts it into a non-normalised value.

Some hosts use this to allow users to type in parameter values.

Definition at line 78 of file juce_RangedAudioParameter.h.

◆ withAutomatable()

auto juce::RangedAudioParameterAttributes< Derived, Value >::withAutomatable ( bool  x) const

◆ withCategory()

◆ withInverted()

◆ withLabel()

◆ withMeta()

◆ withStringFromValueFunction()

auto juce::RangedAudioParameterAttributes< Derived, Value >::withStringFromValueFunction ( StringFromValue  x) const

An optional lambda function that converts a non-normalised value to a string with a maximum length.

This may be used by hosts to display the parameter's value.

Definition at line 54 of file juce_RangedAudioParameter.h.

◆ withValueFromStringFunction()

auto juce::RangedAudioParameterAttributes< Derived, Value >::withValueFromStringFunction ( ValueFromString  x) const

An optional lambda function that parses a string and converts it into a non-normalised value.

Some hosts use this to allow users to type in parameter values.

Definition at line 57 of file juce_RangedAudioParameter.h.


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