Scenario::Command::SetMinDuration Class Referencefinal

The SetMinDuration class. More...

Inheritance diagram for Scenario::Command::SetMinDuration:
score::Command

Detailed Description

The SetMinDuration class.

Sets the Min duration of a Interval

Public Member Functions

 SetMinDuration (const IntervalModel &cst, TimeVal newval, bool isMinNull)
 
void update (const IntervalModel &cst, TimeVal newval, bool isMinNull)
 
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
 

Static Public Attributes

static constexpr const auto corresponding_member = &IntervalDurations::minDuration
 

Protected Member Functions

void serializeImpl (DataStreamInput &s) const override
 
void deserializeImpl (DataStreamOutput &s) override
 

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