#include <surface.h>
|
| | Surface (US2400Protocol &, const std::string &name, uint32_t number, surface_type_t stype) |
| |
| virtual | ~Surface () |
| |
| surface_type_t | type () const |
| |
| uint32_t | number () const |
| |
| const std::string & | name () |
| |
| void | connected () |
| |
| bool | active () const |
| |
| US2400::JogWheel * | jog_wheel () const |
| |
| Fader * | master_fader () const |
| |
| uint32_t | n_strips (bool with_locked_strips=true) const |
| |
| Strip * | nth_strip (uint32_t n) const |
| |
| bool | stripable_is_locked_to_strip (std::shared_ptr< ARDOUR::Stripable >) const |
| |
| bool | stripable_is_mapped (std::shared_ptr< ARDOUR::Stripable >) const |
| |
| SurfacePort & | port () const |
| |
| void | map_stripables (const std::vector< std::shared_ptr< ARDOUR::Stripable > > &) |
| |
| void | update_strip_selection () |
| |
| const MidiByteArray & | sysex_hdr () const |
| |
| void | periodic (PBD::microseconds_t now_usecs) |
| |
| void | redisplay (PBD::microseconds_t now_usecs, bool force) |
| |
| void | hui_heartbeat () |
| |
| void | handle_midi_pitchbend_message (MIDI::Parser &, MIDI::pitchbend_t, uint32_t channel_id) |
| |
| void | handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes *) |
| |
| void | handle_midi_note_on_message (MIDI::Parser &, MIDI::EventTwoBytes *) |
| |
| void | connect_to_signals () |
| |
| void | write_sysex (const MidiByteArray &mba) |
| | write a sysex message More...
|
| |
| void | write_sysex (MIDI::byte msg) |
| |
| void | write (const MidiByteArray &) |
| | proxy write for port More...
|
| |
| void | display_bank_start (uint32_t) |
| | display an indicator of the first switched-in Route. Do nothing by default. More...
|
| |
| void | zero_all () |
| | called from US2400Protocol::zero_all to turn things off More...
|
| |
| void | zero_controls () |
| |
| void | blank_jog_ring () |
| |
| void | reset () |
| | sends MCP "reset" message to surface More...
|
| |
| void | recalibrate_faders () |
| |
| void | toggle_backlight () |
| |
| void | set_touch_sensitivity (int) |
| |
| float | scrub_scaling_factor () const |
| |
| float | scaled_delta (float delta, float current_speed) |
| |
| void | subview_mode_changed () |
| |
| US2400Protocol & | mcp () const |
| |
| void | next_jog_mode () |
| |
| void | set_jog_mode (US2400::JogWheel::Mode) |
| |
| void | notify_metering_state_changed () |
| |
| void | turn_it_on () |
| |
| bool | connection_handler (std::weak_ptr< ARDOUR::Port >, std::string name1, std::weak_ptr< ARDOUR::Port >, std::string name2, bool) |
| |
| void | master_monitor_may_have_changed () |
| |
| XMLNode & | get_state () const |
| |
| int | set_state (const XMLNode &, int version) |
| |
| | ScopedConnectionList () |
| |
| | ScopedConnectionList (const ScopedConnectionList &)=delete |
| |
| ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
| |
| virtual | ~ScopedConnectionList () |
| |
| void | add_connection (const UnscopedConnection &c) |
| |
| void | drop_connections () |
| |
| std::list< ScopedConnectionList * >::size_type | size () const |
| |
Definition at line 66 of file us2400/surface.h.
◆ Controls
◆ Groups
◆ Strips
◆ ConnectionState
◆ Surface()
◆ ~Surface()
| virtual ArdourSurface::US2400::Surface::~Surface |
( |
| ) |
|
|
virtual |
◆ active()
| bool ArdourSurface::US2400::Surface::active |
( |
| ) |
const |
|
inline |
◆ blank_jog_ring()
| void ArdourSurface::US2400::Surface::blank_jog_ring |
( |
| ) |
|
turn off leds around the jog wheel. This is for surfaces that use a pot pretending to be a jog wheel.
◆ connect_to_signals()
| void ArdourSurface::US2400::Surface::connect_to_signals |
( |
| ) |
|
Connect the any signal from the parser to handle_midi_any unless it's already connected
◆ connected()
| void ArdourSurface::US2400::Surface::connected |
( |
| ) |
|
◆ connection_handler()
| bool ArdourSurface::US2400::Surface::connection_handler |
( |
std::weak_ptr< ARDOUR::Port > |
, |
|
|
std::string |
name1, |
|
|
std::weak_ptr< ARDOUR::Port > |
, |
|
|
std::string |
name2, |
|
|
bool |
|
|
) |
| |
◆ display_bank_start()
| void ArdourSurface::US2400::Surface::display_bank_start |
( |
uint32_t |
| ) |
|
display an indicator of the first switched-in Route. Do nothing by default.
◆ get_state()
| XMLNode& ArdourSurface::US2400::Surface::get_state |
( |
| ) |
const |
◆ handle_midi_controller_message()
◆ handle_midi_note_on_message()
◆ handle_midi_pitchbend_message()
◆ handle_midi_sysex()
◆ host_connection_confirmation()
◆ host_connection_query()
◆ hui_heartbeat()
| void ArdourSurface::US2400::Surface::hui_heartbeat |
( |
| ) |
|
◆ init_controls()
| void ArdourSurface::US2400::Surface::init_controls |
( |
| ) |
|
|
private |
◆ init_strips()
| void ArdourSurface::US2400::Surface::init_strips |
( |
uint32_t |
n | ) |
|
|
private |
◆ jog_wheel()
◆ map_stripables()
| void ArdourSurface::US2400::Surface::map_stripables |
( |
const std::vector< std::shared_ptr< ARDOUR::Stripable > > & |
| ) |
|
◆ master_fader()
| Fader* ArdourSurface::US2400::Surface::master_fader |
( |
| ) |
const |
|
inline |
◆ master_gain_changed()
| void ArdourSurface::US2400::Surface::master_gain_changed |
( |
| ) |
|
|
private |
◆ master_monitor_may_have_changed()
| void ArdourSurface::US2400::Surface::master_monitor_may_have_changed |
( |
| ) |
|
◆ mcp()
◆ n_strips()
| uint32_t ArdourSurface::US2400::Surface::n_strips |
( |
bool |
with_locked_strips = true | ) |
const |
◆ name()
| const std::string& ArdourSurface::US2400::Surface::name |
( |
| ) |
|
|
inline |
◆ next_jog_mode()
| void ArdourSurface::US2400::Surface::next_jog_mode |
( |
| ) |
|
◆ notify_metering_state_changed()
| void ArdourSurface::US2400::Surface::notify_metering_state_changed |
( |
| ) |
|
◆ nth_strip()
| Strip* ArdourSurface::US2400::Surface::nth_strip |
( |
uint32_t |
n | ) |
const |
◆ number()
| uint32_t ArdourSurface::US2400::Surface::number |
( |
| ) |
const |
|
inline |
◆ periodic()
◆ port()
| SurfacePort& ArdourSurface::US2400::Surface::port |
( |
| ) |
const |
|
inline |
◆ recalibrate_faders()
| void ArdourSurface::US2400::Surface::recalibrate_faders |
( |
| ) |
|
◆ redisplay()
◆ reset()
| void ArdourSurface::US2400::Surface::reset |
( |
| ) |
|
sends MCP "reset" message to surface
◆ say_hello()
| void ArdourSurface::US2400::Surface::say_hello |
( |
| ) |
|
|
private |
◆ scaled_delta()
| float ArdourSurface::US2400::Surface::scaled_delta |
( |
float |
delta, |
|
|
float |
current_speed |
|
) |
| |
The scaling factor function for speed increase and decrease. At low transport speeds this should return a small value, for high transport speeds, this should return an exponentially larger value. This provides high definition control at low speeds and quick speed changes to/from higher speeds.
◆ scrub_scaling_factor()
| float ArdourSurface::US2400::Surface::scrub_scaling_factor |
( |
| ) |
const |
This is used to calculate the clicks per second that define a transport speed of 1.0 for the jog wheel. 100.0 is 10 clicks per second, 50.5 is 5 clicks per second.
◆ set_jog_mode()
◆ set_state()
| int ArdourSurface::US2400::Surface::set_state |
( |
const XMLNode & |
, |
|
|
int |
version |
|
) |
| |
◆ set_touch_sensitivity()
| void ArdourSurface::US2400::Surface::set_touch_sensitivity |
( |
int |
| ) |
|
◆ setup_master()
| void ArdourSurface::US2400::Surface::setup_master |
( |
| ) |
|
|
private |
◆ stripable_is_locked_to_strip()
| bool ArdourSurface::US2400::Surface::stripable_is_locked_to_strip |
( |
std::shared_ptr< ARDOUR::Stripable > |
| ) |
const |
◆ stripable_is_mapped()
| bool ArdourSurface::US2400::Surface::stripable_is_mapped |
( |
std::shared_ptr< ARDOUR::Stripable > |
| ) |
const |
◆ subview_mode_changed()
| void ArdourSurface::US2400::Surface::subview_mode_changed |
( |
| ) |
|
◆ sysex_hdr()
| const MidiByteArray& ArdourSurface::US2400::Surface::sysex_hdr |
( |
| ) |
const |
◆ toggle_backlight()
| void ArdourSurface::US2400::Surface::toggle_backlight |
( |
| ) |
|
◆ turn_it_on()
| void ArdourSurface::US2400::Surface::turn_it_on |
( |
| ) |
|
◆ type()
◆ update_strip_selection()
| void ArdourSurface::US2400::Surface::update_strip_selection |
( |
| ) |
|
◆ write()
| void ArdourSurface::US2400::Surface::write |
( |
const MidiByteArray & |
| ) |
|
◆ write_sysex() [1/2]
| void ArdourSurface::US2400::Surface::write_sysex |
( |
const MidiByteArray & |
mba | ) |
|
◆ write_sysex() [2/2]
| void ArdourSurface::US2400::Surface::write_sysex |
( |
MIDI::byte |
msg | ) |
|
◆ zero_all()
| void ArdourSurface::US2400::Surface::zero_all |
( |
| ) |
|
◆ zero_controls()
| void ArdourSurface::US2400::Surface::zero_controls |
( |
| ) |
|
◆ _active
| bool ArdourSurface::US2400::Surface::_active |
|
private |
◆ _connected
| bool ArdourSurface::US2400::Surface::_connected |
|
private |
◆ _jog_wheel
◆ _joystick_active
| bool ArdourSurface::US2400::Surface::_joystick_active |
|
private |
◆ _last_master_gain_written
| float ArdourSurface::US2400::Surface::_last_master_gain_written |
|
private |
◆ _master_fader
| Fader* ArdourSurface::US2400::Surface::_master_fader |
|
private |
◆ _mcp
◆ _name
| std::string ArdourSurface::US2400::Surface::_name |
|
private |
◆ _number
| uint32_t ArdourSurface::US2400::Surface::_number |
|
private |
◆ _port
◆ _stype
◆ buttons
| std::map<int,Button*> ArdourSurface::US2400::Surface::buttons |
◆ connection_state
| int ArdourSurface::US2400::Surface::connection_state |
|
private |
◆ controls
| Controls ArdourSurface::US2400::Surface::controls |
◆ controls_by_device_independent_id
| std::map<int,Control*> ArdourSurface::US2400::Surface::controls_by_device_independent_id |
◆ faders
| std::map<int,Fader*> ArdourSurface::US2400::Surface::faders |
◆ groups
| Groups ArdourSurface::US2400::Surface::groups |
◆ input_source
| GSource* ArdourSurface::US2400::Surface::input_source |
◆ leds
| std::map<int,Led*> ArdourSurface::US2400::Surface::leds |
◆ master_connection
◆ meters
| std::map<int,Meter*> ArdourSurface::US2400::Surface::meters |
◆ pots
| std::map<int,Pot*> ArdourSurface::US2400::Surface::pots |
◆ strips
| Strips ArdourSurface::US2400::Surface::strips |
The documentation for this class was generated from the following file: