hydrogen 1.1.1
InstrumentEditorPanel Class Reference

Container for the Instrument Editor (Singleton). More...

#include <InstrumentEditorPanel.h>

Inheritance diagram for InstrumentEditorPanel:
Object EventListener

Public Slots

void notifyOfDrumkitChange ()
 

Public Member Functions

 ~InstrumentEditorPanel ()
 
 InstrumentEditorPanel (const InstrumentEditorPanel &)=delete
 
InstrumentEditorPaneloperator= (const InstrumentEditorPanel &rhs)=delete
 
virtual void parametersInstrumentChangedEvent () override
 
void selectLayer (int nLayer)
 
int getSelectedLayer ()
 
- Public Member Functions inherited from EventListener
virtual void stateChangedEvent (int nState)
 
virtual void patternChangedEvent ()
 
virtual void patternModifiedEvent ()
 
virtual void songModifiedEvent ()
 
virtual void selectedPatternChangedEvent ()
 
virtual void selectedInstrumentChangedEvent ()
 
virtual void parametersInstrumentChangedEvent ()
 
virtual void midiActivityEvent ()
 
virtual void noteOnEvent (int nInstrument)
 
virtual void XRunEvent ()
 
virtual void errorEvent (int nErrorCode)
 
virtual void metronomeEvent (int nValue)
 
virtual void rubberbandbpmchangeEvent ()
 
virtual void progressEvent (int nValue)
 
virtual void jacksessionEvent (int nValue)
 
virtual void playlistLoadSongEvent (int nIndex)
 
virtual void undoRedoActionEvent (int nValue)
 
virtual void tempoChangedEvent (int nValue)
 
virtual void updateSongEvent (int nValue)
 
virtual void quitEvent (int nValue)
 
virtual void timelineActivationEvent (int nValue)
 
virtual void timelineUpdateEvent (int nValue)
 
virtual void jackTransportActivationEvent (int nValue)
 
virtual void jackTimebaseActivationEvent (int nValue)
 
virtual void songModeActivationEvent (int nValue)
 
virtual void loopModeActivationEvent (int nValue)
 
virtual void updatePreferencesEvent (int nValue)
 
virtual void actionModeChangeEvent (int nValue)
 
virtual ~EventListener ()
 

Static Public Member Functions

static InstrumentEditorPanelget_instance ()
 

Private Member Functions

 InstrumentEditorPanel (QWidget *pParent)
 
- Private Member Functions inherited from Object
 ~Object ()
 destructor More...
 
 Object (const Object &obj)
 copy constructor More...
 
 Object (const char *class_name)
 constructor More...
 
const char * class_name () const
 return the class name More...
 
virtual QString toQString (const QString &sPrefix, bool bShort=true) const
 Formatted string version for debugging purposes. More...
 
void Print (bool bShort=true) const
 Prints content of toQString() via DEBUGLOG. More...
 

Private Attributes

InstrumentEditorm_pInstrumentEditor
 
int m_nLayer
 

Static Private Attributes

static InstrumentEditorPanelm_pInstance = nullptr
 
- Static Private Attributes inherited from Object
static QString sPrintIndention = " "
 String used to format the debugging string output of some core classes. More...
 
static Logger__logger = nullptr
 logger instance pointer More...
 

Additional Inherited Members

- Static Private Member Functions inherited from Object
static void set_count (bool flag)
 enable/disable class instances counting More...
 
static bool count_active ()
 return true if class instances counting is enabled More...
 
static unsigned objects_count ()
 return the number of objects More...
 
static void write_objects_map_to (std::ostream &out)
 output the full objects map to a given ostream More...
 
static void write_objects_map_to_cerr ()
 output objects map to stderr More...
 
static int bootstrap (Logger *logger, bool count=false)
 must be called before any Object instantiation ! More...
 
static Loggerlogger ()
 return the logger instance More...
 

Detailed Description

Container for the Instrument Editor (Singleton).

Constructor & Destructor Documentation

◆ ~InstrumentEditorPanel()

◆ InstrumentEditorPanel() [1/2]

InstrumentEditorPanel ( const InstrumentEditorPanel )
explicitdelete

◆ InstrumentEditorPanel() [2/2]

InstrumentEditorPanel ( QWidget *  pParent)
explicitprivate

Member Function Documentation

◆ get_instance()

InstrumentEditorPanel * get_instance ( )
static

◆ getSelectedLayer()

int getSelectedLayer ( )
inline

◆ notifyOfDrumkitChange

void notifyOfDrumkitChange ( )
slot

◆ operator=()

InstrumentEditorPanel & operator= ( const InstrumentEditorPanel rhs)
delete

◆ parametersInstrumentChangedEvent()

void parametersInstrumentChangedEvent ( )
overridevirtual

Reimplemented from EventListener.

◆ selectLayer()

void selectLayer ( int  nLayer)

Field Documentation

◆ m_nLayer

int m_nLayer
private

◆ m_pInstance

InstrumentEditorPanel * m_pInstance = nullptr
staticprivate

◆ m_pInstrumentEditor

InstrumentEditor* m_pInstrumentEditor
private