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

#include <meter.h>

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

Public Member Functions

 Meter (int id, std::string name, Group &group)
 
void send_update (Surface &, float dB)
 
bool enabled () const
 
void mark_dirty ()
 
MidiByteArray zero ()
 
void notify_metering_state_changed (Surface &surface, bool transport_is_rolling, bool metering_active)
 
- 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

bool _enabled
 
bool overload_on
 
int last_update_segment
 
int llast_update_segment
 

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 31 of file surfaces/us2400/meter.h.

Constructor & Destructor Documentation

◆ Meter()

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

Definition at line 34 of file surfaces/us2400/meter.h.

Member Function Documentation

◆ enabled()

bool ArdourSurface::US2400::Meter::enabled ( void  ) const
inline

Definition at line 44 of file surfaces/us2400/meter.h.

◆ factory()

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

◆ mark_dirty()

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

Implements ArdourSurface::US2400::Control.

Definition at line 46 of file surfaces/us2400/meter.h.

◆ notify_metering_state_changed()

void ArdourSurface::US2400::Meter::notify_metering_state_changed ( Surface surface,
bool  transport_is_rolling,
bool  metering_active 
)

◆ send_update()

void ArdourSurface::US2400::Meter::send_update ( Surface ,
float  dB 
)

◆ zero()

MidiByteArray ArdourSurface::US2400::Meter::zero ( )
virtual

Member Data Documentation

◆ _enabled

bool ArdourSurface::US2400::Meter::_enabled
private

Definition at line 55 of file surfaces/us2400/meter.h.

◆ last_update_segment

int ArdourSurface::US2400::Meter::last_update_segment
private

Definition at line 58 of file surfaces/us2400/meter.h.

◆ llast_update_segment

int ArdourSurface::US2400::Meter::llast_update_segment
private

Definition at line 59 of file surfaces/us2400/meter.h.

◆ overload_on

bool ArdourSurface::US2400::Meter::overload_on
private

Definition at line 56 of file surfaces/us2400/meter.h.


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