Loading...
Searching...
No Matches
ScenarioFactory.hpp
1#pragma once
2#include <Process/GenericProcessFactory.hpp>
3#include <Process/ProcessFactory.hpp>
4#include <Process/TimeValue.hpp>
5
6#include <Scenario/Process/ScenarioModel.hpp>
7
8namespace Process
9{
10class LayerPresenter;
11class LayerView;
12class ProcessModel;
13}
14class QGraphicsItem;
15class QObject;
16struct VisitorVariant;
17
18namespace Scenario
19{
20class EditionSettings;
21
23
25{
26public:
28
29 Process::LayerPresenter* makeLayerPresenter(
31 QObject* parent) const override;
32
33 Process::LayerView* makeLayerView(
34 const Process::ProcessModel& viewmodel, const Process::Context& context,
35 QGraphicsItem* parent) const override;
36
38 makeMiniLayer(const Process::ProcessModel& view, QGraphicsItem* parent) const override;
39
40 bool matches(const UuidKey<Process::ProcessModel>& p) const override;
41 UuidKey<Process::ProcessModel> concreteKey() const noexcept override;
42
43private:
44 Scenario::EditionSettings& m_editionSettings;
45};
46}
Definition score-lib-process/Process/ProcessFactory.hpp:59
Definition LayerPresenter.hpp:34
Definition LayerView.hpp:21
Definition LayerView.hpp:95
Definition GenericProcessFactory.hpp:15
The Process class.
Definition score-lib-process/Process/Process.hpp:61
Definition ScenarioEditionSettings.hpp:14
Definition ScenarioFactory.hpp:25
Definition UuidKey.hpp:343
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1324
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Definition ProcessContext.hpp:12
The VisitorVariant struct.
Definition VisitorInterface.hpp:26
Definition ObjectMatches.hpp:6