40 SCORE_SERIALIZE_FRIENDS
45 std::unique_ptr<Process::AudioInlet> inlet;
46 std::unique_ptr<Process::AudioOutlet> outlet;
51 template <
typename Impl>
62 bool hasCycles()
const noexcept;
71 return intervals.map().as_indirect_vec();
76 return states.map().as_indirect_vec();
81 return events.map().as_indirect_vec();
86 return timeSyncs.map().as_indirect_vec();
91 if(
auto it = intervals.map().m_map.find(
id); it != intervals.map().m_map.end())
99 if(
auto it = events.map().m_map.find(
id); it != events.map().m_map.end())
107 if(
auto it = timeSyncs.map().m_map.find(
id); it != timeSyncs.map().m_map.end())
115 if(
auto it = states.map().m_map.find(
id); it != states.map().m_map.end())
124 return intervals.at(intervalId);
128 return events.at(eventId);
132 return timeSyncs.at(timeSyncId);
136 return states.at(stId);
140 return comments.at(cmtId);
143 TimeSyncModel& startTimeSync()
const {
return timeSyncs.at(m_startTimeSyncId); }
145 EventModel& startEvent()
const {
return events.at(m_startEventId); }
154 E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, intervalMoved, arg_1)
156 void locked() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, locked)
157 void unlocked() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, unlocked)
159 void lock() { locked(); };
161 void unlock() { unlocked(); };
165 void setDurationAndScale(
const TimeVal& newDuration)
noexcept override;
166 void setDurationAndGrow(
const TimeVal& newDuration)
noexcept override;
167 void setDurationAndShrink(
const TimeVal& newDuration)
noexcept override;
169 void ancestorStartDateChanged()
override;
170 void ancestorTempoChanged()
override;
172 Selection selectableChildren()
const noexcept override;
173 Selection selectedChildren()
const noexcept override;
175 INLINE_PROPERTY_VALUE(
176 bool, exclusive, =
false, exclusive, setExclusive, exclusiveChanged)
182 void setSelection(
const Selection& s)
const noexcept override;
183 bool event(QEvent* e)
override {
return QObject::event(e); }
185 TimeVal contentDuration()
const noexcept override;
187 template <
typename Fun>
188 void apply(Fun fun)
const
190 fun(&ProcessModel::intervals);
191 fun(&ProcessModel::states);
192 fun(&ProcessModel::events);
193 fun(&ProcessModel::timeSyncs);
194 fun(&ProcessModel::comments);
204 std::unique_ptr<TimenodeGraph> m_graph;
Definition DocumentContext.hpp:18