comparison base/PlayParameters.h @ 1742:52705a328b34 by-id

Rejig ById so as to put everything in a single pool, so that at the core you can go from numeric id (untyped) to anything the object can be dynamic_cast to. Useful for building other abstractions like PlayParameter-type registrations that don't know about e.g. Models. Probably some more tweaking needed. Also add tests
author Chris Cannam
date Fri, 28 Jun 2019 17:36:30 +0100
parents c01cbe41aeb5
children
comparison
equal deleted inserted replaced
1741:9d82b164f264 1742:52705a328b34
35 virtual QString getPlayClipId() const { return m_playClipId; } 35 virtual QString getPlayClipId() const { return m_playClipId; }
36 36
37 virtual void copyFrom(const PlayParameters *); 37 virtual void copyFrom(const PlayParameters *);
38 38
39 void toXml(QTextStream &stream, 39 void toXml(QTextStream &stream,
40 QString indent = "", 40 QString indent = "",
41 QString extraAttributes = "") const override; 41 QString extraAttributes = "") const override;
42 42
43 public slots: 43 public slots:
44 virtual void setPlayMuted(bool muted); 44 virtual void setPlayMuted(bool muted);
45 virtual void setPlayAudible(bool nonMuted); 45 virtual void setPlayAudible(bool nonMuted);
46 virtual void setPlayPan(float pan); 46 virtual void setPlayPan(float pan);