Ardour
9.0-pre0-427-gd2a3450e2f
|
#include <meter.h>
Public Member Functions | |
Meter (int id, std::string name, Group &group) | |
void | send_update (Surface &, float dB) |
bool | enabled () const |
MidiByteArray | zero () |
void | notify_metering_state_changed (Surface &surface, bool transport_is_rolling, bool metering_active) |
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 |
Group & | group () const |
bool | in_use () const |
void | set_in_use (bool) |
std::shared_ptr< ARDOUR::AutomationControl > | control () 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 std::pair< bool, float > | calculate_meter_over_and_deflection (float dB) |
static Control * | factory (Surface &, int id, const char *, Group &) |
Private Attributes | |
bool | _enabled |
bool | overload_on |
Additional Inherited Members | |
Public Attributes inherited from ArdourSurface::NS_MCU::Control | |
sigc::connection | in_use_connection |
Control * | in_use_touch_control |
Protected Attributes inherited from ArdourSurface::NS_MCU::Control | |
std::shared_ptr< ARDOUR::AutomationControl > | normal_ac |
Definition at line 30 of file surfaces/mackie/meter.h.
|
inline |
Definition at line 33 of file surfaces/mackie/meter.h.
|
static |
|
inline |
Definition at line 40 of file surfaces/mackie/meter.h.
|
static |
void ArdourSurface::NS_MCU::Meter::notify_metering_state_changed | ( | Surface & | surface, |
bool | transport_is_rolling, | ||
bool | metering_active | ||
) |
void ArdourSurface::NS_MCU::Meter::send_update | ( | Surface & | , |
float | dB | ||
) |
|
virtual |
Implements ArdourSurface::NS_MCU::Control.
|
private |
Definition at line 50 of file surfaces/mackie/meter.h.
|
private |
Definition at line 51 of file surfaces/mackie/meter.h.