Loading...
Searching...
No Matches
Scenario::Command::MoveEvent< DisplacementPolicy > Class Template Referencefinal
Inheritance diagram for Scenario::Command::MoveEvent< DisplacementPolicy >:
Detailed Description
template<class DisplacementPolicy>
class Scenario::Command::MoveEvent< DisplacementPolicy >
class Scenario::Command::MoveEvent< DisplacementPolicy >
This class use the new Displacement policy class
Public Member Functions | |
const CommandGroupKey & | parentKey () const noexcept override |
const CommandKey & | key () const noexcept override |
QString | description () const override |
MoveEvent (const Scenario::ProcessModel &scenario, const Id< EventModel > &eventId, const TimeVal &newDate, ExpandMode mode, LockMode lock) | |
MoveEvent. | |
void | update (Scenario::ProcessModel &scenario, const Id< EventModel > &eventId, const TimeVal &newDate, double, ExpandMode, LockMode) override |
void | undo (const score::DocumentContext &ctx) const override |
void | redo (const score::DocumentContext &ctx) const override |
const Path< Scenario::ProcessModel > & | path () const override |
Public Member Functions inherited from score::Command | |
QByteArray | serialize () const |
void | deserialize (const QByteArray &) |
Protected Member Functions | |
void | serializeImpl (DataStreamInput &s) const override |
void | deserializeImpl (DataStreamOutput &s) override |
Constructor & Destructor Documentation
◆ MoveEvent()
template<class DisplacementPolicy >
|
inline |
- Parameters
-
scenarioPath eventId newDate !!! in the future it would be better to give directly the delta time of the mouse displacement !!! mode
Member Function Documentation
◆ description()
template<class DisplacementPolicy >
|
inlineoverridevirtual |
Implements score::Command.
◆ deserializeImpl()
template<class DisplacementPolicy >
|
inlineoverrideprotectedvirtual |
Implements score::Command.
◆ key()
template<class DisplacementPolicy >
|
inlineoverridevirtualnoexcept |
Implements score::Command.
◆ parentKey()
template<class DisplacementPolicy >
|
inlineoverridevirtualnoexcept |
Implements score::Command.
◆ path()
template<class DisplacementPolicy >
|
inlineoverridevirtual |
Implements Scenario::Command::SerializableMoveEvent.
◆ redo()
template<class DisplacementPolicy >
|
inlineoverridevirtual |
Implements score::Command.
◆ serializeImpl()
template<class DisplacementPolicy >
|
inlineoverrideprotectedvirtual |
Implements score::Command.
◆ undo()
template<class DisplacementPolicy >
|
inlineoverridevirtual |
Implements score::Command.
◆ update()
template<class DisplacementPolicy >
|
inlineoverridevirtual |
Implements Scenario::Command::SerializableMoveEvent.
The documentation for this class was generated from the following file: