37 ,
public Nano::Observer
48 const std::shared_ptr<ossia::graph_node>& node);
51 const std::shared_ptr<ossia::graph_node>& node);
52 void unregister_node_soft(
54 const std::shared_ptr<ossia::graph_node>& node,
Transaction& vec);
61 const std::shared_ptr<ossia::graph_node>& node);
64 const std::shared_ptr<ossia::graph_node>& node);
66 void unregister_inlet(
67 const Process::Inlet& inlet,
const std::shared_ptr<ossia::graph_node>& node);
68 void unregister_outlet(
69 const Process::Outlet& outlet,
const std::shared_ptr<ossia::graph_node>& node);
74 const std::shared_ptr<ossia::graph_node>& node,
Transaction& vec);
77 const std::shared_ptr<ossia::graph_node>& node,
Transaction& vec);
87 const std::shared_ptr<ossia::graph_node>& node,
Transaction& vec);
90 const std::shared_ptr<ossia::graph_node>& node,
Transaction& vec);
92 void unregister_inlet(
93 const Process::Inlet& inlet,
const std::shared_ptr<ossia::graph_node>& node,
95 void unregister_outlet(
96 const Process::Outlet& outlet,
const std::shared_ptr<ossia::graph_node>& node,
100 const std::shared_ptr<ossia::time_process>& process,
101 const std::shared_ptr<ossia::graph_node>& node,
Transaction& commands);
107 score::hash_map<Process::Outlet*, std::pair<ossia::node_ptr, ossia::outlet_ptr>>
109 score::hash_map<Process::Inlet*, std::pair<ossia::node_ptr, ossia::inlet_ptr>> inlets;
110 score::hash_map<Id<Process::Cable>, std::shared_ptr<ossia::graph_edge>> m_cables;
114 ossia::flat_map<Id<Process::Port>, QMetaObject::Connection> inlets;
115 ossia::flat_map<Id<Process::Port>, QMetaObject::Connection> outlets;
116 void clear()
const noexcept
118 for(
auto& con : inlets)
119 QObject::disconnect(con.second);
120 for(
auto& con : outlets)
121 QObject::disconnect(con.second);
127 score::hash_map<const ossia::graph_node*, const Process::ProcessModel*> proc_map;
130 template <
typename Impl>
131 void register_node_impl(
133 const std::shared_ptr<ossia::graph_node>& node, Impl&&);
135 template <
typename Impl>
136 void register_inlet_impl(
138 const std::shared_ptr<ossia::graph_node>& node, Impl&&);
140 template <
typename Impl>
141 void register_outlet_impl(
143 const std::shared_ptr<ossia::graph_node>& node, Impl&&);
Definition ExecutionContext.hpp:76
Definition ExecutionSetup.hpp:113
Definition ExecutionSetup.hpp:38