3 #include "MoveEventFactoryInterface.hpp"
5 #include <Process/ExpandMode.hpp>
6 #include <Process/TimeValue.hpp>
8 #include <Scenario/Commands/Scenario/Displacement/SerializableMoveEvent.hpp>
9 #include <Scenario/Commands/ScenarioCommandFactory.hpp>
11 #include <score/command/AggregateCommand.hpp>
12 #include <score/model/Identifier.hpp>
13 #include <score/model/path/Path.hpp>
25 SCORE_COMMAND_DECL(CommandFactoryName(),
MoveEventMeta,
"Move an event")
30 TimeVal newDate,
double y, ExpandMode mode, LockMode lock);
44 const TimeVal& newDate,
double y, ExpandMode mode, LockMode lock)
override;
47 const TimeVal& newDate,
double y, ExpandMode mode, LockMode lock,
59 std::optional<Id<StateModel>> m_stateId;
60 ExpandMode m_expand{};
65 std::unique_ptr<SerializableMoveEvent> m_moveEventImplementation{};
75 TimeVal newDate,
double y, ExpandMode mode, LockMode lock);
90 double y, ExpandMode mode, LockMode)
override;
95 update(s, eventId, newDate, y, mode, LockMode::Free);
106 std::unique_ptr<SerializableMoveEvent> m_moveEventImplementation{};
116 SCORE_COMMAND_DECL(CommandFactoryName(),
MoveStateMacro,
"Move a state")
Definition: MoveEventMeta.hpp:110
Definition: MoveEventMeta.hpp:115
Definition: SerializableMoveEvent.hpp:20
The core hierarchical and temporal process of score.
Definition: ScenarioModel.hpp:37
The id_base_t class.
Definition: Identifier.hpp:57
Allows for grouping of multiple commands in a single one.
Definition: AggregateCommand.hpp:15
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: DataStreamHelpers.hpp:103
Definition: TimeValue.hpp:21
Definition: DocumentContext.hpp:18