2 #include <State/Address.hpp>
4 #include <Process/TimeValue.hpp>
6 #include <Curve/Process/CurveProcessModel.hpp>
8 #include <Mapping/MappingProcessMetadata.hpp>
10 #include <score/model/Identifier.hpp>
12 #include <score/serialization/VisitorInterface.hpp>
16 #include <score_plugin_mapping_export.h>
28 SCORE_SERIALIZE_FRIENDS
42 double sourceMin()
const noexcept;
43 double sourceMax()
const noexcept;
46 void setSourceMin(
double arg);
47 void setSourceMax(
double arg);
50 double targetMin()
const noexcept;
51 double targetMax()
const noexcept;
54 void setTargetMin(
double arg);
55 void setTargetMax(
double arg);
57 QString prettyName()
const noexcept
override;
58 QString prettyValue(
double x,
double y)
const noexcept
override;
60 TimeVal contentDuration()
const noexcept
override;
63 std::unique_ptr<Process::Inlet> inlet;
64 std::unique_ptr<Process::Outlet> outlet;
68 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, sourceAddressChanged, arg)
69 void sourceMinChanged(
double arg)
70 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, sourceMinChanged, arg)
71 void sourceMaxChanged(
double arg)
72 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, sourceMaxChanged, arg)
75 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, targetAddressChanged, arg)
76 void targetMinChanged(
double arg)
77 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, targetMinChanged, arg)
78 void targetMaxChanged(
double arg)
79 E_SIGNAL(SCORE_PLUGIN_MAPPING_EXPORT, targetMaxChanged, arg)
81 PROPERTY(
double, targetMax READ targetMax WRITE setTargetMax NOTIFY targetMaxChanged)
82 PROPERTY(
double, targetMin READ targetMin WRITE setTargetMin NOTIFY targetMinChanged)
85 NOTIFY targetAddressChanged)
86 PROPERTY(
double, sourceMax READ sourceMax WRITE setSourceMax NOTIFY sourceMaxChanged)
87 PROPERTY(
double, sourceMin READ sourceMin WRITE setSourceMin NOTIFY sourceMinChanged)
90 NOTIFY sourceAddressChanged)
95 void setDurationAndScale(
const TimeVal& newDuration) noexcept
override;
96 void setDurationAndGrow(
const TimeVal& newDuration) noexcept
override;
97 void setDurationAndShrink(
const TimeVal& newDuration) noexcept
override;
100 double m_sourceMax{};
102 double m_targetMin{};
103 double m_targetMax{};
Definition: CurveProcessModel.hpp:11
Definition: DataStreamVisitor.hpp:202
Definition: JSONVisitor.hpp:423
Definition: MappingModel.hpp:27
Definition: QmlObjects.hpp:51
The id_base_t class.
Definition: Identifier.hpp:57
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: Address.hpp:108
Definition: TimeValue.hpp:21