|
lmms
Cross-platform music production software
|
#include <Controller.h>
Public Types | |
| enum class | ControllerType { Dummy , Lfo , Midi , Peak } |
Public Slots | |
| virtual gui::ControllerDialog * | createDialog (QWidget *_parent) |
| virtual void | setName (const QString &_new_name) |
Signals | |
| void | valueChanged () |
| Signals inherited from lmms::Model | |
| void | dataChanged () |
| void | dataUnchanged () |
| void | propertiesChanged () |
Public Member Functions | |
| Controller (ControllerType _type, Model *_parent, const QString &_display_name) | |
| ~Controller () override | |
| virtual float | currentValue (int _offset) |
| virtual ValueBuffer * | valueBuffer () |
| bool | isSampleExact () const |
| void | setSampleExact (bool _exact) |
| ControllerType | type () const |
| bool | frequentUpdates () const |
| virtual const QString & | name () const |
| void | saveSettings (QDomDocument &_doc, QDomElement &_this) override |
| void | loadSettings (const QDomElement &_this) override |
| QString | nodeName () const override |
| void | addConnection (ControllerConnection *) |
| void | removeConnection (ControllerConnection *) |
| int | connectionCount () const |
| bool | hasModel (const Model *m) const |
| Public Member Functions inherited from lmms::Model | |
| Model (Model *parent, QString displayName=QString(), bool defaultConstructed=false) | |
| ~Model () override=default | |
| bool | isDefaultConstructed () const |
| Model * | parentModel () const |
| virtual QString | displayName () const |
| virtual void | setDisplayName (const QString &displayName) |
| virtual QString | fullDisplayName () const |
| Public Member Functions inherited from lmms::JournallingObject | |
| JournallingObject () | |
| ~JournallingObject () override | |
| jo_id_t | id () const |
| void | saveJournallingState (const bool newState) |
| void | restoreJournallingState () |
| void | addJournalCheckPoint () |
| QDomElement | saveState (QDomDocument &_doc, QDomElement &_parent) override |
| void | restoreState (const QDomElement &_this) override |
| bool | isJournalling () const |
| void | setJournalling (const bool _sr) |
| bool | testAndSetJournalling (const bool newState) |
| bool | isJournallingStateStackEmpty () const |
| Public Member Functions inherited from lmms::SerializingObject | |
| SerializingObject () | |
| virtual | ~SerializingObject () |
| void | setHook (SerializingObjectHook *_hook) |
| SerializingObjectHook * | hook () |
Static Public Member Functions | |
| static Controller * | create (ControllerType _tt, Model *_parent) |
| static Controller * | create (const QDomElement &_this, Model *_parent) |
| static float | fittedValue (float _val) |
| static long | runningPeriods () |
| static unsigned int | runningFrames () |
| static float | runningTime () |
| static void | triggerFrameCounter () |
| static void | resetFrameCounter () |
Protected Member Functions | |
| virtual float | value (int _offset) |
| virtual void | updateValueBuffer () |
| Protected Member Functions inherited from lmms::JournallingObject | |
| void | changeID (jo_id_t _id) |
Protected Attributes | |
| ValueBuffer | m_valueBuffer |
| long | m_bufferLastUpdated |
| float | m_currentValue |
| bool | m_sampleExact |
| int | m_connectionCount |
| QString | m_name |
| ControllerType | m_type |
Static Protected Attributes | |
| static ControllerVector | s_controllers |
| static long | s_periods = 0 |
Friends | |
| class | gui::ControllerDialog |
|
strong |
| lmms::Controller::Controller | ( | ControllerType | _type, |
| Model * | _parent, | ||
| const QString & | _display_name ) |
|
override |
| void lmms::Controller::addConnection | ( | ControllerConnection * | ) |
| int lmms::Controller::connectionCount | ( | ) | const |
|
static |
|
static |
|
virtualslot |
|
virtual |
|
inlinestatic |
|
inline |
| bool lmms::Controller::hasModel | ( | const Model * | m | ) | const |
|
inline |
|
overridevirtual |
Implements lmms::SerializingObject.
Reimplemented in lmms::LfoController, lmms::MidiController, and lmms::PeakController.
|
inlinevirtual |
|
overridevirtual |
Implements lmms::SerializingObject.
Reimplemented in lmms::LfoController, lmms::MidiController, and lmms::PeakController.
| void lmms::Controller::removeConnection | ( | ControllerConnection * | ) |
|
static |
|
static |
|
inlinestatic |
|
static |
|
overridevirtual |
Implements lmms::SerializingObject.
Reimplemented in lmms::LfoController, lmms::MidiController, and lmms::PeakController.
|
inlinevirtualslot |
|
inline |
|
static |
|
inline |
|
protectedvirtual |
Reimplemented in lmms::LfoController, lmms::MidiController, and lmms::PeakController.
|
protectedvirtual |
|
virtual |
|
signal |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |