score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
ScenarioRecordInitData.hpp
1
#pragma once
2
#include <score/tools/Debug.hpp>
3
4
#include <QDataStream>
5
#include <QPointF>
6
7
#include <verdigris>
8
9
namespace
Process
10
{
11
class
LayerPresenter;
12
}
13
14
namespace
Scenario
15
{
16
struct
ScenarioRecordInitData
17
{
18
ScenarioRecordInitData
() { }
19
ScenarioRecordInitData
(
const
Process::LayerPresenter
* lp, QPointF p)
20
: presenter{lp}
21
, point{p}
22
{
23
}
24
25
const
Process::LayerPresenter
* presenter{};
26
QPointF point;
27
};
28
}
29
30
inline
QDataStream&
31
operator<<(QDataStream& i,
const
Scenario::ScenarioRecordInitData
& sel)
32
{
33
SCORE_ABORT;
34
return
i;
35
}
36
inline
QDataStream& operator>>(QDataStream& i,
Scenario::ScenarioRecordInitData
& sel)
37
{
38
SCORE_ABORT;
39
return
i;
40
}
41
Q_DECLARE_METATYPE(
Scenario::ScenarioRecordInitData
)
42
W_REGISTER_ARGTYPE(
Scenario::ScenarioRecordInitData
)
Process::LayerPresenter
Definition
LayerPresenter.hpp:34
Process
Base classes and tools to implement processes and layers.
Definition
JSONVisitor.hpp:1324
Scenario
Main plug-in of score.
Definition
score-plugin-dataflow/Dataflow/PortItem.hpp:13
Scenario::ScenarioRecordInitData
Definition
ScenarioRecordInitData.hpp:17