LMMS
Loading...
Searching...
No Matches
water::AudioProcessorGraph::Node Class Reference

#include <AudioProcessorGraph.h>

Inheritance diagram for water::AudioProcessorGraph::Node:
water::ReferenceCountedObject

Classes

struct  Properties

Public Types

typedef ReferenceCountedObjectPtr< NodePtr

Public Member Functions

AudioProcessorgetProcessor () const noexcept
Public Member Functions inherited from water::ReferenceCountedObject
void incReferenceCount () noexcept
void decReferenceCount () noexcept
bool decReferenceCountWithoutDeleting () noexcept
int getReferenceCount () const noexcept

Public Attributes

const uint32 nodeId
struct water::AudioProcessorGraph::Node::Properties properties

Private Member Functions

 Node (uint32 nodeId, AudioProcessor *) noexcept
void setParentGraph (AudioProcessorGraph *) const
void prepare (double newSampleRate, int newBlockSize, AudioProcessorGraph *)
void unprepare ()

Private Attributes

const CarlaScopedPointer< AudioProcessorprocessor
bool isPrepared

Friends

class AudioProcessorGraph

Additional Inherited Members

Protected Member Functions inherited from water::ReferenceCountedObject
 ReferenceCountedObject ()
virtual ~ReferenceCountedObject ()
void resetReferenceCount () noexcept

Detailed Description

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

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

Member Typedef Documentation

◆ Ptr

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

Constructor & Destructor Documentation

◆ Node()

water::AudioProcessorGraph::Node::Node ( uint32 nodeId,
AudioProcessor * p )
privatenoexcept

Member Function Documentation

◆ getProcessor()

AudioProcessor * water::AudioProcessorGraph::Node::getProcessor ( ) const
inlinenoexcept

The actual processor object that this node represents.

◆ prepare()

void water::AudioProcessorGraph::Node::prepare ( double newSampleRate,
int newBlockSize,
AudioProcessorGraph * graph )
private

◆ setParentGraph()

void water::AudioProcessorGraph::Node::setParentGraph ( AudioProcessorGraph * graph) const
private

◆ unprepare()

void water::AudioProcessorGraph::Node::unprepare ( )
private

◆ AudioProcessorGraph

friend class AudioProcessorGraph
friend

Member Data Documentation

◆ isPrepared

bool water::AudioProcessorGraph::Node::isPrepared
private

◆ nodeId

const uint32 water::AudioProcessorGraph::Node::nodeId

The ID number assigned to this node. This is assigned by the graph that owns it, and can't be changed.

◆ processor

const CarlaScopedPointer<AudioProcessor> water::AudioProcessorGraph::Node::processor
private

◆ properties

struct water::AudioProcessorGraph::Node::Properties water::AudioProcessorGraph::Node::properties

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