Represents one of the nodes, or processors, in an AudioProcessorGraph.
More...
#include <juce_AudioProcessorGraph.h>
Represents one of the nodes, or processors, in an AudioProcessorGraph.
To create a node, call AudioProcessorGraph::addNode().
◆ Ptr
A convenient typedef for referring to a pointer to a node object.
◆ Node()
◆ decReferenceCount()
void juce::ReferenceCountedObject::decReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will be deleted.
References jassert.
◆ decReferenceCountWithoutDeleting()
bool juce::ReferenceCountedObject::decReferenceCountWithoutDeleting |
( |
| ) |
|
|
inlinenoexceptinherited |
Decreases the object's reference count.
If the count gets to zero, the object will not be deleted, but this method will return true, allowing the caller to take care of deletion.
References jassert.
◆ getProcessor()
AudioProcessor* juce::AudioProcessorGraph::Node::getProcessor |
( |
| ) |
const |
|
inlinenoexcept |
The actual processor object that this node represents.
◆ getReferenceCount()
int juce::ReferenceCountedObject::getReferenceCount |
( |
| ) |
const |
|
inlinenoexceptinherited |
Returns the object's current reference count.
◆ incReferenceCount()
void juce::ReferenceCountedObject::incReferenceCount |
( |
| ) |
|
|
inlinenoexceptinherited |
Increments the object's reference count.
This is done automatically by the smart pointer, but is public just in case it's needed for nefarious purposes.
◆ isBypassed()
bool juce::AudioProcessorGraph::Node::isBypassed |
( |
| ) |
const |
|
noexcept |
Returns if the node is bypassed or not.
◆ prepare()
◆ resetReferenceCount()
void juce::ReferenceCountedObject::resetReferenceCount |
( |
| ) |
|
|
inlineprotectednoexceptinherited |
Resets the reference count to zero without deleting the object.
You should probably never need to use this!
◆ setBypassed()
void juce::AudioProcessorGraph::Node::setBypassed |
( |
bool |
shouldBeBypassed | ) |
|
|
noexcept |
Tell this node to bypass processing.
◆ setParentGraph()
◆ unprepare()
void juce::AudioProcessorGraph::Node::unprepare |
( |
| ) |
|
|
private |
◆ AudioProcessorGraph
◆ bypassed
bool juce::AudioProcessorGraph::Node::bypassed = false |
|
private |
◆ inputs
◆ isPrepared
bool juce::AudioProcessorGraph::Node::isPrepared = false |
|
private |
◆ 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.
◆ outputs
◆ processor
const std::unique_ptr<AudioProcessor> juce::AudioProcessorGraph::Node::processor |
|
private |
◆ 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.
The documentation for this class was generated from the following file: