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 | Public Attributes | List of all members
juce::AudioProcessorGraph::Node Class Reference

Represents one of the nodes, or processors, in an AudioProcessorGraph. More...

#include "juce_AudioProcessorGraph.h"

Inheritance diagram for juce::AudioProcessorGraph::Node:
juce::ReferenceCountedObject

Public Types

using Ptr = ReferenceCountedObjectPtr< Node >
 A convenient typedef for referring to a pointer to a node object.
 

Public Member Functions

AudioProcessorgetProcessor () const noexcept
 The actual processor object that this node represents.
 
bool isBypassed () const noexcept
 Returns if the node is bypassed or not.
 
void setBypassed (bool shouldBeBypassed) noexcept
 Tell this node to bypass processing.
 
bool userRequestedBypass () const
 
 Node (NodeID n, std::unique_ptr< AudioProcessor > p) noexcept
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count.
 
void decReferenceCount () noexcept
 Decreases the object's reference count.
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count.
 
int getReferenceCount () const noexcept
 Returns the object's current reference count.
 

Public Attributes

const NodeID nodeID
 The ID number assigned to this node.
 
NamedValueSet properties
 A set of user-definable properties that are associated with this node.
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count.
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count.
 
virtual ~ReferenceCountedObject ()
 Destructor.
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object.
 

Detailed Description

Represents one of the nodes, or processors, in an AudioProcessorGraph.

To create a node, call AudioProcessorGraph::addNode().

Definition at line 103 of file juce_AudioProcessorGraph.h.

Member Typedef Documentation

◆ Ptr

A convenient typedef for referring to a pointer to a node object.

Definition at line 150 of file juce_AudioProcessorGraph.h.

Constructor & Destructor Documentation

◆ Node()

juce::AudioProcessorGraph::Node::Node ( NodeID  n,
std::unique_ptr< AudioProcessor p 
)
noexcept

Definition at line 164 of file juce_AudioProcessorGraph.h.

Member Function Documentation

◆ getProcessor()

AudioProcessor * juce::AudioProcessorGraph::Node::getProcessor ( ) const
noexcept

The actual processor object that this node represents.

Definition at line 113 of file juce_AudioProcessorGraph.h.

◆ isBypassed()

bool juce::AudioProcessorGraph::Node::isBypassed ( ) const
noexcept

Returns if the node is bypassed or not.

Definition at line 125 of file juce_AudioProcessorGraph.h.

◆ setBypassed()

void juce::AudioProcessorGraph::Node::setBypassed ( bool  shouldBeBypassed)
noexcept

Tell this node to bypass processing.

Definition at line 137 of file juce_AudioProcessorGraph.h.

◆ userRequestedBypass()

bool juce::AudioProcessorGraph::Node::userRequestedBypass ( ) const

Definition at line 158 of file juce_AudioProcessorGraph.h.

Member Data Documentation

◆ nodeID

const NodeID juce::AudioProcessorGraph::Node::nodeID

The ID number assigned to this node.

This is assigned by the graph that owns it, and can't be changed.

Definition at line 110 of file juce_AudioProcessorGraph.h.

◆ properties

NamedValueSet juce::AudioProcessorGraph::Node::properties

A set of user-definable properties that are associated with this node.

This can be used to attach values to the node for whatever purpose seems useful. For example, you might store an x and y position if your application is displaying the nodes on-screen.

Definition at line 121 of file juce_AudioProcessorGraph.h.


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