score-plugin-controlsurface/ControlSurface/Executor.hpp
1 #pragma once
2 #include <Process/Dataflow/Port.hpp>
3 #include <Process/Execution/ProcessComponent.hpp>
4 #include <Process/ExecutionSetup.hpp>
5 
6 #include <ControlSurface/Process.hpp>
7 
8 #include <ossia/dataflow/node_process.hpp>
9 #include <ossia/dataflow/safe_nodes/executor.hpp>
10 #include <ossia/detail/ssize.hpp>
11 
12 namespace ossia
13 {
14 class control_surface_node;
15 }
16 namespace ControlSurface
17 {
18 class Model;
19 
21  : public Execution::ProcessComponent_T<ControlSurface::Model, ossia::node_process>
22 {
23  COMPONENT_METADATA("bab572b1-37eb-4f32-8f72-d5b79b65cfe9")
24 public:
26  ControlSurface::Model& element, const ::Execution::Context& ctx, QObject* parent);
27 
28  void inletAdded(Process::ControlInlet& inl);
29 
31 
32 private:
33  int m_currentIndex{};
34 };
37 }
Definition: score-plugin-controlsurface/ControlSurface/Process.hpp:86
Definition: score-plugin-controlsurface/ControlSurface/Executor.hpp:22
Definition: Process/Execution/ProcessComponent.hpp:119
Definition: score-lib-process/Process/Dataflow/Port.hpp:202
@ ControlSurface
The process supports being exposed to the ControlSurface.
Definition: ProcessFlags.hpp:37
Definition: Process/Execution/ProcessComponent.hpp:89