JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::AudioProcessorGraph::Connection Struct Reference

Represents a connection between two channels of two nodes in an AudioProcessorGraph. More...

#include <juce_AudioProcessorGraph.h>

Collaboration diagram for juce::AudioProcessorGraph::Connection:

Public Member Functions

constexpr Connection ()=default
 
constexpr Connection (const Connection &)=default
 
constexpr Connection (NodeAndChannel sourceIn, NodeAndChannel destinationIn) noexcept
 
constexpr bool operator!= (const Connection &other) const noexcept
 
constexpr bool operator< (const Connection &other) const noexcept
 
constexpr Connectionoperator= (const Connection &)=default
 
constexpr bool operator== (const Connection &other) const noexcept
 

Public Attributes

NodeAndChannel destination { {}, 0 }
 The channel and node which is the input source for this connection.
 
NodeAndChannel source { {}, 0 }
 The channel and node which is the input source for this connection.
 

Detailed Description

Represents a connection between two channels of two nodes in an AudioProcessorGraph.

To create a connection, use AudioProcessorGraph::addConnection().

Constructor & Destructor Documentation

◆ Connection() [1/3]

constexpr juce::AudioProcessorGraph::Connection::Connection ( )
constexprdefault

◆ Connection() [2/3]

constexpr juce::AudioProcessorGraph::Connection::Connection ( NodeAndChannel  sourceIn,
NodeAndChannel  destinationIn 
)
inlineconstexprnoexcept

◆ Connection() [3/3]

constexpr juce::AudioProcessorGraph::Connection::Connection ( const Connection )
constexprdefault

Member Function Documentation

◆ operator!=()

constexpr bool juce::AudioProcessorGraph::Connection::operator!= ( const Connection other) const
inlineconstexprnoexcept

◆ operator<()

constexpr bool juce::AudioProcessorGraph::Connection::operator< ( const Connection other) const
inlineconstexprnoexcept

◆ operator=()

constexpr Connection & juce::AudioProcessorGraph::Connection::operator= ( const Connection )
constexprdefault

◆ operator==()

constexpr bool juce::AudioProcessorGraph::Connection::operator== ( const Connection other) const
inlineconstexprnoexcept

Member Data Documentation

◆ destination

NodeAndChannel juce::AudioProcessorGraph::Connection::destination { {}, 0 }

The channel and node which is the input source for this connection.

◆ source

NodeAndChannel juce::AudioProcessorGraph::Connection::source { {}, 0 }

The channel and node which is the input source for this connection.


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