2 #include <Scenario/Commands/MoveBaseEvent.hpp>
3 #include <Scenario/Document/BaseScenario/BaseScenario.hpp>
4 #include <Scenario/Palette/Tools/SmartTool.hpp>
5 #include <Scenario/Palette/Tools/States/MoveAndMergeState.hpp>
6 #include <Scenario/Palette/Tools/States/MoveStates.hpp>
7 #include <Scenario/Palette/Transitions/EventTransitions.hpp>
8 #include <Scenario/Palette/Transitions/IntervalTransitions.hpp>
9 #include <Scenario/Palette/Transitions/StateTransitions.hpp>
10 #include <Scenario/Palette/Transitions/TimeSyncTransitions.hpp>
17 template <
typename Scenario_T,
typename ToolPalette_T>
18 static auto make(
const ToolPalette_T& palette, QState* waitState, QState& sm)
28 template <
typename Scenario_T,
typename ToolPalette_T>
29 static auto make(
const ToolPalette_T& palette, QState* waitState, QState& sm)
34 palette, palette.model(), palette.context().context.commandStack,
35 palette.context().context.objectLocker, &sm};
37 score::make_transition<Scenario::ClickOnEndState_Transition<Scenario_T>>(
38 waitState, moveEvent, *moveEvent);
40 score::make_transition<Scenario::ClickOnEndEvent_Transition<Scenario_T>>(
41 waitState, moveEvent, *moveEvent);
42 moveEvent->addTransition(moveEvent, finishedState(), waitState);
50 template <
typename Scenario_T,
typename ToolPalette_T>
51 static auto make(
const ToolPalette_T& palette, QState* waitState, QState& sm)
56 palette, palette.model(), palette.context().context.commandStack,
57 palette.context().context.objectLocker, &sm};
59 score::make_transition<Scenario::ClickOnEndTimeSync_Transition<Scenario_T>>(
60 waitState, moveTimeSync, *moveTimeSync);
61 moveTimeSync->addTransition(moveTimeSync, finishedState(), waitState);
Definition: MoveBaseEvent.hpp:30
Definition: BaseScenarioDisplayedElements_StateWrappers.hpp:15
Definition: BaseScenarioDisplayedElements_StateWrappers.hpp:26
static auto make(const ToolPalette_T &palette, QState *waitState, QState &sm)
Definition: BaseScenarioDisplayedElements_StateWrappers.hpp:29
Definition: MoveAndMergeState.hpp:95
Definition: BaseScenarioDisplayedElements_StateWrappers.hpp:48
static auto make(const ToolPalette_T &palette, QState *waitState, QState &sm)
Definition: BaseScenarioDisplayedElements_StateWrappers.hpp:51
Definition: MoveStates.hpp:116
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14