|
hydrogen 1.2.3
|
A mixer strip. More...
#include <MixerLine.h>
Public Slots | |
| void | faderChanged (WidgetWithInput *ref) |
| void | knobChanged (WidgetWithInput *ref) |
| void | muteBtnClicked () |
| void | nameClicked () |
| void | nameSelected () |
| void | panChanged (WidgetWithInput *ref) |
| void | soloBtnClicked () |
Signals | |
| void | instrumentNameClicked (MixerLine *ref) |
| void | instrumentNameSelected (MixerLine *ref) |
| void | knobChanged (MixerLine *ref, int nKnob) |
| void | muteBtnClicked (MixerLine *ref) |
| void | noteOffClicked (MixerLine *ref) |
| void | noteOnClicked (MixerLine *ref) |
| void | panChanged (MixerLine *ref) |
| void | soloBtnClicked (MixerLine *ref) |
| void | volumeChanged (MixerLine *ref) |
Public Member Functions | |
| MixerLine (QWidget *parent, int nInstr) | |
| ~MixerLine () | |
| int | getActivity () |
| float | getFXLevel (uint nFX) |
| QString | getName () |
| float | getPan () |
| float | getPeak_L () |
| float | getPeak_R () |
| float | getVolume () |
| bool | isMuteClicked () |
| bool | isSoloClicked () |
| void | setActivity (uint value) |
| void | setFXLevel (uint nFX, float fValue) |
| void | setMuteClicked (bool isClicked) |
| void | setName (QString name) |
| void | setPan (float value) |
| void | setPeak_L (float peak) |
| void | setPeak_R (float peak) |
| void | setPlayClicked (bool clicked) |
| void | setSelected (bool bIsSelected) |
| void | setSoloClicked (bool isClicked) |
| void | setVolume (float value) |
| void | updateMixerLine () |
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 () | |
| Object (const Object< PixmapWidget > &other) | |
Public Member Functions inherited from Base | |
| Base () | |
| Base (const Base &other) | |
| virtual const char * | class_name () const |
| 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< MixerLine > | |
| Object () | |
| Object (const Object< MixerLine > &other) | |
Private Attributes | |
| bool | m_bIsSelected |
| float | m_fMaxPeak |
| uint | m_nActivity |
| float | m_nFalloff |
| uint | m_nHeight |
| uint | m_nPeakTimer |
| uint | m_nWidth |
| Fader * | m_pFader |
| Rotary * | m_pFxRotary [MAX_FX] |
| Button * | m_pMuteBtn |
| InstrumentNameWidget * | m_pNameWidget |
| Rotary * | m_pPanRotary |
| LCDDisplay * | m_pPeakLCD |
| Button * | m_pPlaySampleBtn |
| LED * | m_pSelectionLED |
| Button * | m_pSoloBtn |
| LED * | m_pTriggerSampleLED |
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 Logger * | logger () |
| 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< MixerLine > | |
| ~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 |
A mixer strip.
Definition at line 83 of file MixerLine.h.
| MixerLine | ( | QWidget * | parent, |
| int | nInstr ) |
Definition at line 55 of file MixerLine.cpp.
| ~MixerLine | ( | ) |
Definition at line 179 of file MixerLine.cpp.
|
slot |
Definition at line 213 of file MixerLine.cpp.
|
inline |
Definition at line 115 of file MixerLine.h.
| float getFXLevel | ( | uint | nFX | ) |
Definition at line 373 of file MixerLine.cpp.
|
inline |
Definition at line 110 of file MixerLine.h.
| float getPan | ( | ) |
Definition at line 331 of file MixerLine.cpp.
| float getPeak_L | ( | ) |
Definition at line 285 of file MixerLine.cpp.
| float getPeak_R | ( | ) |
Definition at line 309 of file MixerLine.cpp.
| float getVolume | ( | ) |
Definition at line 256 of file MixerLine.cpp.
|
signal |
|
signal |
| bool isMuteClicked | ( | ) |
Definition at line 235 of file MixerLine.cpp.
| bool isSoloClicked | ( | ) |
Definition at line 246 of file MixerLine.cpp.
|
signal |
|
slot |
Definition at line 351 of file MixerLine.cpp.
|
slot |
Definition at line 203 of file MixerLine.cpp.
|
signal |
|
slot |
Definition at line 313 of file MixerLine.cpp.
|
slot |
Definition at line 317 of file MixerLine.cpp.
|
signal |
|
signal |
|
signal |
|
slot |
Definition at line 321 of file MixerLine.cpp.
|
inline |
Definition at line 116 of file MixerLine.h.
| void setFXLevel | ( | uint | nFX, |
| float | fValue ) |
Definition at line 364 of file MixerLine.cpp.
| void setMuteClicked | ( | bool | isClicked | ) |
Definition at line 240 of file MixerLine.cpp.
|
inline |
Definition at line 109 of file MixerLine.h.
| void setPan | ( | float | value | ) |
Definition at line 336 of file MixerLine.cpp.
| void setPeak_L | ( | float | peak | ) |
Definition at line 265 of file MixerLine.cpp.
| void setPeak_R | ( | float | peak | ) |
Definition at line 289 of file MixerLine.cpp.
| void setPlayClicked | ( | bool | clicked | ) |
Definition at line 347 of file MixerLine.cpp.
| void setSelected | ( | bool | bIsSelected | ) |
Definition at line 382 of file MixerLine.cpp.
| void setSoloClicked | ( | bool | isClicked | ) |
Definition at line 250 of file MixerLine.cpp.
| void setVolume | ( | float | value | ) |
Definition at line 261 of file MixerLine.cpp.
|
slot |
Definition at line 208 of file MixerLine.cpp.
|
signal |
| void updateMixerLine | ( | ) |
Definition at line 182 of file MixerLine.cpp.
|
signal |
|
private |
Definition at line 148 of file MixerLine.h.
|
private |
Definition at line 152 of file MixerLine.h.
|
private |
Definition at line 150 of file MixerLine.h.
|
private |
Definition at line 153 of file MixerLine.h.
|
private |
Definition at line 147 of file MixerLine.h.
|
private |
Definition at line 151 of file MixerLine.h.
|
private |
Definition at line 146 of file MixerLine.h.
|
private |
Definition at line 155 of file MixerLine.h.
Definition at line 163 of file MixerLine.h.
|
private |
Definition at line 158 of file MixerLine.h.
|
private |
Definition at line 157 of file MixerLine.h.
|
private |
Definition at line 156 of file MixerLine.h.
|
private |
Definition at line 165 of file MixerLine.h.
|
private |
Definition at line 160 of file MixerLine.h.
|
private |
Definition at line 162 of file MixerLine.h.
|
private |
Definition at line 159 of file MixerLine.h.
|
private |
Definition at line 161 of file MixerLine.h.