2 #include <State/Address.hpp>
3 #include <State/Unit.hpp>
5 #include <Process/Dataflow/Port.hpp>
6 #include <Process/Process.hpp>
10 #include <ossia/detail/flat_map.hpp>
12 #include <Color/GradientMetadata.hpp>
14 #include <score_plugin_automation_export.h>
22 SCORE_SERIALIZE_FRIENDS
32 template <
typename Impl>
45 void setTween(
bool tween);
47 QString prettyName()
const noexcept
override;
49 using gradient_colors = ossia::flat_map<double, QColor>;
50 const gradient_colors& gradient()
const;
51 void setGradient(
const gradient_colors& c);
53 std::unique_ptr<Process::Outlet> outlet;
56 void tweenChanged(
bool tween)
57 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, tweenChanged, tween)
58 void gradientChanged() E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, gradientChanged)
60 PROPERTY(
bool, tween READ tween WRITE setTween NOTIFY tweenChanged)
66 std::optional<Process::MagneticInfo>
67 magneticPosition(
const QObject* o,
const TimeVal t)
const noexcept
override;
69 void setDurationAndScale(
const TimeVal& newDuration) noexcept
override;
70 void setDurationAndGrow(
const TimeVal& newDuration) noexcept
override;
71 void setDurationAndShrink(
const TimeVal& newDuration) noexcept
override;
73 TimeVal contentDuration()
const noexcept
override;
75 ossia::flat_map<double, QColor> m_colors;
Definition: AutomationModel.hpp:36
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
The id_base_t class.
Definition: Identifier.hpp:57
Definition: Preset.hpp:32
Definition: Address.hpp:108
Definition: TimeValue.hpp:21