Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::NS_MCU::Led Class Reference

#include <led.h>

Inheritance diagram for ArdourSurface::NS_MCU::Led:
[legend]

Public Member Functions

 Led (int id, std::string name, Group &group)
 
Ledled ()
 
MidiByteArray set_state (LedState)
 
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 const int FaderTouch
 
static const int Timecode
 
static const int Beats
 
static const int RudeSolo
 
static const int RelayClick
 

Private Attributes

LedState state
 

Additional Inherited Members

- Protected Attributes inherited from ArdourSurface::NS_MCU::Control
std::shared_ptr< ARDOUR::AutomationControlnormal_ac
 

Detailed Description

Definition at line 29 of file libs/surfaces/mackie/led.h.

Constructor & Destructor Documentation

◆ Led()

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

Definition at line 38 of file libs/surfaces/mackie/led.h.

Member Function Documentation

◆ factory()

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

◆ led()

Led& ArdourSurface::NS_MCU::Led::led ( )
inline

Definition at line 44 of file libs/surfaces/mackie/led.h.

◆ set_state()

MidiByteArray ArdourSurface::NS_MCU::Led::set_state ( LedState  )

◆ zero()

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

Implements ArdourSurface::NS_MCU::Control.

Definition at line 47 of file libs/surfaces/mackie/led.h.

Member Data Documentation

◆ Beats

const int ArdourSurface::NS_MCU::Led::Beats
static

Definition at line 34 of file libs/surfaces/mackie/led.h.

◆ FaderTouch

const int ArdourSurface::NS_MCU::Led::FaderTouch
static

Definition at line 32 of file libs/surfaces/mackie/led.h.

◆ is_qcon

bool ArdourSurface::NS_MCU::Led::is_qcon

Definition at line 52 of file libs/surfaces/mackie/led.h.

◆ RelayClick

const int ArdourSurface::NS_MCU::Led::RelayClick
static

Definition at line 36 of file libs/surfaces/mackie/led.h.

◆ RudeSolo

const int ArdourSurface::NS_MCU::Led::RudeSolo
static

Definition at line 35 of file libs/surfaces/mackie/led.h.

◆ state

LedState ArdourSurface::NS_MCU::Led::state
private

Definition at line 55 of file libs/surfaces/mackie/led.h.

◆ Timecode

const int ArdourSurface::NS_MCU::Led::Timecode
static

Definition at line 33 of file libs/surfaces/mackie/led.h.


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