Loading...
Searching...
No Matches
Scenario::Command::MoveEventMeta Class Referencefinal
Inheritance diagram for Scenario::Command::MoveEventMeta:
Scenario::Command::SerializableMoveEvent score::Command

Public Member Functions

 MoveEventMeta (const Scenario::ProcessModel &scenarioPath, Id< EventModel > eventId, TimeVal newDate, double y, ExpandMode mode, LockMode lock)
 
 MoveEventMeta (const Scenario::ProcessModel &scenarioPath, Id< EventModel > eventId, TimeVal newDate, double y, ExpandMode mode, LockMode lock, Id< StateModel >)
 
void undo (const score::DocumentContext &ctx) const override
 
void redo (const score::DocumentContext &ctx) const override
 
const Path< Scenario::ProcessModel > & path () const override
 
void update (Scenario::ProcessModel &scenar, const Id< EventModel > &eventId, const TimeVal &newDate, double y, ExpandMode mode, LockMode lock) override
 
void update (Scenario::ProcessModel &scenar, const Id< EventModel > &eventId, const TimeVal &newDate, double y, ExpandMode mode, LockMode lock, const Id< StateModel > &st)
 
- Public Member Functions inherited from score::Command
virtual const CommandGroupKeyparentKey () const noexcept=0
 
virtual const CommandKeykey () const noexcept=0
 
QByteArray serialize () const
 
void deserialize (const QByteArray &)
 
virtual QString description () const =0
 

Protected Member Functions

void serializeImpl (DataStreamInput &) const override
 
void deserializeImpl (DataStreamOutput &) override
 

Member Function Documentation

◆ deserializeImpl()

void Scenario::Command::MoveEventMeta::deserializeImpl ( DataStreamOutput s)
overrideprotectedvirtual

Implements score::Command.

◆ path()

const Path< Scenario::ProcessModel > & Scenario::Command::MoveEventMeta::path ( ) const
overridevirtual

◆ redo()

void Scenario::Command::MoveEventMeta::redo ( const score::DocumentContext ctx) const
overridevirtual

Implements score::Command.

◆ serializeImpl()

void Scenario::Command::MoveEventMeta::serializeImpl ( DataStreamInput s) const
overrideprotectedvirtual

Implements score::Command.

◆ undo()

void Scenario::Command::MoveEventMeta::undo ( const score::DocumentContext ctx) const
overridevirtual

Implements score::Command.

◆ update()

void Scenario::Command::MoveEventMeta::update ( Scenario::ProcessModel scenar,
const Id< EventModel > &  eventId,
const TimeVal newDate,
double  y,
ExpandMode  mode,
LockMode  lock 
)
overridevirtual

The documentation for this class was generated from the following files: