|
hydrogen 1.2.6
|
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 | 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< MixerLine > | |
| Object () | |
| Object (const Object< MixerLine > &other) | |
Static Public Attributes | |
| static constexpr int | nHeight = 254 |
| static constexpr int | nWidth = 56 |
Static Public Attributes inherited from Base | |
| static QString | sPrintIndention = " " |
| String used to format the debugging string output of some core classes. | |
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 | |
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 |
| static bool | bLogColors = true |
A mixer strip.
Definition at line 83 of file MixerLine.h.
| MixerLine | ( | QWidget * | parent, |
| int | nInstr ) |
Definition at line 48 of file MixerLine.cpp.
| ~MixerLine | ( | ) |
Definition at line 169 of file MixerLine.cpp.
|
slot |
Definition at line 203 of file MixerLine.cpp.
|
inline |
Definition at line 115 of file MixerLine.h.
| float getFXLevel | ( | uint | nFX | ) |
Definition at line 363 of file MixerLine.cpp.
|
inline |
Definition at line 110 of file MixerLine.h.
| float getPan | ( | ) |
Definition at line 321 of file MixerLine.cpp.
| float getPeak_L | ( | ) |
Definition at line 275 of file MixerLine.cpp.
| float getPeak_R | ( | ) |
Definition at line 299 of file MixerLine.cpp.
| float getVolume | ( | ) |
Definition at line 246 of file MixerLine.cpp.
|
signal |
|
signal |
| bool isMuteClicked | ( | ) |
Definition at line 225 of file MixerLine.cpp.
| bool isSoloClicked | ( | ) |
Definition at line 236 of file MixerLine.cpp.
|
signal |
|
slot |
Definition at line 341 of file MixerLine.cpp.
|
slot |
Definition at line 193 of file MixerLine.cpp.
|
signal |
|
slot |
Definition at line 303 of file MixerLine.cpp.
|
slot |
Definition at line 307 of file MixerLine.cpp.
|
signal |
|
signal |
|
signal |
|
slot |
Definition at line 311 of file MixerLine.cpp.
|
inline |
Definition at line 116 of file MixerLine.h.
| void setFXLevel | ( | uint | nFX, |
| float | fValue ) |
Definition at line 354 of file MixerLine.cpp.
| void setMuteClicked | ( | bool | isClicked | ) |
Definition at line 230 of file MixerLine.cpp.
|
inline |
Definition at line 109 of file MixerLine.h.
| void setPan | ( | float | value | ) |
Definition at line 326 of file MixerLine.cpp.
| void setPeak_L | ( | float | peak | ) |
Definition at line 255 of file MixerLine.cpp.
| void setPeak_R | ( | float | peak | ) |
Definition at line 279 of file MixerLine.cpp.
| void setPlayClicked | ( | bool | clicked | ) |
Definition at line 337 of file MixerLine.cpp.
| void setSelected | ( | bool | bIsSelected | ) |
Definition at line 372 of file MixerLine.cpp.
| void setSoloClicked | ( | bool | isClicked | ) |
Definition at line 240 of file MixerLine.cpp.
| void setVolume | ( | float | value | ) |
Definition at line 251 of file MixerLine.cpp.
|
slot |
Definition at line 198 of file MixerLine.cpp.
|
signal |
| void updateMixerLine | ( | ) |
Definition at line 172 of file MixerLine.cpp.
|
signal |
|
private |
Definition at line 151 of file MixerLine.h.
|
private |
Definition at line 155 of file MixerLine.h.
|
private |
Definition at line 153 of file MixerLine.h.
|
private |
Definition at line 156 of file MixerLine.h.
|
private |
Definition at line 150 of file MixerLine.h.
|
private |
Definition at line 154 of file MixerLine.h.
|
private |
Definition at line 149 of file MixerLine.h.
|
private |
Definition at line 158 of file MixerLine.h.
Definition at line 166 of file MixerLine.h.
|
private |
Definition at line 161 of file MixerLine.h.
|
private |
Definition at line 160 of file MixerLine.h.
|
private |
Definition at line 159 of file MixerLine.h.
|
private |
Definition at line 168 of file MixerLine.h.
|
private |
Definition at line 163 of file MixerLine.h.
|
private |
Definition at line 165 of file MixerLine.h.
|
private |
Definition at line 162 of file MixerLine.h.
|
private |
Definition at line 164 of file MixerLine.h.
|
staticconstexpr |
Definition at line 126 of file MixerLine.h.
|
staticconstexpr |
Definition at line 125 of file MixerLine.h.