Loading...
Searching...
No Matches
Scenario::Command::CreateState Class Referencefinal
Inheritance diagram for Scenario::Command::CreateState:
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 CommandGroupKey & | parentKey () const noexcept=0 |
| virtual const CommandKey & | key () 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()
|
overrideprotectedvirtual |
Implements score::Command.
◆ redo()
|
overridevirtual |
Implements score::Command.
◆ serializeImpl()
|
overrideprotectedvirtual |
Implements score::Command.
◆ undo()
|
overridevirtual |
Implements score::Command.
The documentation for this class was generated from the following files:
- CreateState.hpp
- CreateState.cpp
Public Member Functions inherited from