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

#include <led.h>

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

Public Member Functions

 Led (int id, std::string name, Group &group)
 
void mark_dirty ()
 
Ledled ()
 
MidiByteArray set_state (LedState)
 
MidiByteArray zero ()
 
- 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 &)
 

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 last_state
 
LedState llast_state
 

Additional Inherited Members

- Public Attributes inherited from ArdourSurface::US2400::Control
sigc::connection in_use_connection
 
Controlin_use_touch_control
 
- Protected Attributes inherited from ArdourSurface::US2400::Control
std::shared_ptr< ARDOUR::AutomationControlnormal_ac
 

Detailed Description

Definition at line 30 of file libs/surfaces/us2400/led.h.

Constructor & Destructor Documentation

◆ Led()

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

Definition at line 39 of file libs/surfaces/us2400/led.h.

Member Function Documentation

◆ factory()

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

◆ led()

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

Definition at line 48 of file libs/surfaces/us2400/led.h.

◆ mark_dirty()

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

Implements ArdourSurface::US2400::Control.

Definition at line 46 of file libs/surfaces/us2400/led.h.

◆ set_state()

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

◆ zero()

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

Implements ArdourSurface::US2400::Control.

Definition at line 51 of file libs/surfaces/us2400/led.h.

Member Data Documentation

◆ Beats

const int ArdourSurface::US2400::Led::Beats
static

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

◆ FaderTouch

const int ArdourSurface::US2400::Led::FaderTouch
static

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

◆ last_state

LedState ArdourSurface::US2400::Led::last_state
private

Definition at line 56 of file libs/surfaces/us2400/led.h.

◆ llast_state

LedState ArdourSurface::US2400::Led::llast_state
private

Definition at line 57 of file libs/surfaces/us2400/led.h.

◆ RelayClick

const int ArdourSurface::US2400::Led::RelayClick
static

Definition at line 37 of file libs/surfaces/us2400/led.h.

◆ RudeSolo

const int ArdourSurface::US2400::Led::RudeSolo
static

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

◆ Timecode

const int ArdourSurface::US2400::Led::Timecode
static

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


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