Loading...
Searching...
No Matches
MidiOutletItem.hpp
1#pragma once
2#include <Dataflow/PortItem.hpp>
3namespace Dataflow
4{
5struct SCORE_PLUGIN_DATAFLOW_EXPORT MidiOutletFactory final
7{
9 UuidKey<Process::Port> concreteKey() const noexcept override
10 {
12 }
13
14 Model_T* load(const VisitorVariant& vis, QObject* parent) override
15 {
16 return score::deserialize_dyn(vis, [&](auto&& deserializer) {
17 return new Model_T{deserializer, parent};
18 });
19 }
20
21 void setupOutletInspector(
22 const Process::Outlet& port, const score::DocumentContext& ctx, QWidget* parent,
23 Inspector::Layout& lay, QObject* context) override;
24};
25}
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:37
Definition lib/score/widgets/Layout.hpp:29
Definition Port.hpp:402
Definition Port.hpp:273
Definition UuidKey.hpp:343
Definition MidiOutletItem.hpp:7
Static metadata implementation.
Definition lib/score/tools/Metadata.hpp:36
The VisitorVariant struct.
Definition VisitorInterface.hpp:26
Definition DocumentContext.hpp:18