ValueOutletItem.hpp
1 #pragma once
2 #include <Dataflow/PortItem.hpp>
3 namespace Dataflow
4 {
5 struct SCORE_PLUGIN_DATAFLOW_EXPORT ValueOutletFactory 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 }
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:38
Definition: Port.hpp:515
Definition: UuidKey.hpp:343
Definition: ValueOutletItem.hpp:7
Static metadata implementation.
Definition: lib/score/tools/Metadata.hpp:36
The VisitorVariant struct.
Definition: VisitorInterface.hpp:26