hydrogen 1.1.1
TargetWaveDisplay Class Reference

#include <TargetWaveDisplay.h>

Inheritance diagram for TargetWaveDisplay:
Object

Public Member Functions

 TargetWaveDisplay (QWidget *pParent)
 
 ~TargetWaveDisplay ()
 
void updateDisplay (H2Core::InstrumentLayer *pLayer)
 
void updateDisplayPointer ()
 
void paintLocatorEventTargetDisplay (int pos, bool last_event)
 
void paintEvent (QPaintEvent *ev)
 
H2Core::Sample::PanEnvelopeget_pan ()
 
H2Core::Sample::VelocityEnvelopeget_velocity ()
 
- Public 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 Member Functions

virtual void mouseMoveEvent (QMouseEvent *ev)
 
virtual void mousePressEvent (QMouseEvent *ev)
 
virtual void mouseReleaseEvent (QMouseEvent *ev)
 

Private Attributes

QPixmap m_Background
 
QString m_sSampleName
 
QString m_sInfo
 
int m_nX
 
int m_nY
 
int m_nLocator
 
int * m_pPeakData_Left
 
int * m_pPeakData_Right
 
unsigned m_nSampleLength
 
bool m_VMove
 
bool m_UpdatePosition
 
H2Core::Sample::PanEnvelope m_PanEnvelope
 
H2Core::Sample::VelocityEnvelope m_VelocityEnvelope
 

Additional Inherited Members

- Static Public 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...
 
- Static Public Attributes inherited from Object
static QString sPrintIndention = " "
 String used to format the debugging string output of some core classes. More...
 
- Static Protected Attributes inherited from Object
static Logger__logger = nullptr
 logger instance pointer More...
 

Constructor & Destructor Documentation

◆ TargetWaveDisplay()

TargetWaveDisplay ( QWidget *  pParent)
explicit

◆ ~TargetWaveDisplay()

Member Function Documentation

◆ get_pan()

H2Core::Sample::PanEnvelope * get_pan ( )
inline

◆ get_velocity()

H2Core::Sample::VelocityEnvelope * get_velocity ( )
inline

◆ mouseMoveEvent()

void mouseMoveEvent ( QMouseEvent *  ev)
privatevirtual

◆ mousePressEvent()

void mousePressEvent ( QMouseEvent *  ev)
privatevirtual

◆ mouseReleaseEvent()

void mouseReleaseEvent ( QMouseEvent *  ev)
privatevirtual

◆ paintEvent()

void paintEvent ( QPaintEvent *  ev)

◆ paintLocatorEventTargetDisplay()

void paintLocatorEventTargetDisplay ( int  pos,
bool  last_event 
)

◆ updateDisplay()

void updateDisplay ( H2Core::InstrumentLayer pLayer)

◆ updateDisplayPointer()

void updateDisplayPointer ( )

Field Documentation

◆ m_Background

QPixmap m_Background
private

◆ m_nLocator

int m_nLocator
private

◆ m_nSampleLength

unsigned m_nSampleLength
private

◆ m_nX

int m_nX
private

◆ m_nY

int m_nY
private

◆ m_PanEnvelope

H2Core::Sample::PanEnvelope m_PanEnvelope
private

◆ m_pPeakData_Left

int* m_pPeakData_Left
private

◆ m_pPeakData_Right

int* m_pPeakData_Right
private

◆ m_sInfo

QString m_sInfo
private

◆ m_sSampleName

QString m_sSampleName
private

◆ m_UpdatePosition

bool m_UpdatePosition
private

◆ m_VelocityEnvelope

H2Core::Sample::VelocityEnvelope m_VelocityEnvelope
private

◆ m_VMove

bool m_VMove
private