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

Public Member Functions

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
 

Protected Member Functions

void updateProcessMessages (const Scenario::StateModel &state, const State::MessageList &messages)
 

Protected Attributes

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: