JUCE
|
Represents one of the nodes, or processors, in an AudioProcessorGraph. More...
Public Types | |
typedef ReferenceCountedObjectPtr< Node > | Ptr |
A convenient typedef for referring to a pointer to a node object. More... | |
Public Member Functions | |
AudioProcessor * | getProcessor () const noexcept |
The actual processor object that this node represents. More... | |
![]() | |
void | incReferenceCount () noexcept |
Increments the object's reference count. More... | |
void | decReferenceCount () noexcept |
Decreases the object's reference count. More... | |
bool | decReferenceCountWithoutDeleting () noexcept |
Decreases the object's reference count. More... | |
int | getReferenceCount () const noexcept |
Returns the object's current reference count. More... | |
Public Attributes | |
const uint32 | nodeId |
The ID number assigned to this node. More... | |
NamedValueSet | properties |
A set of user-definable properties that are associated with this node. More... | |
Additional Inherited Members | |
![]() | |
ReferenceCountedObject () | |
Creates the reference-counted object (with an initial ref count of zero). More... | |
virtual | ~ReferenceCountedObject () |
Destructor. More... | |
void | resetReferenceCount () noexcept |
Resets the reference count to zero without deleting the object. More... | |
Represents one of the nodes, or processors, in an AudioProcessorGraph.
To create a node, call AudioProcessorGraph::addNode().
A convenient typedef for referring to a pointer to a node object.
|
noexcept |
The actual processor object that this node represents.
const uint32 AudioProcessorGraph::Node::nodeId |
The ID number assigned to this node.
This is assigned by the graph that owns it, and can't be changed.
NamedValueSet 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.