2#include <ossia/dataflow/graph_node.hpp>
8struct node_chain_process final :
public looping_process<node_chain_process>
10 node_chain_process() =
default;
12 void state_impl(
const ossia::token_request& req)
14 for(
auto& node : nodes)
20 void add_node(int64_t idx, std::shared_ptr<ossia::graph_node> n)
23 nodes.insert(nodes.begin() + idx, std::move(n));
28 for(
auto& node : nodes)
30 node->all_notes_off();
34 void offset_impl(time_value date)
override
36 for(
auto& node : nodes)
38 node->all_notes_off();
44 for(
auto& node : nodes)
46 node->all_notes_off();
50 void mute_impl(
bool b)
override
52 for(
auto& node : nodes)
55 std::vector<std::shared_ptr<ossia::graph_node>> nodes;
The time_value class.
Definition ossia/editor/scenario/time_value.hpp:30