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

#include <fader.h>

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

Public Member Functions

 Fader (int id, std::string name, Group &group)
 
MidiByteArray set_position (float)
 
MidiByteArray zero ()
 
MidiByteArray update_message ()
 
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 &)
 

Private Attributes

float position
 
int last_update_position
 
int llast_update_position
 

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 28 of file us2400/fader.h.

Constructor & Destructor Documentation

◆ Fader()

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

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

Member Function Documentation

◆ factory()

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

◆ mark_dirty()

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

Implements ArdourSurface::US2400::Control.

Definition at line 47 of file us2400/fader.h.

◆ set_position()

MidiByteArray ArdourSurface::US2400::Fader::set_position ( float  )

◆ update_message()

MidiByteArray ArdourSurface::US2400::Fader::update_message ( )

◆ zero()

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

Implements ArdourSurface::US2400::Control.

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

Member Data Documentation

◆ last_update_position

int ArdourSurface::US2400::Fader::last_update_position
private

Definition at line 51 of file us2400/fader.h.

◆ llast_update_position

int ArdourSurface::US2400::Fader::llast_update_position
private

Definition at line 52 of file us2400/fader.h.

◆ position

float ArdourSurface::US2400::Fader::position
private

Definition at line 50 of file us2400/fader.h.


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