JUCE

- Main Page
- Related Pages
- Topics
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Loading...
Searching...
No Matches
Public Member Functions | List of all members
AudioProcessorParameterGroup::AudioProcessorParameterNode Class Reference
juce_audio_processors » processors

A child of an AudioProcessorParameterGroup. More...

`#include <juce_AudioProcessorParameterGroup.h>`

## Public Member Functions
| AudioProcessorParameterNode (AudioProcessorParameterNode &&)
| ~AudioProcessorParameterNode ()
AudioProcessorParameterGroup * | getParent () const
| Returns the parent group or nullptr if this is a top-level group.
AudioProcessorParameter * | getParameter () const
| Returns a pointer to a parameter if this node contains a parameter, nullptr otherwise.
AudioProcessorParameterGroup * | getGroup () const
| Returns a pointer to a group if this node contains a group, nullptr otherwise.

## Detailed Description

A child of an AudioProcessorParameterGroup.

This can contain either an AudioProcessorParameter or an AudioProcessorParameterGroup. You can query which using the getParameter and getGroup methods.

for (auto* child : group)
if (auto* parameter = node.getParameter())
parameter->setValueNotifyingHost (0.5f);
else
node.getGroup()->AddChild (new Parameter());
AudioProcessorParameterGroup::AudioProcessorParameterNode::getParameter
AudioProcessorParameter * getParameter() const
Returns a pointer to a parameter if this node contains a parameter, nullptr otherwise.

## Constructor & Destructor Documentation

## ◆ AudioProcessorParameterNode()

AudioProcessorParameterGroup::AudioProcessorParameterNode::AudioProcessorParameterNode | ( | AudioProcessorParameterNode && |  | ) |

## ◆ ~AudioProcessorParameterNode()

AudioProcessorParameterGroup::AudioProcessorParameterNode::~AudioProcessorParameterNode | ( |  | ) |

## Member Function Documentation

## ◆ getParent()

AudioProcessorParameterGroup * AudioProcessorParameterGroup::AudioProcessorParameterNode::getParent | ( |  | ) | const

Returns the parent group or nullptr if this is a top-level group.

## ◆ getParameter()

AudioProcessorParameter * AudioProcessorParameterGroup::AudioProcessorParameterNode::getParameter | ( |  | ) | const

Returns a pointer to a parameter if this node contains a parameter, nullptr otherwise.

## ◆ getGroup()

AudioProcessorParameterGroup * AudioProcessorParameterGroup::AudioProcessorParameterNode::getGroup | ( |  | ) | const

Returns a pointer to a group if this node contains a group, nullptr otherwise.

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

- juce_AudioProcessorParameterGroup.h