Loading...
Searching...
No Matches
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]

AudioProcessorGraph::Connection::Connection ( )
constexprdefault

◆ Connection() [2/3]

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

References destination, and source.

◆ Connection() [3/3]

AudioProcessorGraph::Connection::Connection ( const Connection & )
constexprdefault

References Connection().

Member Function Documentation

◆ operator=()

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

References Connection().

◆ operator==()

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

References Connection(), destination, and source.

◆ operator!=()

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

References Connection(), and operator==().

◆ operator<()

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

References Connection(), and x.

Member Data Documentation

◆ source

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

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

Referenced by Connection(), and operator==().

◆ destination

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

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

Referenced by Connection(), and operator==().

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram