Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::project::ProjectGraphBuilder Class Referencefinal
Inheritance diagram for zrythm::structure::project::ProjectGraphBuilder:
Collaboration diagram for zrythm::structure::project::ProjectGraphBuilder:

Public Member Functions

 ProjectGraphBuilder (Project &project)
Public Member Functions inherited from zrythm::dsp::graph::IGraphBuilder
void build_graph (Graph &graph)
 Populates the graph.

Static Public Member Functions

static bool can_ports_be_connected (Project &project, const dsp::Port &src, const dsp::Port &dest)
 Adds a new connection for the given src and dest ports and validates the graph.

Detailed Description

Definition at line 14 of file project_graph_builder.h.

Constructor & Destructor Documentation

◆ ProjectGraphBuilder()

zrythm::structure::project::ProjectGraphBuilder::ProjectGraphBuilder ( Project & project)
inline

Definition at line 17 of file project_graph_builder.h.

Member Function Documentation

◆ can_ports_be_connected()

bool zrythm::structure::project::ProjectGraphBuilder::can_ports_be_connected ( Project & project,
const dsp::Port & src,
const dsp::Port & dest )
static

Adds a new connection for the given src and dest ports and validates the graph.

Returns
Whether the ports can be connected (if the connection will be valid and won't break the acyclicity of the graph).

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