Scenario::Command::ReplaceState Class Reference
Inheritance diagram for Scenario::Command::ReplaceState:
Scenario::Command::ReplaceStateBase score::Command Scenario::Command::AddMessagesToState

Public Member Functions

 ReplaceState (const Scenario::StateModel &state, const Process::MessageNode &oldnode, const Process::MessageNode &newnode, const State::MessageList &messages)
 
 ReplaceState (const Scenario::StateModel &state, const State::MessageList &messages)
 
- Public Member Functions inherited from Scenario::Command::ReplaceStateBase
void undo (const score::DocumentContext &ctx) const override
 
void redo (const score::DocumentContext &ctx) const override
 
void serializeImpl (DataStreamInput &) const override
 
void deserializeImpl (DataStreamOutput &) 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
 

Additional Inherited Members

- Protected Member Functions inherited from Scenario::Command::ReplaceStateBase
void updateProcessMessages (const Scenario::StateModel &state, const State::MessageList &messages)
 
- Protected Attributes inherited from Scenario::Command::ReplaceStateBase
Path< StateModelm_path
 
Process::MessageNode m_oldState
 
Process::MessageNode m_newState
 
ossia::flat_map< Id< Process::ProcessModel >, State::MessageList > m_previousBackup
 
ossia::flat_map< Id< Process::ProcessModel >, State::MessageList > m_followingBackup
 

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