LMMS
Loading...
Searching...
No Matches
lmms::ControllerConnection Class Reference

#include <ControllerConnection.h>

Inheritance diagram for lmms::ControllerConnection:
lmms::JournallingObject lmms::SerializingObject

Public Slots

void deleteConnection ()

Signals

void valueChanged ()

Public Member Functions

 ControllerConnection (Controller *_controller)
 ControllerConnection (int _controllerId)
 ~ControllerConnection () override
ControllergetController ()
void setController (Controller *_controller)
void setController (int _controllerId)
float currentValue (int _offset)
ValueBuffervalueBuffer ()
void setTargetName (const QString &_name)
QString targetName () const
bool isFinalized ()
void saveSettings (QDomDocument &_doc, QDomElement &_this) override
void loadSettings (const QDomElement &_this) override
QString nodeName () const override
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)
SerializingObjectHookhook ()

Static Public Member Functions

static void finalizeConnections ()
static const QString classNodeName ()

Protected Attributes

Controllerm_controller
QString m_targetName
int m_controllerId
bool m_ownsController

Static Protected Attributes

static ControllerConnectionVector s_connections

Friends

class gui::ControllerConnectionDialog

Additional Inherited Members

Protected Member Functions inherited from lmms::JournallingObject
void changeID (jo_id_t _id)

Constructor & Destructor Documentation

◆ ControllerConnection() [1/2]

lmms::ControllerConnection::ControllerConnection ( Controller * _controller)

◆ ControllerConnection() [2/2]

lmms::ControllerConnection::ControllerConnection ( int _controllerId)

◆ ~ControllerConnection()

lmms::ControllerConnection::~ControllerConnection ( )
override

Member Function Documentation

◆ classNodeName()

const QString lmms::ControllerConnection::classNodeName ( )
inlinestatic

◆ currentValue()

float lmms::ControllerConnection::currentValue ( int _offset)
inline

◆ deleteConnection

void lmms::ControllerConnection::deleteConnection ( )
slot

◆ finalizeConnections()

void lmms::ControllerConnection::finalizeConnections ( )
static

◆ getController()

Controller * lmms::ControllerConnection::getController ( )
inline

◆ isFinalized()

bool lmms::ControllerConnection::isFinalized ( )
inline

◆ loadSettings()

void lmms::ControllerConnection::loadSettings ( const QDomElement & _this)
overridevirtual

◆ nodeName()

QString lmms::ControllerConnection::nodeName ( void ) const
inlineoverridevirtual

◆ saveSettings()

void lmms::ControllerConnection::saveSettings ( QDomDocument & _doc,
QDomElement & _this )
overridevirtual

◆ setController() [1/2]

void lmms::ControllerConnection::setController ( Controller * _controller)

◆ setController() [2/2]

void lmms::ControllerConnection::setController ( int _controllerId)
inline

◆ setTargetName()

void lmms::ControllerConnection::setTargetName ( const QString & _name)
inline

◆ targetName()

QString lmms::ControllerConnection::targetName ( ) const
inline

◆ valueBuffer()

ValueBuffer * lmms::ControllerConnection::valueBuffer ( )
inline

◆ valueChanged

void lmms::ControllerConnection::valueChanged ( )
signal

◆ gui::ControllerConnectionDialog

friend class gui::ControllerConnectionDialog
friend

Member Data Documentation

◆ m_controller

Controller* lmms::ControllerConnection::m_controller
protected

◆ m_controllerId

int lmms::ControllerConnection::m_controllerId
protected

◆ m_ownsController

bool lmms::ControllerConnection::m_ownsController
protected

◆ m_targetName

QString lmms::ControllerConnection::m_targetName
protected

◆ s_connections

ControllerConnectionVector lmms::ControllerConnection::s_connections
staticprotected

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