Scenario::Command::MoveEvent< DisplacementPolicy > Class Template Referencefinal
Inheritance diagram for Scenario::Command::MoveEvent< DisplacementPolicy >:
Detailed Description
template<class 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. More... | |
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
The documentation for this class was generated from the following file: