Scenario::Command::SetMaxDuration Class Referencefinal

The SetMaxDuration class. More...

Inheritance diagram for Scenario::Command::SetMaxDuration:
score::Command

Detailed Description

The SetMaxDuration class.

Sets the Max duration of a Interval

Public Member Functions

 SetMaxDuration (const IntervalModel &cst, TimeVal newval, bool isInfinite)
 
void update (const IntervalModel &cst, const TimeVal &newval, bool isInfinite)
 
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::maxDuration
 

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: