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

#include <pot.h>

Inheritance diagram for ArdourSurface::NS_MCU::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)
 
MidiByteArray set (float, bool, Mode)
 
MidiByteArray zero ()
 
- Public Member Functions inherited from ArdourSurface::NS_MCU::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 >)
 
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

bool is_qcon
 
- Public Attributes inherited from ArdourSurface::NS_MCU::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::NS_MCU::Control
std::shared_ptr< ARDOUR::AutomationControlnormal_ac
 

Detailed Description

Definition at line 27 of file mackie/pot.h.

Member Enumeration Documentation

◆ Mode

Enumerator
dot 
boost_cut 
wrap 
spread 

Definition at line 33 of file mackie/pot.h.

Constructor & Destructor Documentation

◆ Pot()

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

Definition at line 40 of file mackie/pot.h.

Member Function Documentation

◆ factory()

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

◆ set()

MidiByteArray ArdourSurface::NS_MCU::Pot::set ( float  ,
bool  ,
Mode   
)

◆ zero()

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

Implements ArdourSurface::NS_MCU::Control.

Definition at line 44 of file mackie/pot.h.

Member Data Documentation

◆ External

int const ArdourSurface::NS_MCU::Pot::External
static

Definition at line 30 of file mackie/pot.h.

◆ ID

int const ArdourSurface::NS_MCU::Pot::ID
static

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

◆ is_qcon

bool ArdourSurface::NS_MCU::Pot::is_qcon

Definition at line 48 of file mackie/pot.h.


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