Loading...
Searching...
No Matches
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>
6namespace Scenario
7{
8class IntervalModel;
9}
10namespace Execution
11{
12class BaseScenarioElement;
13class SCORE_PLUGIN_ENGINE_EXPORT DefaultClock
14{
15public:
16 DefaultClock(const Context& ctx);
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
26private:
27 const Context& context;
28};
29}
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:13
Definition ExecutionContext.hpp:76
Definition TimeValue.hpp:21