AudioInletItem.hpp
1 #pragma once
2 #include <Dataflow/PortItem.hpp>
3 namespace Dataflow
4 {
5 
6 struct SCORE_PLUGIN_DATAFLOW_EXPORT AudioInletFactory final
8 {
10  UuidKey<Process::Port> concreteKey() const noexcept override
11  {
13  }
14 
15  Model_T* load(const VisitorVariant& vis, QObject* parent) override
16  {
17  return score::deserialize_dyn(vis, [&](auto&& deserializer) {
18  return new Model_T{deserializer, parent};
19  });
20  }
21 
22  void setupInletInspector(
23  const Process::Inlet& port, const score::DocumentContext& ctx, QWidget* parent,
24  Inspector::Layout& lay, QObject* context) override;
25 };
26 
27 }
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:38
Definition: lib/score/widgets/Layout.hpp:29
Definition: Port.hpp:300
Definition: Port.hpp:177
Definition: UuidKey.hpp:343
Definition: AudioInletItem.hpp:8
Static metadata implementation.
Definition: lib/score/tools/Metadata.hpp:36
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26
Definition: DocumentContext.hpp:18