PlayFromIntervalInScenario.hpp
1 #pragma once
2 #include <Process/TimeValue.hpp>
3 
4 #include <Scenario/Document/Graph.hpp>
5 
6 #include <ossia/detail/hash_map.hpp>
7 
8 namespace Execution
9 {
10 struct Context;
11 class BaseScenarioElement;
16 {
17  const Scenario::ScenarioInterface& scenar;
18  Scenario::IntervalModel& interval;
19  TimeVal time;
20 
21  ossia::hash_set<Scenario::IntervalModel*> intervalsToKeep() const;
22 
23  bool toRemove(
24  const ossia::hash_set<Scenario::IntervalModel*>& toKeep,
25  Scenario::IntervalModel& cst) const;
26 
27  void operator()(const Context& exec_ctx, const BaseScenarioElement& bs);
28 };
29 }
Definition: BaseScenarioComponent.hpp:83
Definition: IntervalModel.hpp:50
Definition: ScenarioInterface.hpp:20
Components used for the execution of a score.
Definition: ProcessComponent.cpp:12
Definition: ExecutionContext.hpp:76
Sets the execution engine to play only the required parts.
Definition: PlayFromIntervalInScenario.hpp:16
Definition: TimeValue.hpp:21