score
Home
Classes
Namespaces
Files
ValueOutletItem.hpp
1
#pragma once
2
#include <Dataflow/PortItem.hpp>
3
namespace
Dataflow
4
{
5
struct
SCORE_PLUGIN_DATAFLOW_EXPORT
ValueOutletFactory
final
6
:
public
AutomatablePortFactory
7
{
8
using
Model_T
=
Process::ValueOutlet
;
9
UuidKey<Process::Port>
concreteKey()
const
noexcept
override
10
{
11
return
Metadata<ConcreteKey_k, Model_T>::get
();
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
}
Dataflow::AutomatablePortFactory
Definition:
score-plugin-dataflow/Dataflow/PortItem.hpp:38
Process::ValueOutlet
Definition:
Port.hpp:515
UuidKey
Definition:
UuidKey.hpp:343
Dataflow::ValueOutletFactory
Definition:
ValueOutletItem.hpp:7
Metadata
Static metadata implementation.
Definition:
lib/score/tools/Metadata.hpp:36
VisitorVariant
The VisitorVariant struct.
Definition:
VisitorInterface.hpp:26