Mixxx

ControlLogpotmeter Class Reference

#include <controllogpotmeter.h>

Inheritance diagram for ControlLogpotmeter:
Collaboration diagram for ControlLogpotmeter:

List of all members.

Public Member Functions

 ControlLogpotmeter (ConfigKey key, double dMaxValue=5.)
double getValueFromWidget (double dValue)
double getValueToWidget (double dValue)
double GetMidiValue ()
void setValueFromMidi (MidiCategory c, double v)

Protected Attributes

bool m_bTwoState
double m_fB1
double m_fB2

Detailed Description

Author:
Tue and Ken Haste Andersen

Definition at line 29 of file controllogpotmeter.h.


Constructor & Destructor Documentation

ControlLogpotmeter::ControlLogpotmeter ( ConfigKey  key,
double  dMaxValue = 5. 
)

Definition at line 41 of file controllogpotmeter.cpp.


Member Function Documentation

double ControlLogpotmeter::GetMidiValue ( ) [virtual]

get value (range 0..127)

Reimplemented from ControlPotmeter.

Definition at line 105 of file controllogpotmeter.cpp.

Here is the call graph for this function:

double ControlLogpotmeter::getValueFromWidget ( double  dValue) [virtual]

Return a ControlObject value, corresponding to the widget input value. Thread safe.

Reimplemented from ControlPotmeter.

Definition at line 65 of file controllogpotmeter.cpp.

Here is the caller graph for this function:

double ControlLogpotmeter::getValueToWidget ( double  dValue) [virtual]

Return a widget value corresponding to the ControlObject input value. Thread safe.

Reimplemented from ControlPotmeter.

Definition at line 86 of file controllogpotmeter.cpp.

Here is the caller graph for this function:

void ControlLogpotmeter::setValueFromMidi ( MidiCategory  ,
double  v 
) [virtual]

Called when a widget has changed value. Not thread safe.

Reimplemented from ControlPotmeter.

Definition at line 115 of file controllogpotmeter.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 48 of file controllogpotmeter.h.

double ControlLogpotmeter::m_fB1 [protected]

Definition at line 50 of file controllogpotmeter.h.

double ControlLogpotmeter::m_fB2 [protected]

Definition at line 50 of file controllogpotmeter.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines