Scenario::Command::AddSlotToRack Class Referencefinal

The AddSlotToRack class. More...

Inheritance diagram for Scenario::Command::AddSlotToRack:
score::Command

Detailed Description

The AddSlotToRack class.

Adds an empty slot at the end of a Rack.

Public Member Functions

 AddSlotToRack (const Path< IntervalModel > &rackPath)
 
 AddSlotToRack (const Path< IntervalModel > &rackPath, Slot &&slot)
 
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: