Execution/ScenarioExecution.hpp
1 #pragma once
2 #include <Scenario/Palette/ScenarioPoint.hpp>
3 #include <Scenario/Process/ScenarioModel.hpp>
4 
5 #include <score/model/Identifier.hpp>
6 
7 #include <QObject>
8 
9 #include <score_plugin_scenario_export.h>
10 
11 #include <verdigris>
12 namespace Scenario
13 {
14 class ScenarioInterface;
15 class ProcessModel;
16 class StateModel;
17 class IntervalModel;
18 
24 class SCORE_PLUGIN_SCENARIO_EXPORT ScenarioExecution : public QObject
25 {
26  W_OBJECT(ScenarioExecution)
27 public:
31  void playState(const ScenarioInterface* arg_1, Id<StateModel> arg_2)
32  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, playState, arg_1, arg_2)
33 
34 
35  void playInterval(IntervalModel* arg_1)
36  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, playInterval, arg_1)
37  void stopInterval(IntervalModel* arg_1)
38  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, stopInterval, arg_1)
39 
46  void playFromIntervalAtDate(
47  const ScenarioInterface* arg_1, Id<IntervalModel> arg_2, const TimeVal& arg_3)
48  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, playFromIntervalAtDate, arg_1, arg_2, arg_3)
49 
51  void playAtDate(const TimeVal& arg_1)
52  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, playAtDate, arg_1)
53 
54  void transport(const TimeVal& arg_1)
55  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, transport, arg_1)
56 
58  void startRecording(ProcessModel* arg_1, Point arg_2)
59  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startRecording, arg_1, arg_2)
60 
62  void startRecordingMessages(ProcessModel* arg_1, Point arg_2)
63  E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, startRecordingMessages, arg_1, arg_2)
64 
65  void stopRecording() E_SIGNAL(SCORE_PLUGIN_SCENARIO_EXPORT, stopRecording)
66 };
67 }
Definition: IntervalModel.hpp:50
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
API for the various elements that we can execute.
Definition: Execution/ScenarioExecution.hpp:25
void playState(const ScenarioInterface *arg_1, Id< StateModel > arg_2)
Play a single state.
Definition: ScenarioInterface.hpp:20
The id_base_t class.
Definition: Identifier.hpp:57
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: ScenarioPoint.hpp:13
Definition: TimeValue.hpp:21