Mixxx

ControlTTRotary Class Reference

#include <controlttrotary.h>

Inheritance diagram for ControlTTRotary:
Collaboration diagram for ControlTTRotary:

List of all members.

Public Member Functions

 ControlTTRotary (ConfigKey key)
double getValueFromWidget (double dValue)
double getValueToWidget (double dValue)

Protected Member Functions

void setValueFromMidi (MidiCategory c, double v)

Detailed Description

Turn Table rotary controller class. The turntable rotary sends midi events: 0 when turning backwards, and 1 when turning forward. This class keeps track of it's speed, using a timer interrupt

Definition at line 26 of file controlttrotary.h.


Constructor & Destructor Documentation

ControlTTRotary::ControlTTRotary ( ConfigKey  key)

Definition at line 23 of file controlttrotary.cpp.


Member Function Documentation

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

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

Reimplemented from ControlObject.

Definition at line 27 of file controlttrotary.cpp.

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

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

Reimplemented from ControlObject.

Definition at line 39 of file controlttrotary.cpp.

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

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

Reimplemented from ControlObject.

Definition at line 44 of file controlttrotary.cpp.

Here is the call graph for this function:


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