3 #include <State/Address.hpp>
4 #include <State/Unit.hpp>
6 #include <Process/TimeValue.hpp>
8 #include <Curve/Process/CurveProcessModel.hpp>
10 #include <Automation/AutomationProcessMetadata.hpp>
11 #include <Automation/State/AutomationState.hpp>
14 #include <score/serialization/VisitorInterface.hpp>
29 #include <score/model/Identifier.hpp>
31 #include <score_plugin_automation_export.h>
37 SCORE_SERIALIZE_FRIENDS
52 const ::State::AddressAccessor& address()
const;
57 void setAddress(const ::State::AddressAccessor& arg);
58 void setMin(
double arg);
59 void setMax(
double arg);
65 void setTween(
bool tween);
67 QString prettyName()
const noexcept
override;
68 QString prettyValue(
double x,
double y)
const noexcept
override;
69 std::unique_ptr<Process::Outlet> outlet;
72 void addressChanged(const ::State::AddressAccessor& arg_1)
73 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, addressChanged, arg_1)
74 void minChanged(
double arg_1)
75 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, minChanged, arg_1)
76 void maxChanged(
double arg_1)
77 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, maxChanged, arg_1)
78 void tweenChanged(
bool tween)
79 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, tweenChanged, tween)
81 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, unitChanged, arg_1)
83 PROPERTY(
State::Unit, unit READ unit WRITE setUnit NOTIFY unitChanged)
84 PROPERTY(
bool, tween READ tween WRITE setTween NOTIFY tweenChanged)
85 PROPERTY(
double, max READ max WRITE setMax NOTIFY maxChanged)
86 PROPERTY(
double, min READ min WRITE setMin NOTIFY minChanged)
89 address READ address WRITE setAddress NOTIFY addressChanged)
95 void setDurationAndScale(
const TimeVal& newDuration) noexcept
override;
96 void setDurationAndGrow(
const TimeVal& newDuration) noexcept
override;
97 void setDurationAndShrink(
const TimeVal& newDuration) noexcept
override;
102 std::optional<Process::MagneticInfo>
103 magneticPosition(
const QObject* o,
const TimeVal t)
const noexcept
override;
109 void setCurve_impl()
override;
113 bool m_tween =
false;
Definition: AutomationModel.hpp:36
Definition: AutomationState.hpp:20
Definition: CurveProcessModel.hpp:11
Definition: VisitorInterface.hpp:53
Definition: DataStreamVisitor.hpp:202
Definition: VisitorInterface.hpp:61
Definition: JSONVisitor.hpp:423
Definition: QmlObjects.hpp:51
The id_base_t class.
Definition: Identifier.hpp:57
Namespace related to the Automation process.
Definition: AutomationColors.cpp:8
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: Preset.hpp:32
Definition: Address.hpp:108
Definition: TimeValue.hpp:21