2 #include <Process/Process.hpp>
4 #include <score_plugin_scenario_export.h>
7 struct SCORE_PLUGIN_SCENARIO_EXPORT
Slot
18 Slot& operator=(
const Slot&) =
default;
22 : processes{std::move(p)}
26 : processes{std::move(p)}
27 , frontProcess{std::move(fp)}
31 : processes{std::move(p)}
32 , frontProcess{std::move(fp)}
37 std::vector<Id<Process::ProcessModel>> processes;
38 OptionalId<Process::ProcessModel> frontProcess;
44 using Rack = std::vector<Slot>;
50 using FullRack = std::vector<FullSlot>;
62 : interval{std::move(p)}
66 : interval{std::move(p)}
71 : interval{std::move(p)}
79 Slot::RackView full_view{};
85 struct SCORE_PLUGIN_SCENARIO_EXPORT
SlotId
87 SlotId() noexcept =
default;
93 SlotId(std::size_t p, Slot::RackView f) noexcept
98 SlotId(
int p, Slot::RackView f) noexcept
111 Slot::RackView view{};
113 bool fullView()
const noexcept {
return view == Slot::FullView; }
114 bool smallView()
const noexcept {
return view == Slot::SmallView; }
118 inline QDataStream& operator<<(QDataStream& i,
const Scenario::SlotId& sel) noexcept
122 inline QDataStream& operator>>(QDataStream& i,
Scenario::SlotId& sel) noexcept
127 W_REGISTER_ARGTYPE(Scenario::Rack)
128 W_REGISTER_ARGTYPE(Scenario::Slot::RackView)
The Path class is a typesafe wrapper around ObjectPath.
Definition: Path.hpp:52
Definition: IntervalModel.hpp:50
The id_base_t class.
Definition: Identifier.hpp:57
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: DocumentContext.hpp:18