Scenario::ProcessModel Class Referencefinal

The core hierarchical and temporal process of score. More...

Inheritance diagram for Scenario::ProcessModel:
Process::ProcessModel Scenario::ScenarioInterface score::Entity< ProcessModel > score::SerializableInterface< ProcessModel > IdentifiedObject< model > IdentifiedObjectAbstract

Detailed Description

The core hierarchical and temporal process of score.

Public Member Functions

 ProcessModel (const TimeVal &duration, const Id< Process::ProcessModel > &id, const score::DocumentContext &ctx, QObject *parent)
 
template<typename Impl >
 ProcessModel (Impl &vis, const score::DocumentContext &ctx, QObject *parent)
 
const score::DocumentContextcontext () const noexcept
 
void init ()
 
bool hasCycles () const noexcept
 
score::IndirectContainer< IntervalModelgetIntervals () const final override
 
score::IndirectContainer< StateModelgetStates () const final override
 
score::IndirectContainer< EventModelgetEvents () const final override
 
score::IndirectContainer< TimeSyncModelgetTimeSyncs () const final override
 
IntervalModelfindInterval (const Id< IntervalModel > &id) const final override
 
EventModelfindEvent (const Id< EventModel > &id) const final override
 
TimeSyncModelfindTimeSync (const Id< TimeSyncModel > &id) const final override
 
StateModelfindState (const Id< StateModel > &id) const final override
 
IntervalModelinterval (const Id< IntervalModel > &intervalId) const final override
 
EventModelevent (const Id< EventModel > &eventId) const final override
 
TimeSyncModeltimeSync (const Id< TimeSyncModel > &timeSyncId) const final override
 
StateModelstate (const Id< StateModel > &stId) const final override
 
CommentBlockModelcomment (const Id< CommentBlockModel > &cmtId) const
 
TimeSyncModelstartTimeSync () const
 
EventModelstartEvent () const
 
void intervalMoved (const Scenario::IntervalModel *arg_1) const
 
void locked ()
 
void unlocked ()
 
void lock ()
 
void unlock ()
 
void setDurationAndScale (const TimeVal &newDuration) noexcept override
 
void setDurationAndGrow (const TimeVal &newDuration) noexcept override
 
void setDurationAndShrink (const TimeVal &newDuration) noexcept override
 
void ancestorStartDateChanged () override
 
void ancestorTempoChanged () override
 
Selection selectableChildren () const noexcept override
 Selection.
 
Selection selectedChildren () const noexcept override
 
bool exclusive () const noexcept
 
void setExclusive (bool m)
 
void exclusiveChanged (bool v)
 
- Public Member Functions inherited from Process::ProcessModel
 ProcessModel (TimeVal duration, const Id< ProcessModel > &id, const QString &name, QObject *parent)
 
 ProcessModel (DataStream::Deserializer &vis, QObject *parent)
 
 ProcessModel (JSONObject::Deserializer &vis, QObject *parent)
 
virtual QString effect () const noexcept
 
virtual QString prettyName () const noexcept
 
virtual QString prettyShortName () const noexcept=0
 
virtual QString category () const noexcept=0
 
virtual QStringList tags () const noexcept=0
 
virtual ProcessFlags flags () const noexcept=0
 
void setParentDuration (ExpandMode mode, const TimeVal &t) noexcept
 
void setDuration (const TimeVal &other) noexcept
 
const TimeValduration () const noexcept
 
QPointF position () const noexcept
 Nodal things.
 
QSizeF size () const noexcept
 
void setPosition (const QPointF &v)
 
void setSize (const QSizeF &v)
 
void positionChanged (QPointF p)
 
void sizeChanged (QSizeF p)
 
virtual ProcessStateDataInterfacestartStateData () const noexcept
 States. The process has ownership.
 
virtual ProcessStateDataInterfaceendStateData () const noexcept
 
double getSlotHeight () const noexcept
 
void setSlotHeight (double) noexcept
 
const Process::Inletsinlets () const noexcept
 
const Process::Outletsoutlets () const noexcept
 
Process::Inletinlet (const Id< Process::Port > &) const noexcept
 
Process::Outletoutlet (const Id< Process::Port > &) const noexcept
 
virtual std::vector< Process::PresetbuiltinPresets () const noexcept
 
virtual void forEachControl (smallfun::function< void(Process::ControlInlet &, const ossia::value &)>) const
 
virtual std::optional< Process::MagneticInfomagneticPosition (const QObject *o, const TimeVal t) const noexcept
 
bool loops () const noexcept
 
void setLoops (bool b)
 
void loopsChanged (bool b)
 
TimeVal startOffset () const noexcept
 
void setStartOffset (TimeVal b)
 
void startOffsetChanged (TimeVal b)
 
TimeVal loopDuration () const noexcept
 
void setLoopDuration (TimeVal b)
 
void loopDurationChanged (TimeVal b)
 
virtual void setCreatingControls (bool ok)
 
bool creatingControls () const noexcept
 
void creatingControlsChanged (bool b)
 
void startExecution ()
 Execution.
 
void stopExecution ()
 
void resetExecution ()
 
void durationChanged (const TimeVal &arg_1)
 
void useParentDurationChanged (bool arg_1)
 
void slotHeightChanged (double arg_1)
 
void prettyNameChanged ()
 
void inletsChanged ()
 
void outletsChanged ()
 
void controlAdded (const Id< Process::Port > &arg_1)
 
void controlRemoved (const Process::Port &arg_1)
 
void controlOutletAdded (const Id< Process::Port > &arg_1)
 
void controlOutletRemoved (const Process::Port &arg_1)
 
void benchmark (double arg_1)
 
void externalUIVisible (bool v) const
 
- Public Member Functions inherited from score::Entity< ProcessModel >
 Entity (Id< ProcessModel > id, const QString &name, QObject *parent) noexcept
 
 Entity (Visitor &&vis, QObject *parent) noexcept
 
const score::Componentscomponents () const noexcept
 
score::Componentscomponents () noexcept
 
const score::ModelMetadatametadata () const noexcept
 
score::ModelMetadatametadata () noexcept
 
- Public Member Functions inherited from IdentifiedObject< model >
 IdentifiedObject (id_type id, const QString &name, QObject *parent) noexcept
 
template<typename Visitor >
 IdentifiedObject (Visitor &&v, QObject *parent) noexcept
 
const id_typeid () const noexcept
 
int32_t id_val () const noexcept final override
 
void setId (const id_type &id) noexcept
 
void setId (id_type &&id) noexcept
 
void resetCache () const noexcept override
 
- Public Member Functions inherited from IdentifiedObjectAbstract
void identified_object_destroying (IdentifiedObjectAbstract *o)
 To be called by subclasses.
 
void identified_object_destroyed (IdentifiedObjectAbstract *o)
 Will be called in the IdentifiedObjectAbstract destructor.
 
- Public Member Functions inherited from score::SerializableInterface< ProcessModel >
virtual UuidKey< ProcessModel > concreteKey () const noexcept=0
 
virtual void serialize_impl (const VisitorVariant &vis) const
 

Public Attributes

std::unique_ptr< Process::AudioInletinlet
 
std::unique_ptr< Process::AudioOutletoutlet
 
score::EntityMap< IntervalModelintervals
 
score::EntityMap< EventModelevents
 
score::EntityMap< TimeSyncModeltimeSyncs
 
score::EntityMap< StateModelstates
 
score::EntityMap< CommentBlockModelcomments
 
- Public Attributes inherited from Process::ProcessModel
Selectable selection {this}
 
QWidget * externalUI {}
 
- Public Attributes inherited from IdentifiedObject< model >
Path< model > m_path_cache
 

Friends

class ScenarioTemporalLayerFactory
 

Additional Inherited Members

- Public Types inherited from score::Entity< ProcessModel >
using entity_type = Entity< ProcessModel >
 
- Public Types inherited from IdentifiedObject< model >
using model_type = model
 
using id_type = Id< model >
 
using object_type = IdentifiedObject< model >
 
- Public Types inherited from score::SerializableInterface< ProcessModel >
using key_type = UuidKey< ProcessModel >
 
using is_abstract_base_tag = std::integral_constant< bool, true >
 
- Static Public Attributes inherited from score::Entity< ProcessModel >
static constexpr const bool entity_tag
 
- Static Public Attributes inherited from IdentifiedObject< model >
static constexpr const bool identified_object_tag = true
 
- Protected Member Functions inherited from IdentifiedObjectAbstract
 IdentifiedObjectAbstract (const QString &name, QObject *parent) noexcept
 
- Protected Attributes inherited from Process::ProcessModel
Process::Inlets m_inlets
 
Process::Outlets m_outlets
 

The documentation for this class was generated from the following files: