hydrogen 1.2.5
LadspaFXMixerLine Class Reference

#include <MixerLine.h>

Inheritance diagram for LadspaFXMixerLine:
PixmapWidget Object< LadspaFXMixerLine > Object< PixmapWidget > Base Base

Public Slots

void bypassBtnClicked ()
void editBtnClicked ()
void rotaryChanged (WidgetWithInput *ref)

Signals

void bypassBtnClicked (LadspaFXMixerLine *ref)
void editBtnClicked (LadspaFXMixerLine *ref)
void volumeChanged (LadspaFXMixerLine *ref)

Public Member Functions

 LadspaFXMixerLine (QWidget *parent)
 ~LadspaFXMixerLine ()
void getPeaks (float *fPeak_L, float *fPeak_R)
float getVolume ()
bool isFxBypassed ()
void setFxBypassed (bool active)
void setName (QString name)
void setPeaks (float fPeak_L, float fPeak_R)
void setVolume (float value)
Public Member Functions inherited from PixmapWidget
 PixmapWidget (QWidget *pParent)
 ~PixmapWidget ()
void setColor (const QColor &color)
void setPixmap (QString sPixmapPath, bool expand_horiz=false)
Public Member Functions inherited from Object< PixmapWidget >
 Object ()
Public Member Functions inherited from Base
 Base ()
 Base (const Base &other)
virtual const char * class_name () const
void logBacktrace () const
 Print the current stack at point into the debug log.
void Print (bool bShort=true) const
 Prints content of toQString() via DEBUGLOG.
virtual QString toQString (const QString &sPrefix="", bool bShort=true) const
 Formatted string version for debugging purposes.
Public Member Functions inherited from Object< LadspaFXMixerLine >
 Object ()

Private Attributes

float m_fMaxPeak
Buttonm_pBypassBtn
Buttonm_pEditBtn
LCDDisplaym_pNameLCD
ClickableLabelm_pReturnLbl
Rotarym_pRotary

Additional Inherited Members

Static Public Member Functions inherited from Base
static const char * _class_name ()
 return the class name
static QString base_clock (const QString &sMsg)
 Measures the current time and stores it in __last_clock.
static QString base_clock_in (const QString &sMsg)
static int bootstrap (Logger *logger, bool count=false)
 must be called before any Object instantiation !
static bool count_active ()
static int getAliveObjectCount ()
static object_map_t getObjectMap ()
static Loggerlogger ()
 return the logger instance
static int objects_count ()
static void printObjectMapDiff (object_map_t map)
 Creates the difference between a snapshot of the object map and its current state and prints it to std::cout.
static void set_count (bool flag)
 enable/disable class instances counting
static void write_objects_map_to (std::ostream &out, object_map_t *map=nullptr)
 output the full objects map to a given ostream
static void write_objects_map_to_cerr ()
 output objects map to stderr
Static Public Attributes inherited from Base
static QString sPrintIndention = " "
 String used to format the debugging string output of some core classes.
Protected Member Functions inherited from PixmapWidget
virtual void paintEvent (QPaintEvent *ev) override
Protected Member Functions inherited from Object< PixmapWidget >
 ~Object ()
Protected Member Functions inherited from Base
 ~Base ()
Protected Member Functions inherited from Object< LadspaFXMixerLine >
 ~Object ()
Static Protected Member Functions inherited from Base
static void registerClass (const char *name, const atomic_obj_cpt_t *counters)
Protected Attributes inherited from PixmapWidget
QColor __color
bool __expand_horiz
QPixmap m_pixmap
QString m_sPixmapPath
Static Protected Attributes inherited from Base
static bool __count = false
 should we count class instances
static timeval __last_clock = { 0, 0 }
static Logger__logger = nullptr
static bool bLogColors = true

Detailed Description

Definition at line 295 of file MixerLine.h.

Constructor & Destructor Documentation

◆ LadspaFXMixerLine()

LadspaFXMixerLine ( QWidget * parent)
explicit

Definition at line 889 of file MixerLine.cpp.

◆ ~LadspaFXMixerLine()

Definition at line 931 of file MixerLine.cpp.

Member Function Documentation

◆ bypassBtnClicked [1/2]

void bypassBtnClicked ( )
slot

Definition at line 942 of file MixerLine.cpp.

◆ bypassBtnClicked [2/2]

void bypassBtnClicked ( LadspaFXMixerLine * ref)
signal

◆ editBtnClicked [1/2]

void editBtnClicked ( )
slot

Definition at line 945 of file MixerLine.cpp.

◆ editBtnClicked [2/2]

void editBtnClicked ( LadspaFXMixerLine * ref)
signal

◆ getPeaks()

void getPeaks ( float * fPeak_L,
float * fPeak_R )

Definition at line 975 of file MixerLine.cpp.

◆ getVolume()

float getVolume ( )

Definition at line 981 of file MixerLine.cpp.

◆ isFxBypassed()

bool isFxBypassed ( )

Definition at line 949 of file MixerLine.cpp.

◆ rotaryChanged

void rotaryChanged ( WidgetWithInput * ref)
slot

Definition at line 963 of file MixerLine.cpp.

◆ setFxBypassed()

void setFxBypassed ( bool active)

Definition at line 955 of file MixerLine.cpp.

◆ setName()

void setName ( QString name)

Definition at line 936 of file MixerLine.cpp.

◆ setPeaks()

void setPeaks ( float fPeak_L,
float fPeak_R )

Definition at line 969 of file MixerLine.cpp.

◆ setVolume()

void setVolume ( float value)

Definition at line 987 of file MixerLine.cpp.

◆ volumeChanged

void volumeChanged ( LadspaFXMixerLine * ref)
signal

Field Documentation

◆ m_fMaxPeak

float m_fMaxPeak
private

Definition at line 325 of file MixerLine.h.

◆ m_pBypassBtn

Button* m_pBypassBtn
private

Definition at line 326 of file MixerLine.h.

◆ m_pEditBtn

Button* m_pEditBtn
private

Definition at line 327 of file MixerLine.h.

◆ m_pNameLCD

LCDDisplay* m_pNameLCD
private

Definition at line 329 of file MixerLine.h.

◆ m_pReturnLbl

ClickableLabel* m_pReturnLbl
private

Definition at line 330 of file MixerLine.h.

◆ m_pRotary

Rotary* m_pRotary
private

Definition at line 328 of file MixerLine.h.