Ardour  9.0-pre0-384-ga76afae0e9
ArdourSurface::US2400::Pot Class Reference

#include <pot.h>

Inheritance diagram for ArdourSurface::US2400::Pot:
[legend]

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
 
Groupgroup () const
 
bool in_use () const
 
void set_in_use (bool)
 
std::shared_ptr< ARDOUR::AutomationControlcontrol () 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 Controlfactory (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
 
Controlin_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::AutomationControlnormal_ac
 

Detailed Description

Definition at line 28 of file us2400/pot.h.

Member Enumeration Documentation

◆ Mode

Enumerator
dot 
boost_cut 
wrap 
spread 

Definition at line 34 of file us2400/pot.h.

Constructor & Destructor Documentation

◆ Pot()

ArdourSurface::US2400::Pot::Pot ( int  id,
std::string  name,
Group group 
)
inline

Definition at line 41 of file us2400/pot.h.

Member Function Documentation

◆ factory()

static Control* ArdourSurface::US2400::Pot::factory ( Surface ,
int  id,
const char *  ,
Group  
)
static

◆ mark_dirty()

void ArdourSurface::US2400::Pot::mark_dirty ( )
inlinevirtual

Implements ArdourSurface::US2400::Control.

Definition at line 53 of file us2400/pot.h.

◆ set()

MidiByteArray ArdourSurface::US2400::Pot::set ( float  ,
bool   
)

◆ set_mode()

void ArdourSurface::US2400::Pot::set_mode ( Mode  m)
inline

Definition at line 46 of file us2400/pot.h.

◆ zero()

MidiByteArray ArdourSurface::US2400::Pot::zero ( )
inlinevirtual

Implements ArdourSurface::US2400::Control.

Definition at line 49 of file us2400/pot.h.

Member Data Documentation

◆ _mode

Mode ArdourSurface::US2400::Pot::_mode

Definition at line 58 of file us2400/pot.h.

◆ External

int const ArdourSurface::US2400::Pot::External
static

Definition at line 31 of file us2400/pot.h.

◆ ID

int const ArdourSurface::US2400::Pot::ID
static

Definition at line 32 of file us2400/pot.h.

◆ last_update_position

int ArdourSurface::US2400::Pot::last_update_position

Definition at line 55 of file us2400/pot.h.

◆ llast_update_position

int ArdourSurface::US2400::Pot::llast_update_position

Definition at line 56 of file us2400/pot.h.


The documentation for this class was generated from the following file: