Loading...
Searching...
No Matches
PortSerialization.hpp
1#pragma once
2#include <Process/Dataflow/Port.hpp>
3
4namespace Process
5{
6
7// Unchecked, low-level functions (directly load from the factory)
8
9SCORE_LIB_PROCESS_EXPORT
10std::unique_ptr<Inlet> load_inlet(DataStreamWriter& wr, QObject* parent);
11
12SCORE_LIB_PROCESS_EXPORT
13std::unique_ptr<Inlet> load_inlet(JSONWriter& wr, QObject* parent);
14
15SCORE_LIB_PROCESS_EXPORT
16std::unique_ptr<Outlet> load_outlet(DataStreamWriter& wr, QObject* parent);
17
18SCORE_LIB_PROCESS_EXPORT
19std::unique_ptr<Outlet> load_outlet(JSONWriter& wr, QObject* parent);
20
21// Checked functions: will return a port of the correct type if it the
22// actual save data differs
23// (This is to allow upgrading from the old v2.5 save files
24// which did not have distinct port types)
25
26SCORE_LIB_PROCESS_EXPORT
27std::unique_ptr<ValueInlet> load_value_inlet(DataStreamWriter& wr, QObject* parent);
28
29SCORE_LIB_PROCESS_EXPORT
30std::unique_ptr<ValueInlet> load_value_inlet(JSONWriter& wr, QObject* parent);
31
32SCORE_LIB_PROCESS_EXPORT
33std::unique_ptr<ValueOutlet> load_value_outlet(DataStreamWriter& wr, QObject* parent);
34
35SCORE_LIB_PROCESS_EXPORT
36std::unique_ptr<ValueOutlet> load_value_outlet(JSONWriter& wr, QObject* parent);
37
38SCORE_LIB_PROCESS_EXPORT
39std::unique_ptr<ControlInlet> load_control_inlet(DataStreamWriter& wr, QObject* parent);
40
41SCORE_LIB_PROCESS_EXPORT
42std::unique_ptr<ControlInlet> load_control_inlet(JSONWriter& wr, QObject* parent);
43
44SCORE_LIB_PROCESS_EXPORT
45std::unique_ptr<ControlOutlet>
46load_control_outlet(DataStreamWriter& wr, QObject* parent);
47
48SCORE_LIB_PROCESS_EXPORT
49std::unique_ptr<ControlOutlet> load_control_outlet(JSONWriter& wr, QObject* parent);
50
51SCORE_LIB_PROCESS_EXPORT
52std::unique_ptr<AudioInlet> load_audio_inlet(DataStreamWriter& wr, QObject* parent);
53
54SCORE_LIB_PROCESS_EXPORT
55std::unique_ptr<AudioInlet> load_audio_inlet(JSONWriter& wr, QObject* parent);
56
57SCORE_LIB_PROCESS_EXPORT
58std::unique_ptr<AudioOutlet> load_audio_outlet(DataStreamWriter& wr, QObject* parent);
59
60SCORE_LIB_PROCESS_EXPORT
61std::unique_ptr<AudioOutlet> load_audio_outlet(JSONWriter& wr, QObject* parent);
62
63SCORE_LIB_PROCESS_EXPORT
64std::unique_ptr<MidiInlet> load_midi_inlet(DataStreamWriter& wr, QObject* parent);
65
66SCORE_LIB_PROCESS_EXPORT
67std::unique_ptr<MidiInlet> load_midi_inlet(JSONWriter& wr, QObject* parent);
68
69SCORE_LIB_PROCESS_EXPORT
70std::unique_ptr<MidiOutlet> load_midi_outlet(DataStreamWriter& wr, QObject* parent);
71
72SCORE_LIB_PROCESS_EXPORT
73std::unique_ptr<MidiOutlet> load_midi_outlet(JSONWriter& wr, QObject* parent);
74}
Definition DataStreamVisitor.hpp:202
Definition JSONVisitor.hpp:423
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1324