Loading...
Searching...
No Matches
DisplayedElementsContainer.hpp
1#pragma once
2#include <Scenario/Document/Event/EventModel.hpp>
3#include <Scenario/Document/Interval/IntervalModel.hpp>
4#include <Scenario/Document/State/StateModel.hpp>
5#include <Scenario/Document/TimeSync/TimeSyncModel.hpp>
6
7#include <QPointer>
8class QGraphicsItem;
9namespace Scenario
10{
11class FullViewIntervalPresenter;
12class StatePresenter;
13class EventPresenter;
14class TimeSyncPresenter;
15class TimeSyncModel;
17{
18
20
22 IntervalModel& cst, StateModel& sst, StateModel& est, EventModel& sev,
23 EventModel& eev, TimeSyncModel& stn, TimeSyncModel& etn)
24 : interval{&cst}
25 , startState{&sst}
26 , endState{&est}
27 , startEvent{&sev}
28 , endEvent{&eev}
29 , startNode{&stn}
30 , endNode{&etn}
31 {
32 }
33
34 QPointer<IntervalModel> interval{};
35 QPointer<StateModel> startState{};
36 QPointer<StateModel> endState{};
37 QPointer<EventModel> startEvent{};
38 QPointer<EventModel> endEvent{};
39 QPointer<TimeSyncModel> startNode{};
40 QPointer<TimeSyncModel> endNode{};
41};
42
44{
45
47
52 : interval{cp}
53 , startState{s1}
54 , endState{s2}
55 , startEvent{e1}
56 , endEvent{e2}
57 , startNode{t1}
58 , endNode{t2}
59 {
60 }
61
62 FullViewIntervalPresenter* interval{};
63 StatePresenter* startState{};
64 StatePresenter* endState{};
65 EventPresenter* startEvent{};
66 EventPresenter* endEvent{};
67 TimeSyncPresenter* startNode{};
68 TimeSyncPresenter* endNode{};
69};
70}
Definition EventModel.hpp:36
Definition EventPresenter.hpp:24
Definition FullViewIntervalPresenter.hpp:30
Definition IntervalModel.hpp:50
Definition StateModel.hpp:63
Definition StatePresenter.hpp:23
Definition TimeSyncModel.hpp:34
Definition TimeSyncPresenter.hpp:29
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Definition DisplayedElementsContainer.hpp:17
Definition DisplayedElementsContainer.hpp:44