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

Properties of an AudioParameterBool. More...

#include <juce_AudioParameterBool.h>

Inheritance diagram for juce::AudioParameterBoolAttributes:
Collaboration diagram for juce::AudioParameterBoolAttributes:

Public Types

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

Public Member Functions

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

Private Types

using This = RangedAudioParameterAttributes
 

Private Member Functions

auto & asDerived () const
 

Private Attributes

AudioProcessorParameterWithIDAttributes attributes
 
StringFromValue stringFromValue
 
ValueFromString valueFromString
 

Detailed Description

Properties of an AudioParameterBool.

See also
AudioParameterBool(), RangedAudioParameterAttributes()

Member Typedef Documentation

◆ Category

◆ StringFromValue

◆ This

◆ ValueFromString

Member Function Documentation

◆ asDerived()

auto& juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::asDerived
inlineprivateinherited

◆ getAudioProcessorParameterWithIDAttributes()

const JUCE_NODISCARD auto& juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::getAudioProcessorParameterWithIDAttributes
inlineinherited

Gets attributes that would also apply to an AudioProcessorParameterWithID.

◆ getStringFromValueFunction()

const JUCE_NODISCARD auto& juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::getStringFromValueFunction
inlineinherited

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.

◆ getValueFromStringFunction()

const JUCE_NODISCARD auto& juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::getValueFromStringFunction
inlineinherited

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.

◆ withAutomatable()

◆ withCategory()

◆ withInverted()

◆ withLabel()

◆ withMeta()

◆ withStringFromValueFunction()

JUCE_NODISCARD auto juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::withStringFromValueFunction ( StringFromValue  x) const
inlineinherited

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.

◆ withValueFromStringFunction()

JUCE_NODISCARD auto juce::RangedAudioParameterAttributes< AudioParameterBoolAttributes , bool >::withValueFromStringFunction ( ValueFromString  x) const
inlineinherited

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.

Member Data Documentation

◆ attributes

◆ stringFromValue

◆ valueFromString


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