JUCE
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
AudioProcessorGraph::Connection Struct Reference

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

Public Member Functions

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

Public Attributes

NodeAndChannel source { {}, 0 }
 The channel and node which is the input source for this connection.
 
NodeAndChannel destination { {}, 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 AudioProcessorGraph::Connection::Connection ( )
constexprdefault

◆ Connection() [2/3]

constexpr AudioProcessorGraph::Connection::Connection ( NodeAndChannel  sourceIn,
NodeAndChannel  destinationIn 
)
constexprnoexcept

◆ Connection() [3/3]

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

Member Function Documentation

◆ operator=()

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

◆ operator==()

constexpr bool AudioProcessorGraph::Connection::operator== ( const Connection other) const
constexprnoexcept

◆ operator!=()

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

References operator==().

◆ operator<()

constexpr bool AudioProcessorGraph::Connection::operator< ( const Connection other) const
constexprnoexcept

References x.

Member Data Documentation

◆ source

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

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

◆ destination

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

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