24 SCORE_SERIALIZE_FRIENDS
35 template <
typename Impl>
36 explicit Model(Impl& vis, QObject* parent)
43 void init() { m_outlets.push_back(outlet.get()); }
45 std::unique_ptr<Process::Outlet> outlet;
47 int stepCount()
const;
48 int stepDuration()
const;
49 const ossia::float_vector& steps()
const;
54 void stepCountChanged(
int arg_1) W_SIGNAL(stepCountChanged, arg_1);
55 void stepDurationChanged(
int arg_1) W_SIGNAL(stepDurationChanged, arg_1);
56 void stepsChanged() W_SIGNAL(stepsChanged);
57 void minChanged(
double arg_1) W_SIGNAL(minChanged, arg_1);
58 void maxChanged(
double arg_1) W_SIGNAL(maxChanged, arg_1);
61 void setStepCount(
int s);
63 void setStepDuration(
int s);
64 W_SLOT(setStepDuration);
65 void setSteps(ossia::float_vector v);
67 void setMin(
double v);
69 void setMax(
double v);
73 ossia::float_vector m_steps;
75 int m_stepDuration{22000};
76 double m_min{}, m_max{};
78 W_PROPERTY(
double, max READ max WRITE setMax NOTIFY maxChanged)
80 W_PROPERTY(
double, min READ min WRITE setMin NOTIFY minChanged)
84 stepDuration READ stepDuration WRITE setStepDuration NOTIFY stepDurationChanged)
86 W_PROPERTY(
int, stepCount READ stepCount WRITE setStepCount NOTIFY stepCountChanged)