Scenario::Command::CreateState Class Referencefinal
Inheritance diagram for Scenario::Command::CreateState:
score::Command

Public Member Functions

 CreateState (const Scenario::ProcessModel &scenario, Id< EventModel > event, double stateY)
 
 CreateState (const Scenario::ProcessModel &scenario, Id< StateModel > newId, Id< EventModel > event, double stateY)
 
const Path< Scenario::ProcessModel > & scenarioPath () const
 
const double & endStateY () const
 
const Id< StateModel > & createdState () const
 
void undo (const score::DocumentContext &ctx) const override
 
void redo (const score::DocumentContext &ctx) const override
 
- 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
 

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