Ardour
9.0-pre0-384-ga76afae0e9
|
#include <pot.h>
Public Types | |
enum | Mode { dot = 0 , boost_cut = 1 , wrap = 2 , spread = 3 } |
Public Member Functions | |
Pot (int id, std::string name, Group &group) | |
void | set_mode (Mode m) |
MidiByteArray | set (float, bool) |
MidiByteArray | zero () |
void | mark_dirty () |
Public Member Functions inherited from ArdourSurface::US2400::Control | |
Control (int id, std::string name, Group &group) | |
virtual | ~Control () |
int | id () const |
const std::string & | name () const |
Group & | group () const |
bool | in_use () const |
void | set_in_use (bool) |
std::shared_ptr< ARDOUR::AutomationControl > | control () const |
virtual void | set_control (std::shared_ptr< ARDOUR::AutomationControl >) |
virtual void | reset_control () |
float | get_value () |
void | set_value (float val, PBD::Controllable::GroupControlDisposition gcd=PBD::Controllable::UseGroup) |
virtual void | start_touch (Temporal::timepos_t const &when) |
virtual void | stop_touch (Temporal::timepos_t const &when) |
Static Public Member Functions | |
static Control * | factory (Surface &, int id, const char *, Group &) |
Public Attributes | |
int | last_update_position |
int | llast_update_position |
Mode | _mode |
Public Attributes inherited from ArdourSurface::US2400::Control | |
sigc::connection | in_use_connection |
Control * | in_use_touch_control |
Static Public Attributes | |
static int const | External |
static int const | ID |
Additional Inherited Members | |
Protected Attributes inherited from ArdourSurface::US2400::Control | |
std::shared_ptr< ARDOUR::AutomationControl > | normal_ac |
Definition at line 28 of file us2400/pot.h.
Enumerator | |
---|---|
dot | |
boost_cut | |
wrap | |
spread |
Definition at line 34 of file us2400/pot.h.
|
inline |
Definition at line 41 of file us2400/pot.h.
|
static |
|
inlinevirtual |
Implements ArdourSurface::US2400::Control.
Definition at line 53 of file us2400/pot.h.
MidiByteArray ArdourSurface::US2400::Pot::set | ( | float | , |
bool | |||
) |
|
inline |
Definition at line 46 of file us2400/pot.h.
|
inlinevirtual |
Implements ArdourSurface::US2400::Control.
Definition at line 49 of file us2400/pot.h.
Mode ArdourSurface::US2400::Pot::_mode |
Definition at line 58 of file us2400/pot.h.
|
static |
Definition at line 31 of file us2400/pot.h.
|
static |
Definition at line 32 of file us2400/pot.h.
int ArdourSurface::US2400::Pot::last_update_position |
Definition at line 55 of file us2400/pot.h.
int ArdourSurface::US2400::Pot::llast_update_position |
Definition at line 56 of file us2400/pot.h.