Loading...
Searching...
No Matches
SlotTransitions.hpp
1#pragma once
2
3#include <Scenario/Palette/ScenarioPaletteBaseEvents.hpp>
4
5#include <score/statemachine/StateMachineUtils.hpp>
6
7#include <score_plugin_scenario_export.h>
8class QEvent;
9namespace Scenario
10{
11class SlotState;
12} // namespace Scenario
13
14namespace Scenario
15{
16class SCORE_PLUGIN_SCENARIO_EXPORT ClickOnSlotHandle_Transition final
17 : public score::MatchedTransition<ClickOnSlotHandle_Event>
18{
19public:
21
22 Scenario::SlotState& state() const;
23
24protected:
25 void onTransition(QEvent* ev) override;
26
27private:
28 Scenario::SlotState& m_state;
29};
30class SCORE_PLUGIN_SCENARIO_EXPORT MoveOnSlotHandle_Transition final
31 : public score::MatchedTransition<MoveOnSlotHandle_Event>
32{
33public:
35
36 Scenario::SlotState& state() const;
37
38protected:
39 void onTransition(QEvent* ev) override;
40
41private:
42 Scenario::SlotState& m_state;
43};
44
45class SCORE_PLUGIN_SCENARIO_EXPORT ReleaseOnSlotHandle_Transition final
46 : public score::MatchedTransition<ReleaseOnSlotHandle_Event>
47{
48public:
50
51 Scenario::SlotState& state() const;
52
53protected:
54 void onTransition(QEvent* ev) override;
55
56private:
57 Scenario::SlotState& m_state;
58};
59}
Definition SlotTransitions.hpp:18
Definition SlotTransitions.hpp:32
Definition SlotTransitions.hpp:47
Definition ScenarioPaletteBaseStates.hpp:60
Definition StateMachineUtils.hpp:60
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13