2#include <ossia/editor/scenario/clock.hpp>
6#include <score_plugin_engine_export.h>
23class ScenarioInterface;
28class IntervalComponent;
31class TimeSyncComponent;
48 : m_interval{interval}
49 , m_startState{startState}
50 , m_endState{endState}
51 , m_startEvent{startEvent}
52 , m_endEvent{endEvent}
53 , m_startNode{startNode}
82class SCORE_PLUGIN_ENGINE_EXPORT BaseScenarioElement final :
public QObject
84 W_OBJECT(BaseScenarioElement)
86 BaseScenarioElement(
const Context&, QObject* parent);
87 ~BaseScenarioElement();
91 bool active()
const {
return bool(m_ossia_interval); }
93 IntervalComponent& baseInterval()
const;
95 TimeSyncComponent& startTimeSync()
const;
96 TimeSyncComponent& endTimeSync()
const;
98 EventComponent& startEvent()
const;
99 EventComponent& endEvent()
const;
101 StateComponent& startState()
const;
102 StateComponent& endState()
const;
104 ossia::scenario& baseScenario()
const;
107 void finished() E_SIGNAL(SCORE_PLUGIN_ENGINE_EXPORT, finished)
110 const Context& m_ctx;
111 std::shared_ptr<ossia::scenario> m_ossia_scenario;
112 std::shared_ptr<IntervalComponent> m_ossia_interval;
114 std::shared_ptr<TimeSyncComponent> m_ossia_startTimeSync;
115 std::shared_ptr<TimeSyncComponent> m_ossia_endTimeSync;
117 std::shared_ptr<EventComponent> m_ossia_startEvent;
118 std::shared_ptr<EventComponent> m_ossia_endEvent;
120 std::shared_ptr<StateComponent> m_ossia_startState;
121 std::shared_ptr<StateComponent> m_ossia_endState;
Definition BaseScenarioComponent.hpp:38
Definition EventModel.hpp:36
Definition IntervalModel.hpp:50
Definition ScenarioInterface.hpp:20
Definition StateModel.hpp:63
Definition TimeSyncModel.hpp:34
Components used for the execution of a score.
Definition ProcessComponent.cpp:12
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13