|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
The Graph class represents a graph of DSP nodes. More...
#include <src/dsp/graph.h>
Public Member Functions | |
| void | print () const |
| GraphNode * | add_node_for_processable (IProcessable &node) |
| Creates a new node, adds it to the graph and returns it. | |
| GraphNode * | add_initial_processor () |
| bool | is_valid () const |
| Checks for cycles in the graph. | |
| auto && | steal_nodes () |
| Steals the nodes in the graph. | |
| auto & | get_nodes () |
| auto & | get_nodes () const |
| void | finalize_nodes () |
Friends | |
| class | GraphExport |
The Graph class represents a graph of DSP nodes.
The Graph class manages the lifecycle of DSP nodes and their connections, allowing for efficient parallel processing of the graph. It provides functionality to start and terminate the processing, add and remove nodes, and manage the overall graph structure.
|
inline |
| GraphNode * zrythm::dsp::graph::Graph::add_node_for_processable | ( | IProcessable & | node | ) |
Creates a new node, adds it to the graph and returns it.
| bool zrythm::dsp::graph::Graph::is_valid | ( | ) | const |
Checks for cycles in the graph.
|
inline |