DefaultClock.hpp
1 #pragma once
2 #include <Execution/Clock/ClockFactory.hpp>
3 
4 #include <ossia/editor/scenario/clock.hpp>
5 #include <ossia/editor/scenario/time_interval.hpp>
6 namespace Scenario
7 {
8 class IntervalModel;
9 }
10 namespace Execution
11 {
12 class BaseScenarioElement;
13 class SCORE_PLUGIN_ENGINE_EXPORT DefaultClock
14 {
15 public:
16  DefaultClock(const Context& ctx);
17  ~DefaultClock();
18 
19  void prepareExecution(const TimeVal& t, BaseScenarioElement& bs);
20 
21  void play(const TimeVal& t, BaseScenarioElement&);
22  void pause(BaseScenarioElement&);
23  void resume(BaseScenarioElement&);
24  void stop(BaseScenarioElement&);
25 
26 private:
27  const Context& context;
28 };
29 }
Definition: BaseScenarioComponent.hpp:83
Definition: DefaultClock.hpp:14
Components used for the execution of a score.
Definition: ProcessComponent.cpp:12
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ExecutionContext.hpp:75
Definition: TimeValue.hpp:21