2#include <Scenario/Application/Menus/ScenarioCopy.hpp>
3#include <Scenario/Commands/Event/SetCondition.hpp>
4#include <Scenario/Commands/Scenario/Deletions/RemoveSelection.hpp>
5#include <Scenario/Commands/TimeSync/RemoveTrigger.hpp>
6#include <Scenario/Process/ScenarioModel.hpp>
8#include <score/command/Dispatchers/MacroCommandDispatcher.hpp>
27 macro.submit(
new RemoveTrigger<Scenario::ProcessModel>{*ts});
63 CategorisedScenario cat{sel};
64 for(
auto ts : cat.selectedTimeSyncs)
66 if(ts->events().size() > 1)
68 auto cmd =
new SplitWholeSync{*ts};
72 for(
auto ev : cat.selectedEvents)
74 if(ev->states().size() > 1)
76 auto cmd =
new SplitWholeEvent{*ev};
82 for(
auto itv : cat.selectedIntervals)
84 for(
auto st : cat.selectedStates)
88 macro.submit(
new RemoveSelection{scenar, sel});
Definition EventModel.hpp:36
The core hierarchical and temporal process of score.
Definition ScenarioModel.hpp:37
Definition TimeSyncModel.hpp:34
Definition Selection.hpp:12
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13