Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::NS_MCU::MackieControlProtocol Class Reference

#include <mackie_control_protocol.h>

Inheritance diagram for ArdourSurface::NS_MCU::MackieControlProtocol:
[legend]

Classes

struct  ButtonHandlers
 
struct  ipMIDIHandler
 

Public Types

enum  ViewMode {
  Mixer , MidiTracks , Inputs , AudioTracks ,
  AudioInstr , Auxes , Busses , Outputs ,
  Selected
}
 
enum  FlipMode { Normal , Mirror , Swap , Zero }
 
typedef std::list< std::shared_ptr< NS_MCU ::Surface > > Surfaces
 
typedef std::list< std::shared_ptr< ARDOUR::AutomationControl > > ControlList
 
- Public Types inherited from PBD::EventLoop
enum  RequestType { range_guarantee = ~0 }
 

Public Member Functions

 MackieControlProtocol (ARDOUR::Session &, const char *name)
 
virtual ~MackieControlProtocol ()
 
const NS_MCU ::DeviceInfodevice_info () const
 
NS_MCU ::DeviceProfiledevice_profile ()
 
void device_ready ()
 
int set_active (bool yn)
 
int set_device (const std::string &, bool force)
 
void set_profile (const std::string &)
 
FlipMode flip_mode () const
 
ViewMode view_mode () const
 
std::shared_ptr< NS_MCU ::Subview > subview ()
 
bool zoom_mode () const
 
bool metering_active () const
 
bool is_track (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_audio_track (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_midi_track (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_trigger_track (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_foldback_bus (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_vca (std::shared_ptr< ARDOUR::Stripable >) const
 
bool has_instrument (std::shared_ptr< ARDOUR::Stripable >) const
 
bool is_mapped (std::shared_ptr< ARDOUR::Stripable >) const
 
std::shared_ptr< ARDOUR::Stripablefirst_selected_stripable () const
 
void check_fader_automation_state ()
 
void update_fader_automation_state ()
 
void set_automation_state (ARDOUR::AutoState)
 
void set_view_mode (ViewMode)
 
bool set_subview_mode (NS_MCU ::Subview::Mode, std::shared_ptr< ARDOUR::Stripable >)
 
bool redisplay_subview_mode ()
 
void set_flip_mode (FlipMode)
 
void display_view_mode ()
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
std::shared_ptr< NS_MCU ::Surfaceget_surface_by_raw_pointer (void *) const
 
std::shared_ptr< NS_MCU ::Surfacenth_surface (uint32_t) const
 
uint32_t global_index (NS_MCU ::Strip &)
 
uint32_t global_index_locked (NS_MCU ::Strip &)
 
std::list< std::shared_ptr< ARDOUR::Bundle > > bundles ()
 
void set_master_on_surface_strip (uint32_t surface, uint32_t strip)
 
void set_monitor_on_surface_strip (uint32_t surface, uint32_t strip)
 
uint32_t n_strips (bool with_locked_strips=true) const
 
bool has_editor () const
 
void * get_gui () const
 
void tear_down_gui ()
 
void handle_button_event (NS_MCU ::Surface &, NS_MCU ::Button &button, NS_MCU ::ButtonState)
 
void notify_subview_stripable_deleted ()
 
void notify_routes_added (ARDOUR::RouteList &)
 
void notify_vca_added (ARDOUR::VCAList &)
 
void notify_monitor_added_or_removed ()
 
void notify_presentation_info_changed (PBD::PropertyChange const &)
 
void recalibrate_faders ()
 
void toggle_backlight ()
 
void set_touch_sensitivity (int)
 
void refresh_current_bank ()
 
void notify_record_state_changed ()
 
void notify_transport_state_changed ()
 
void notify_loop_state_changed ()
 
void notify_metering_state_changed ()
 
void notify_parameter_changed (std::string const &)
 
void notify_solo_active_changed (bool)
 
void update_timecode_beats_led ()
 
void update_led (NS_MCU ::Surface &, NS_MCU ::Button &button, NS_MCU ::LedState)
 this is called to generate the midi to send in response to a button press. More...
 
void update_global_button (int id, NS_MCU ::LedState)
 
void update_global_led (int id, NS_MCU ::LedState)
 
ARDOUR::Sessionget_session ()
 
samplepos_t transport_sample () const
 
int modifier_state () const
 
int main_modifier_state () const
 
void add_down_button (ARDOUR::AutomationType, int surface, int strip)
 
void remove_down_button (ARDOUR::AutomationType, int surface, int strip)
 
ControlList down_controls (ARDOUR::AutomationType, uint32_t pressed)
 
void add_down_select_button (int surface, int strip)
 
void remove_down_select_button (int surface, int strip)
 
void select_range (uint32_t pressed)
 
int16_t ipmidi_base () const
 
void set_ipmidi_base (int16_t)
 
- Public Member Functions inherited from ARDOUR::ControlProtocol
 ControlProtocol (Session &, std::string name)
 
virtual ~ControlProtocol ()
 
virtual std::string name () const
 
virtual bool active () const
 
virtual int set_feedback (bool)
 
virtual bool get_feedback () const
 
virtual void midi_connectivity_established (bool)
 
void add_stripable_to_selection (std::shared_ptr< ARDOUR::Stripable >)
 
void set_stripable_selection (std::shared_ptr< ARDOUR::Stripable >)
 
void toggle_stripable_selection (std::shared_ptr< ARDOUR::Stripable >)
 
void remove_stripable_from_selection (std::shared_ptr< ARDOUR::Stripable >)
 
void clear_stripable_selection ()
 
virtual void add_rid_to_selection (int rid)
 
virtual void set_rid_selection (int rid)
 
virtual void toggle_rid_selection (int rid)
 
virtual void remove_rid_from_selection (int rid)
 
std::shared_ptr< ARDOUR::Stripablefirst_selected_stripable () const
 
void set_route_table_size (uint32_t size)
 
void set_route_table (uint32_t table_index, std::shared_ptr< ARDOUR::Route >)
 
bool set_route_table (uint32_t table_index, uint32_t remote_control_id)
 
void route_set_rec_enable (uint32_t table_index, bool yn)
 
bool route_get_rec_enable (uint32_t table_index)
 
float route_get_gain (uint32_t table_index)
 
void route_set_gain (uint32_t table_index, float)
 
float route_get_effective_gain (uint32_t table_index)
 
float route_get_peak_input_power (uint32_t table_index, uint32_t which_input)
 
bool route_get_muted (uint32_t table_index)
 
void route_set_muted (uint32_t table_index, bool)
 
bool route_get_soloed (uint32_t table_index)
 
void route_set_soloed (uint32_t table_index, bool)
 
std::string route_get_name (uint32_t table_index)
 
- Public Member Functions inherited from PBD::Stateful
 Stateful ()
 
virtual ~Stateful ()
 
virtual bool apply_change (PropertyBase const &)
 
PropertyChange apply_changes (PropertyList const &)
 
const OwnedPropertyListproperties () const
 
void add_property (PropertyBase &s)
 
void add_extra_xml (XMLNode &)
 
XMLNodeextra_xml (const std::string &str, bool add_if_missing=false)
 
void save_extra_xml (const XMLNode &)
 
const PBD::IDid () const
 
bool set_id (const XMLNode &)
 
void set_id (const std::string &)
 
void reset_id ()
 
void clear_changes ()
 
virtual void clear_owned_changes ()
 
PropertyListget_changes_as_properties (PBD::Command *) const
 
virtual void rdiff (std::vector< PBD::Command * > &) const
 
bool changed () const
 
virtual PropertyListproperty_factory (const XMLNode &) const
 
virtual void suspend_property_changes ()
 
virtual void resume_property_changes ()
 
bool property_changes_suspended () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from BasicUI
 BasicUI (ARDOUR::Session &)
 
virtual ~BasicUI ()
 
void add_marker (const std::string &=std::string())
 
void remove_marker_at_playhead ()
 
void register_thread (std::string name)
 
void loop_toggle ()
 
void loop_location (Temporal::timepos_t const &start, Temporal::timepos_t const &end)
 
void access_action (std::string action_path)
 
void goto_zero ()
 
void goto_start (bool and_roll=false)
 
void goto_end ()
 
void button_varispeed (bool fwd)
 
void rewind ()
 
void ffwd ()
 
void transport_stop ()
 
void transport_play (bool jump_back=false)
 
void set_transport_speed (double speed)
 
double get_transport_speed () const
 
double transport_rolling () const
 
void jump_by_seconds (double sec, ARDOUR::LocateTransportDisposition ltd=ARDOUR::RollIfAppropriate)
 
void jump_by_bars (int bars, ARDOUR::LocateTransportDisposition ltd=ARDOUR::RollIfAppropriate)
 
void jump_by_beats (int beats, ARDOUR::LocateTransportDisposition ltd=ARDOUR::RollIfAppropriate)
 
ARDOUR::samplepos_t transport_sample ()
 
void locate (ARDOUR::samplepos_t sample, ARDOUR::LocateTransportDisposition ltd)
 
void locate (ARDOUR::samplepos_t sample, bool)
 
bool locating ()
 
bool locked ()
 
void save_state ()
 
void prev_marker ()
 
void next_marker ()
 
void undo ()
 
void redo ()
 
void toggle_punch_in ()
 
void toggle_punch_out ()
 
void mark_in ()
 
void mark_out ()
 
void toggle_click ()
 
void midi_panic ()
 
void trigger_cue_row (int cue)
 
void trigger_stop_all (bool stop_now=false)
 
void trigger_stop_col (int col, bool immediately=false)
 
void store_mixer_scene (int scn)
 
void apply_mixer_scene (int scn)
 
void toggle_monitor_mute ()
 
void toggle_monitor_dim ()
 
void toggle_monitor_mono ()
 
void cancel_all_solo ()
 
void quick_snapshot_stay ()
 
void quick_snapshot_switch ()
 
void toggle_roll (bool with_abort, bool roll_out_of_bounded_mode)
 
void stop_forget ()
 
void set_punch_range ()
 
void set_loop_range ()
 
void set_session_range ()
 
void set_record_enable (bool yn)
 
bool get_record_enabled ()
 
void fit_1_track ()
 
void fit_2_tracks ()
 
void fit_4_tracks ()
 
void fit_8_tracks ()
 
void fit_16_tracks ()
 
void fit_32_tracks ()
 
void fit_all_tracks ()
 
void zoom_10_ms ()
 
void zoom_100_ms ()
 
void zoom_1_sec ()
 
void zoom_10_sec ()
 
void zoom_1_min ()
 
void zoom_5_min ()
 
void zoom_10_min ()
 
void zoom_to_session ()
 
void temporal_zoom_in ()
 
void temporal_zoom_out ()
 
void scroll_up_1_track ()
 
void scroll_dn_1_track ()
 
void scroll_up_1_page ()
 
void scroll_dn_1_page ()
 
void rec_enable_toggle ()
 
void toggle_all_rec_enables ()
 
void all_tracks_rec_in ()
 
void all_tracks_rec_out ()
 
void goto_nth_marker (int n)
 
ARDOUR::samplecnt_t timecode_frames_per_hour ()
 
void timecode_time (samplepos_t where, Timecode::Time &)
 
void timecode_to_sample (Timecode::Time &timecode, samplepos_t &sample, bool use_offset, bool use_subframes) const
 
void sample_to_timecode (samplepos_t sample, Timecode::Time &timecode, bool use_offset, bool use_subframes) const
 
bool stop_button_onoff () const
 
bool play_button_onoff () const
 
bool ffwd_button_onoff () const
 
bool rewind_button_onoff () const
 
bool loop_button_onoff () const
 
void tbank_set_size (int route_width, int row_height)
 
void tbank_step_routes (int step_size)
 
void tbank_step_rows (int step_size)
 
float trigger_progress_at (int x)
 
TriggerDisplay trigger_display_at (int x, int y)
 
void bang_trigger_at (int x, int y)
 
void unbang_trigger_at (int x, int y)
 
std::shared_ptr< ARDOUR::Triggerfind_trigger (int x, int y)
 
- Public Member Functions inherited from AbstractUI< MackieControlUIRequest >
 AbstractUI (const std::string &name)
 
virtual ~AbstractUI ()
 
void register_thread (pthread_t, std::string, uint32_t num_requests)
 
bool call_slot (EventLoop::InvalidationRecord *, const std::function< void()> &)
 
Glib::Threads::RWLock & slot_invalidation_rwlock ()
 
- Public Member Functions inherited from BaseUI
 BaseUI (const std::string &name)
 
virtual ~BaseUI ()
 
BaseUIbase_instance ()
 
Glib::RefPtr< Glib::MainLoop > main_loop () const
 
bool caller_is_self () const
 
bool ok () const
 
void run ()
 
void quit ()
 
- Public Member Functions inherited from PBD::EventLoop
 EventLoop (std::string const &)
 
virtual ~EventLoop ()
 
virtual bool call_slot (InvalidationRecord *, const std::function< void()> &)=0
 
std::string event_loop_name () const
 

Static Public Member Functions

static MackieControlProtocolinstance ()
 
- Static Public Member Functions inherited from ARDOUR::ControlProtocol
static StripableNotificationList const & last_selected ()
 
static void notify_stripable_selection_changed (StripableNotificationListPtr)
 
- Static Public Member Functions inherited from BaseUI
static RequestType new_request_type ()
 
static void set_thread_priority (int p)
 
- Static Public Member Functions inherited from PBD::EventLoop
static void * invalidate_request (void *data)
 
static EventLoopget_event_loop_for_thread ()
 
static void set_event_loop_for_thread (EventLoop *ui)
 
static std::vector< ThreadBufferMappingget_request_buffers_for_target_thread (const std::string &)
 
static void pre_register (const std::string &emitting_thread_name, uint32_t num_requests)
 
static void remove_request_buffer_from_map (pthread_t)
 
static InvalidationRecord__invalidator (sigc::trackable &trackable, const char *, int)
 

Public Attributes

PBD::Signal< void()> DeviceChanged
 
PBD::Signal< void(std::shared_ptr< NS_MCU ::Surface >)> ConnectionChange
 
Glib::Threads::Mutex surfaces_lock
 
Surfaces surfaces
 
- Public Attributes inherited from ARDOUR::ControlProtocol
PBD::Signal< void()> ActiveChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Public Attributes inherited from AbstractUI< MackieControlUIRequest >
Glib::Threads::RWLock request_buffer_map_lock
 
- Public Attributes inherited from PBD::EventLoop
std::list< InvalidationRecord * > trash
 

Static Public Attributes

static const int MODIFIER_OPTION
 
static const int MODIFIER_CONTROL
 
static const int MODIFIER_SHIFT
 
static const int MODIFIER_CMDALT
 
static const int MODIFIER_ZOOM
 
static const int MODIFIER_SCRUB
 
static const int MODIFIER_MARKER
 
static const int MODIFIER_NUDGE
 
static const int MAIN_MODIFIER_MASK
 
- Static Public Attributes inherited from ARDOUR::ControlProtocol
static PBD::Signal< void()> ZoomToSession
 
static PBD::Signal< void()> ZoomIn
 
static PBD::Signal< void()> ZoomOut
 
static PBD::Signal< void()> Enter
 
static PBD::Signal< void()> Undo
 
static PBD::Signal< void()> Redo
 
static PBD::Signal< void(float)> ScrollTimeline
 
static PBD::Signal< void(uint32_t)> GotoView
 
static PBD::Signal< void()> CloseDialog
 
static PBD::Signal< void()> VerticalZoomInAll
 
static PBD::Signal< void()> VerticalZoomOutAll
 
static PBD::Signal< void()> VerticalZoomInSelected
 
static PBD::Signal< void()> VerticalZoomOutSelected
 
static PBD::Signal< void()> StepTracksDown
 
static PBD::Signal< void()> StepTracksUp
 
static PBD::Signal< void(std::weak_ptr< ARDOUR::PluginInsert >)> PluginSelected
 
static const std::string state_node_name
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- Static Public Attributes inherited from BasicUI
static PBD::Signal< void(std::string, std::string)> AccessAction
 
- Static Public Attributes inherited from BaseUI
static RequestType CallSlot
 
static RequestType Quit
 

Protected Types

typedef std::vector< std::shared_ptr< ARDOUR::Stripable > > Sorted
 
- Protected Types inherited from AbstractUI< MackieControlUIRequest >
typedef RequestBuffer::rw_vector RequestBufferVector
 
typedef std::map< pthread_t, RequestBuffer * >::iterator RequestBufferMapIterator
 
typedef std::map< pthread_t, RequestBuffer * > RequestBufferMap
 

Protected Member Functions

void close ()
 
void update_surfaces ()
 
void connect_session_signals ()
 
void zero_all ()
 
Sorted get_sorted_stripables ()
 
int switch_banks (uint32_t first_remote_id, bool force=false)
 
void prev_track ()
 
void next_track ()
 
void update_timecode_display ()
 
std::string format_bbt_timecode (ARDOUR::samplepos_t now_sample)
 
std::string format_timecode_timecode (ARDOUR::samplepos_t now_sample)
 
void do_request (MackieControlUIRequest *)
 
int stop ()
 
void thread_init ()
 
bool stripable_is_locked_to_strip (std::shared_ptr< ARDOUR::Stripable >) const
 
 CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ()
 
- Protected Member Functions inherited from ARDOUR::ControlProtocol
void next_track (uint32_t initial_id)
 
void prev_track (uint32_t initial_id)
 
virtual void event_loop_precall ()
 
void install_precall_handler (Glib::RefPtr< Glib::MainContext >)
 
- Protected Member Functions inherited from PBD::Stateful
void add_instant_xml (XMLNode &, const std::string &directory_path)
 
XMLNodeinstant_xml (const std::string &str, const std::string &directory_path)
 
void add_properties (XMLNode &) const
 
PropertyChange set_values (XMLNode const &)
 
virtual void post_set (const PropertyChange &)
 
virtual void send_change (const PropertyChange &)
 
virtual void mid_thaw (const PropertyChange &)
 
bool regenerate_xml_or_string_ids () const
 
- Protected Member Functions inherited from BasicUI
 BasicUI ()
 
- Protected Member Functions inherited from AbstractUI< MackieControlUIRequest >
MackieControlUIRequest * get_request (RequestType)
 
void handle_ui_requests ()
 
void send_request (MackieControlUIRequest *)
 
virtual void do_request (MackieControlUIRequest *)=0
 
RequestBuffer * get_per_thread_request_buffer ()
 
- Protected Member Functions inherited from BaseUI
bool signal_running ()
 
int set_thread_priority () const
 
bool request_handler (Glib::IOCondition)
 
void signal_new_request ()
 
void attach_request_source ()
 
virtual void maybe_install_precall_handler (Glib::RefPtr< Glib::MainContext >)
 

Private Types

typedef std::map< NS_MCU ::Button::ID, ButtonHandlersButtonMap
 
typedef std::set< uint32_t > DownButtonList
 
typedef std::map< ARDOUR::AutomationType, DownButtonListDownButtonMap
 

Private Member Functions

bool profile_exists (std::string const &) const
 
int create_surfaces ()
 
bool periodic ()
 
bool redisplay ()
 
bool hui_heartbeat ()
 
void build_gui ()
 
bool midi_input_handler (Glib::IOCondition ioc, MIDI::Port *port)
 
void clear_ports ()
 
void clear_surfaces ()
 
void force_special_stripable_to_strip (std::shared_ptr< ARDOUR::Stripable > r, uint32_t surface, uint32_t strip_number)
 
void build_button_map ()
 
void build_device_specific_button_map ()
 
void stripable_selection_changed ()
 
int ipmidi_restart ()
 
void initialize ()
 
int set_device_info (const std::string &device_name)
 
void update_configuration_state () const
 
void connection_handler (std::weak_ptr< ARDOUR::Port >, std::string name1, std::weak_ptr< ARDOUR::Port >, std::string name2, bool)
 
void pull_stripable_range (DownButtonList &, ARDOUR::StripableList &, uint32_t pressed)
 
NS_MCU ::LedState stop_press (NS_MCU ::Button &)
 
NS_MCU ::LedState stop_release (NS_MCU ::Button &)
 
NS_MCU ::LedState play_press (NS_MCU ::Button &)
 
NS_MCU ::LedState play_release (NS_MCU ::Button &)
 
NS_MCU ::LedState record_press (NS_MCU ::Button &)
 
NS_MCU ::LedState record_release (NS_MCU ::Button &)
 
NS_MCU ::LedState loop_press (NS_MCU ::Button &)
 
NS_MCU ::LedState loop_release (NS_MCU ::Button &)
 
NS_MCU ::LedState rewind_press (NS_MCU ::Button &button)
 
NS_MCU ::LedState rewind_release (NS_MCU ::Button &button)
 
NS_MCU ::LedState ffwd_press (NS_MCU ::Button &button)
 
NS_MCU ::LedState ffwd_release (NS_MCU ::Button &button)
 
NS_MCU ::LedState cursor_up_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_up_release (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_down_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_down_release (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_left_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_left_release (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_right_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cursor_right_release (NS_MCU ::Button &)
 
NS_MCU ::LedState left_press (NS_MCU ::Button &)
 
NS_MCU ::LedState left_release (NS_MCU ::Button &)
 
NS_MCU ::LedState right_press (NS_MCU ::Button &)
 
NS_MCU ::LedState right_release (NS_MCU ::Button &)
 
NS_MCU ::LedState channel_left_press (NS_MCU ::Button &)
 
NS_MCU ::LedState channel_left_release (NS_MCU ::Button &)
 
NS_MCU ::LedState channel_right_press (NS_MCU ::Button &)
 
NS_MCU ::LedState channel_right_release (NS_MCU ::Button &)
 
NS_MCU ::LedState marker_press (NS_MCU ::Button &)
 
NS_MCU ::LedState marker_release (NS_MCU ::Button &)
 
NS_MCU ::LedState save_press (NS_MCU ::Button &)
 
NS_MCU ::LedState save_release (NS_MCU ::Button &)
 
NS_MCU ::LedState timecode_beats_press (NS_MCU ::Button &)
 
NS_MCU ::LedState timecode_beats_release (NS_MCU ::Button &)
 
NS_MCU ::LedState zoom_press (NS_MCU ::Button &)
 
NS_MCU ::LedState zoom_release (NS_MCU ::Button &)
 
NS_MCU ::LedState scrub_press (NS_MCU ::Button &)
 
NS_MCU ::LedState scrub_release (NS_MCU ::Button &)
 
NS_MCU ::LedState undo_press (NS_MCU ::Button &)
 
NS_MCU ::LedState undo_release (NS_MCU ::Button &)
 
NS_MCU ::LedState shift_press (NS_MCU ::Button &)
 
NS_MCU ::LedState shift_release (NS_MCU ::Button &)
 
NS_MCU ::LedState option_press (NS_MCU ::Button &)
 
NS_MCU ::LedState option_release (NS_MCU ::Button &)
 
NS_MCU ::LedState control_press (NS_MCU ::Button &)
 
NS_MCU ::LedState control_release (NS_MCU ::Button &)
 
NS_MCU ::LedState cmd_alt_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cmd_alt_release (NS_MCU ::Button &)
 
NS_MCU ::LedState pan_press (NS_MCU ::Button &)
 
NS_MCU ::LedState pan_release (NS_MCU ::Button &)
 
NS_MCU ::LedState plugin_press (NS_MCU ::Button &)
 
NS_MCU ::LedState plugin_release (NS_MCU ::Button &)
 
NS_MCU ::LedState eq_press (NS_MCU ::Button &)
 
NS_MCU ::LedState eq_release (NS_MCU ::Button &)
 
NS_MCU ::LedState dyn_press (NS_MCU ::Button &)
 
NS_MCU ::LedState dyn_release (NS_MCU ::Button &)
 
NS_MCU ::LedState flip_press (NS_MCU ::Button &)
 
NS_MCU ::LedState flip_release (NS_MCU ::Button &)
 
NS_MCU ::LedState name_value_press (NS_MCU ::Button &)
 
NS_MCU ::LedState name_value_release (NS_MCU ::Button &)
 
NS_MCU ::LedState touch_press (NS_MCU ::Button &)
 
NS_MCU ::LedState touch_release (NS_MCU ::Button &)
 
NS_MCU ::LedState enter_press (NS_MCU ::Button &)
 
NS_MCU ::LedState enter_release (NS_MCU ::Button &)
 
NS_MCU ::LedState cancel_press (NS_MCU ::Button &)
 
NS_MCU ::LedState cancel_release (NS_MCU ::Button &)
 
NS_MCU ::LedState user_a_press (NS_MCU ::Button &)
 
NS_MCU ::LedState user_a_release (NS_MCU ::Button &)
 
NS_MCU ::LedState user_b_press (NS_MCU ::Button &)
 
NS_MCU ::LedState user_b_release (NS_MCU ::Button &)
 
NS_MCU ::LedState fader_touch_press (NS_MCU ::Button &)
 
NS_MCU ::LedState fader_touch_release (NS_MCU ::Button &)
 
NS_MCU ::LedState master_fader_touch_press (NS_MCU ::Button &)
 
NS_MCU ::LedState master_fader_touch_release (NS_MCU ::Button &)
 
NS_MCU ::LedState read_press (NS_MCU ::Button &)
 
NS_MCU ::LedState read_release (NS_MCU ::Button &)
 
NS_MCU ::LedState write_press (NS_MCU ::Button &)
 
NS_MCU ::LedState write_release (NS_MCU ::Button &)
 
NS_MCU ::LedState clearsolo_press (NS_MCU ::Button &)
 
NS_MCU ::LedState clearsolo_release (NS_MCU ::Button &)
 
NS_MCU ::LedState track_press (NS_MCU ::Button &)
 
NS_MCU ::LedState track_release (NS_MCU ::Button &)
 
NS_MCU ::LedState send_press (NS_MCU ::Button &)
 
NS_MCU ::LedState send_release (NS_MCU ::Button &)
 
NS_MCU ::LedState miditracks_press (NS_MCU ::Button &)
 
NS_MCU ::LedState miditracks_release (NS_MCU ::Button &)
 
NS_MCU ::LedState inputs_press (NS_MCU ::Button &)
 
NS_MCU ::LedState inputs_release (NS_MCU ::Button &)
 
NS_MCU ::LedState audiotracks_press (NS_MCU ::Button &)
 
NS_MCU ::LedState audiotracks_release (NS_MCU ::Button &)
 
NS_MCU ::LedState audioinstruments_press (NS_MCU ::Button &)
 
NS_MCU ::LedState audioinstruments_release (NS_MCU ::Button &)
 
NS_MCU ::LedState aux_press (NS_MCU ::Button &)
 
NS_MCU ::LedState aux_release (NS_MCU ::Button &)
 
NS_MCU ::LedState busses_press (NS_MCU ::Button &)
 
NS_MCU ::LedState busses_release (NS_MCU ::Button &)
 
NS_MCU ::LedState outputs_press (NS_MCU ::Button &)
 
NS_MCU ::LedState outputs_release (NS_MCU ::Button &)
 
NS_MCU ::LedState user_press (NS_MCU ::Button &)
 
NS_MCU ::LedState user_release (NS_MCU ::Button &)
 
NS_MCU ::LedState trim_press (NS_MCU ::Button &)
 
NS_MCU ::LedState trim_release (NS_MCU ::Button &)
 
NS_MCU ::LedState latch_press (NS_MCU ::Button &)
 
NS_MCU ::LedState latch_release (NS_MCU ::Button &)
 
NS_MCU ::LedState grp_press (NS_MCU ::Button &)
 
NS_MCU ::LedState grp_release (NS_MCU ::Button &)
 
NS_MCU ::LedState nudge_press (NS_MCU ::Button &)
 
NS_MCU ::LedState nudge_release (NS_MCU ::Button &)
 
NS_MCU ::LedState drop_press (NS_MCU ::Button &)
 
NS_MCU ::LedState drop_release (NS_MCU ::Button &)
 
NS_MCU ::LedState replace_press (NS_MCU ::Button &)
 
NS_MCU ::LedState replace_release (NS_MCU ::Button &)
 
NS_MCU ::LedState click_press (NS_MCU ::Button &)
 
NS_MCU ::LedState click_release (NS_MCU ::Button &)
 
NS_MCU ::LedState view_press (NS_MCU ::Button &)
 
NS_MCU ::LedState view_release (NS_MCU ::Button &)
 
NS_MCU ::LedState bank_release (NS_MCU ::Button &, uint32_t bank_num)
 
NS_MCU ::LedState master_press (NS_MCU ::Button &)
 
NS_MCU ::LedState master_release (NS_MCU ::Button &)
 
NS_MCU ::LedState redo_press (NS_MCU ::Button &)
 
NS_MCU ::LedState redo_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prev_marker_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prev_marker_release (NS_MCU ::Button &)
 
NS_MCU ::LedState next_marker_press (NS_MCU ::Button &)
 
NS_MCU ::LedState next_marker_release (NS_MCU ::Button &)
 
NS_MCU ::LedState flip_window_press (NS_MCU ::Button &)
 
NS_MCU ::LedState flip_window_release (NS_MCU ::Button &)
 
NS_MCU ::LedState open_press (NS_MCU ::Button &)
 
NS_MCU ::LedState open_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_clear_solo_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_clear_solo_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_save_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_save_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_vst_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_vst_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_left_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_left_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_right_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_right_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_marker_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_marker_release (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_undo_press (NS_MCU ::Button &)
 
NS_MCU ::LedState prog2_undo_release (NS_MCU ::Button &)
 

Private Attributes

NS_MCU ::DeviceInfo _device_info
 
NS_MCU ::DeviceProfile _device_profile
 
sigc::connection periodic_connection
 
sigc::connection redisplay_connection
 
sigc::connection hui_connection
 
uint32_t _current_initial_bank
 
PBD::ScopedConnectionList audio_engine_connections
 
PBD::ScopedConnectionList session_connections
 
PBD::ScopedConnectionList stripable_connections
 
PBD::ScopedConnectionList gui_connections
 
PBD::ScopedConnectionList fader_automation_connections
 
NS_MCU ::Timer _frm_left_last
 
std::string _timecode_last
 
samplepos_t _sample_last
 
ARDOUR::AnyTime::Type _timecode_type
 
std::shared_ptr< ARDOUR::Bundle_input_bundle
 
std::shared_ptr< ARDOUR::Bundle_output_bundle
 
void * _gui
 
bool _scrub_mode
 
FlipMode _flip_mode
 
ViewMode _view_mode
 
std::shared_ptr< NS_MCU ::Subview > _subview
 
int _current_selected_track
 
int _modifier_state
 
ButtonMap button_map
 
int16_t _ipmidi_base
 
bool needs_ipmidi_restart
 
bool _metering_active
 
bool _initialized
 
XMLNodeconfiguration_state
 
int state_version
 
int _last_bank [9]
 
bool marker_modifier_consumed_by_button
 
bool nudge_modifier_consumed_by_button
 
std::shared_ptr< ArdourSurface::NS_MCU ::Surface_master_surface
 
PBD::ScopedConnection port_connection
 
DownButtonMap _down_buttons
 
DownButtonList _down_select_buttons
 

Static Private Attributes

static MackieControlProtocol_instance
 

Friends

struct ipMIDIHandler
 
gboolean ArdourSurface::NS_MCU ::ipmidi_input_handler (GIOChannel *, GIOCondition condition, void *data)
 

Additional Inherited Members

- Protected Attributes inherited from ARDOUR::ControlProtocol
std::vector< std::shared_ptr< ARDOUR::Route > > route_table
 
std::string _name
 
GlibEventLoopCallback glib_event_callback
 
- Protected Attributes inherited from PBD::Stateful
XMLNode_extra_xml
 
XMLNode_instant_xml
 
PBD::PropertyChange _pending_changed
 
Glib::Threads::Mutex _lock
 
std::string _xml_node_name
 name of node to use for this object in XML More...
 
OwnedPropertyList_properties
 
- Protected Attributes inherited from BasicUI
ARDOUR::Sessionsession
 
int _tbank_route_width
 
int _tbank_row_height
 
int _tbank_start_route
 
int _tbank_start_row
 
- Protected Attributes inherited from AbstractUI< MackieControlUIRequest >
RequestBufferMap request_buffers
 
std::list< MackieControlUIRequest * > request_list
 
PBD::ScopedConnection new_thread_connection
 
- Protected Attributes inherited from BaseUI
bool _ok
 
Glib::RefPtr< Glib::MainLoop > _main_loop
 
Glib::RefPtr< Glib::MainContext > m_context
 
PBD::Thread_run_loop_thread
 
Glib::Threads::Mutex _run_lock
 
Glib::Threads::Cond _running
 

Detailed Description

Definition at line 74 of file mackie_control_protocol.h.

Member Typedef Documentation

◆ ButtonMap

◆ ControlList

◆ DownButtonList

Definition at line 368 of file mackie_control_protocol.h.

◆ DownButtonMap

◆ Sorted

typedef std::vector<std::shared_ptr<ARDOUR::Stripable> > ArdourSurface::NS_MCU::MackieControlProtocol::Sorted
protected

Fetch the set of Stripables to be considered for control by the surface. Excluding master, hidden and control routes, and inactive routes

Definition at line 254 of file mackie_control_protocol.h.

◆ Surfaces

typedef std::list<std::shared_ptr< NS_MCU ::Surface> > ArdourSurface::NS_MCU::MackieControlProtocol::Surfaces

Definition at line 160 of file mackie_control_protocol.h.

Member Enumeration Documentation

◆ FlipMode

Enumerator
Normal 
Mirror 
Swap 
Zero 

Definition at line 101 of file mackie_control_protocol.h.

◆ ViewMode

Enumerator
Mixer 
MidiTracks 
Inputs 
AudioTracks 
AudioInstr 
Auxes 
Busses 
Outputs 
Selected 

Definition at line 89 of file mackie_control_protocol.h.

Constructor & Destructor Documentation

◆ MackieControlProtocol()

ArdourSurface::NS_MCU::MackieControlProtocol::MackieControlProtocol ( ARDOUR::Session ,
const char *  name 
)

◆ ~MackieControlProtocol()

virtual ArdourSurface::NS_MCU::MackieControlProtocol::~MackieControlProtocol ( )
virtual

Member Function Documentation

◆ add_down_button()

void ArdourSurface::NS_MCU::MackieControlProtocol::add_down_button ( ARDOUR::AutomationType  ,
int  surface,
int  strip 
)

◆ add_down_select_button()

void ArdourSurface::NS_MCU::MackieControlProtocol::add_down_select_button ( int  surface,
int  strip 
)

◆ audioinstruments_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::audioinstruments_press ( NS_MCU ::Button )
private

◆ audioinstruments_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::audioinstruments_release ( NS_MCU ::Button )
private

◆ audiotracks_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::audiotracks_press ( NS_MCU ::Button )
private

◆ audiotracks_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::audiotracks_release ( NS_MCU ::Button )
private

◆ aux_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::aux_press ( NS_MCU ::Button )
private

◆ aux_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::aux_release ( NS_MCU ::Button )
private

◆ bank_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::bank_release ( NS_MCU ::Button ,
uint32_t  bank_num 
)
private

◆ build_button_map()

void ArdourSurface::NS_MCU::MackieControlProtocol::build_button_map ( )
private

◆ build_device_specific_button_map()

void ArdourSurface::NS_MCU::MackieControlProtocol::build_device_specific_button_map ( )
private

◆ build_gui()

void ArdourSurface::NS_MCU::MackieControlProtocol::build_gui ( )
private

◆ bundles()

std::list<std::shared_ptr<ARDOUR::Bundle> > ArdourSurface::NS_MCU::MackieControlProtocol::bundles ( )
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ busses_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::busses_press ( NS_MCU ::Button )
private

◆ busses_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::busses_release ( NS_MCU ::Button )
private

◆ cancel_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cancel_press ( NS_MCU ::Button )
private

◆ cancel_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cancel_release ( NS_MCU ::Button )
private

◆ channel_left_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::channel_left_press ( NS_MCU ::Button )
private

◆ channel_left_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::channel_left_release ( NS_MCU ::Button )
private

◆ channel_right_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::channel_right_press ( NS_MCU ::Button )
private

◆ channel_right_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::channel_right_release ( NS_MCU ::Button )
private

◆ check_fader_automation_state()

void ArdourSurface::NS_MCU::MackieControlProtocol::check_fader_automation_state ( )

◆ clear_ports()

void ArdourSurface::NS_MCU::MackieControlProtocol::clear_ports ( )
private

◆ clear_surfaces()

void ArdourSurface::NS_MCU::MackieControlProtocol::clear_surfaces ( )
private

◆ clearsolo_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::clearsolo_press ( NS_MCU ::Button )
private

◆ clearsolo_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::clearsolo_release ( NS_MCU ::Button )
private

◆ click_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::click_press ( NS_MCU ::Button )
private

◆ click_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::click_release ( NS_MCU ::Button )
private

◆ close()

void ArdourSurface::NS_MCU::MackieControlProtocol::close ( )
protected

◆ cmd_alt_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cmd_alt_press ( NS_MCU ::Button )
private

◆ cmd_alt_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cmd_alt_release ( NS_MCU ::Button )
private

◆ connect_session_signals()

void ArdourSurface::NS_MCU::MackieControlProtocol::connect_session_signals ( )
protected

◆ connection_handler()

void ArdourSurface::NS_MCU::MackieControlProtocol::connection_handler ( std::weak_ptr< ARDOUR::Port ,
std::string  name1,
std::weak_ptr< ARDOUR::Port ,
std::string  name2,
bool   
)
private

◆ control_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::control_press ( NS_MCU ::Button )
private

◆ CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL()

ArdourSurface::NS_MCU::MackieControlProtocol::CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ( )
protected

◆ control_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::control_release ( NS_MCU ::Button )
private

◆ create_surfaces()

int ArdourSurface::NS_MCU::MackieControlProtocol::create_surfaces ( )
private

◆ cursor_down_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_down_press ( NS_MCU ::Button )
private

◆ cursor_down_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_down_release ( NS_MCU ::Button )
private

◆ cursor_left_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_left_press ( NS_MCU ::Button )
private

◆ cursor_left_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_left_release ( NS_MCU ::Button )
private

◆ cursor_right_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_right_press ( NS_MCU ::Button )
private

◆ cursor_right_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_right_release ( NS_MCU ::Button )
private

◆ cursor_up_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_up_press ( NS_MCU ::Button )
private

◆ cursor_up_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::cursor_up_release ( NS_MCU ::Button )
private

◆ device_info()

const NS_MCU ::DeviceInfo& ArdourSurface::NS_MCU::MackieControlProtocol::device_info ( ) const
inline

Definition at line 113 of file mackie_control_protocol.h.

◆ device_profile()

NS_MCU ::DeviceProfile& ArdourSurface::NS_MCU::MackieControlProtocol::device_profile ( )
inline

Definition at line 114 of file mackie_control_protocol.h.

◆ device_ready()

void ArdourSurface::NS_MCU::MackieControlProtocol::device_ready ( )

◆ display_view_mode()

void ArdourSurface::NS_MCU::MackieControlProtocol::display_view_mode ( )

◆ do_request()

void ArdourSurface::NS_MCU::MackieControlProtocol::do_request ( MackieControlUIRequest )
protected

◆ down_controls()

ControlList ArdourSurface::NS_MCU::MackieControlProtocol::down_controls ( ARDOUR::AutomationType  ,
uint32_t  pressed 
)

◆ drop_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::drop_press ( NS_MCU ::Button )
private

◆ drop_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::drop_release ( NS_MCU ::Button )
private

◆ dyn_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::dyn_press ( NS_MCU ::Button )
private

◆ dyn_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::dyn_release ( NS_MCU ::Button )
private

◆ enter_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::enter_press ( NS_MCU ::Button )
private

◆ enter_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::enter_release ( NS_MCU ::Button )
private

◆ eq_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::eq_press ( NS_MCU ::Button )
private

◆ eq_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::eq_release ( NS_MCU ::Button )
private

◆ fader_touch_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::fader_touch_press ( NS_MCU ::Button )
private

◆ fader_touch_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::fader_touch_release ( NS_MCU ::Button )
private

◆ ffwd_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::ffwd_press ( NS_MCU ::Button button)
private

◆ ffwd_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::ffwd_release ( NS_MCU ::Button button)
private

◆ first_selected_stripable()

std::shared_ptr<ARDOUR::Stripable> ArdourSurface::NS_MCU::MackieControlProtocol::first_selected_stripable ( ) const

◆ flip_mode()

FlipMode ArdourSurface::NS_MCU::MackieControlProtocol::flip_mode ( ) const
inline

Definition at line 125 of file mackie_control_protocol.h.

◆ flip_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::flip_press ( NS_MCU ::Button )
private

◆ flip_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::flip_release ( NS_MCU ::Button )
private

◆ flip_window_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::flip_window_press ( NS_MCU ::Button )
private

◆ flip_window_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::flip_window_release ( NS_MCU ::Button )
private

◆ force_special_stripable_to_strip()

void ArdourSurface::NS_MCU::MackieControlProtocol::force_special_stripable_to_strip ( std::shared_ptr< ARDOUR::Stripable r,
uint32_t  surface,
uint32_t  strip_number 
)
private

◆ format_bbt_timecode()

std::string ArdourSurface::NS_MCU::MackieControlProtocol::format_bbt_timecode ( ARDOUR::samplepos_t  now_sample)
protected

◆ format_timecode_timecode()

std::string ArdourSurface::NS_MCU::MackieControlProtocol::format_timecode_timecode ( ARDOUR::samplepos_t  now_sample)
protected

◆ get_gui()

void* ArdourSurface::NS_MCU::MackieControlProtocol::get_gui ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ get_session()

ARDOUR::Session& ArdourSurface::NS_MCU::MackieControlProtocol::get_session ( )
inline

Definition at line 216 of file mackie_control_protocol.h.

◆ get_sorted_stripables()

Sorted ArdourSurface::NS_MCU::MackieControlProtocol::get_sorted_stripables ( )
protected

◆ get_state()

XMLNode& ArdourSurface::NS_MCU::MackieControlProtocol::get_state ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ get_surface_by_raw_pointer()

std::shared_ptr< NS_MCU ::Surface> ArdourSurface::NS_MCU::MackieControlProtocol::get_surface_by_raw_pointer ( void *  ) const

◆ global_index()

uint32_t ArdourSurface::NS_MCU::MackieControlProtocol::global_index ( NS_MCU ::Strip )

◆ global_index_locked()

uint32_t ArdourSurface::NS_MCU::MackieControlProtocol::global_index_locked ( NS_MCU ::Strip )

◆ grp_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::grp_press ( NS_MCU ::Button )
private

◆ grp_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::grp_release ( NS_MCU ::Button )
private

◆ handle_button_event()

void ArdourSurface::NS_MCU::MackieControlProtocol::handle_button_event ( NS_MCU ::Surface ,
NS_MCU ::Button button,
NS_MCU ::ButtonState   
)

◆ has_editor()

bool ArdourSurface::NS_MCU::MackieControlProtocol::has_editor ( ) const
inlinevirtual

Reimplemented from ARDOUR::ControlProtocol.

Definition at line 176 of file mackie_control_protocol.h.

◆ has_instrument()

bool ArdourSurface::NS_MCU::MackieControlProtocol::has_instrument ( std::shared_ptr< ARDOUR::Stripable ) const

◆ hui_heartbeat()

bool ArdourSurface::NS_MCU::MackieControlProtocol::hui_heartbeat ( )
private

◆ initialize()

void ArdourSurface::NS_MCU::MackieControlProtocol::initialize ( )
private

◆ inputs_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::inputs_press ( NS_MCU ::Button )
private

◆ inputs_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::inputs_release ( NS_MCU ::Button )
private

◆ instance()

static MackieControlProtocol* ArdourSurface::NS_MCU::MackieControlProtocol::instance ( )
inlinestatic

Definition at line 111 of file mackie_control_protocol.h.

◆ ipmidi_base()

int16_t ArdourSurface::NS_MCU::MackieControlProtocol::ipmidi_base ( ) const
inline

Definition at line 232 of file mackie_control_protocol.h.

◆ ipmidi_restart()

int ArdourSurface::NS_MCU::MackieControlProtocol::ipmidi_restart ( )
private

◆ is_audio_track()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_audio_track ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_foldback_bus()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_foldback_bus ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_mapped()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_mapped ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_midi_track()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_midi_track ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_track()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_track ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_trigger_track()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_trigger_track ( std::shared_ptr< ARDOUR::Stripable ) const

◆ is_vca()

bool ArdourSurface::NS_MCU::MackieControlProtocol::is_vca ( std::shared_ptr< ARDOUR::Stripable ) const

◆ latch_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::latch_press ( NS_MCU ::Button )
private

◆ latch_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::latch_release ( NS_MCU ::Button )
private

◆ left_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::left_press ( NS_MCU ::Button )
private

◆ left_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::left_release ( NS_MCU ::Button )
private

◆ loop_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::loop_press ( NS_MCU ::Button )
private

◆ loop_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::loop_release ( NS_MCU ::Button )
private

◆ main_modifier_state()

int ArdourSurface::NS_MCU::MackieControlProtocol::main_modifier_state ( ) const
inline

Definition at line 220 of file mackie_control_protocol.h.

◆ marker_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::marker_press ( NS_MCU ::Button )
private

◆ marker_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::marker_release ( NS_MCU ::Button )
private

◆ master_fader_touch_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::master_fader_touch_press ( NS_MCU ::Button )
private

◆ master_fader_touch_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::master_fader_touch_release ( NS_MCU ::Button )
private

◆ master_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::master_press ( NS_MCU ::Button )
private

◆ master_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::master_release ( NS_MCU ::Button )
private

◆ metering_active()

bool ArdourSurface::NS_MCU::MackieControlProtocol::metering_active ( ) const
inline

Definition at line 129 of file mackie_control_protocol.h.

◆ midi_input_handler()

bool ArdourSurface::NS_MCU::MackieControlProtocol::midi_input_handler ( Glib::IOCondition  ioc,
MIDI::Port port 
)
private

◆ miditracks_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::miditracks_press ( NS_MCU ::Button )
private

◆ miditracks_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::miditracks_release ( NS_MCU ::Button )
private

◆ modifier_state()

int ArdourSurface::NS_MCU::MackieControlProtocol::modifier_state ( ) const
inline

Definition at line 219 of file mackie_control_protocol.h.

◆ n_strips()

uint32_t ArdourSurface::NS_MCU::MackieControlProtocol::n_strips ( bool  with_locked_strips = true) const

◆ name_value_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::name_value_press ( NS_MCU ::Button )
private

◆ name_value_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::name_value_release ( NS_MCU ::Button )
private

◆ next_marker_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::next_marker_press ( NS_MCU ::Button )
private

◆ next_marker_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::next_marker_release ( NS_MCU ::Button )
private

◆ next_track()

void ArdourSurface::NS_MCU::MackieControlProtocol::next_track ( )
protected

◆ notify_loop_state_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_loop_state_changed ( )

◆ notify_metering_state_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_metering_state_changed ( )

◆ notify_monitor_added_or_removed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_monitor_added_or_removed ( )

◆ notify_parameter_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_parameter_changed ( std::string const &  )

◆ notify_presentation_info_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_presentation_info_changed ( PBD::PropertyChange const &  )

◆ notify_record_state_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_record_state_changed ( )

◆ notify_routes_added()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_routes_added ( ARDOUR::RouteList )

◆ notify_solo_active_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_solo_active_changed ( bool  )

◆ notify_subview_stripable_deleted()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_subview_stripable_deleted ( )

◆ notify_transport_state_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_transport_state_changed ( )

◆ notify_vca_added()

void ArdourSurface::NS_MCU::MackieControlProtocol::notify_vca_added ( ARDOUR::VCAList )

◆ nth_surface()

std::shared_ptr< NS_MCU ::Surface> ArdourSurface::NS_MCU::MackieControlProtocol::nth_surface ( uint32_t  ) const

◆ nudge_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::nudge_press ( NS_MCU ::Button )
private

◆ nudge_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::nudge_release ( NS_MCU ::Button )
private

◆ open_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::open_press ( NS_MCU ::Button )
private

◆ open_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::open_release ( NS_MCU ::Button )
private

◆ option_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::option_press ( NS_MCU ::Button )
private

◆ option_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::option_release ( NS_MCU ::Button )
private

◆ outputs_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::outputs_press ( NS_MCU ::Button )
private

◆ outputs_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::outputs_release ( NS_MCU ::Button )
private

◆ pan_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::pan_press ( NS_MCU ::Button )
private

◆ pan_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::pan_release ( NS_MCU ::Button )
private

◆ periodic()

bool ArdourSurface::NS_MCU::MackieControlProtocol::periodic ( )
private

◆ play_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::play_press ( NS_MCU ::Button )
private

◆ play_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::play_release ( NS_MCU ::Button )
private

◆ plugin_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::plugin_press ( NS_MCU ::Button )
private

◆ plugin_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::plugin_release ( NS_MCU ::Button )
private

◆ prev_marker_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prev_marker_press ( NS_MCU ::Button )
private

◆ prev_marker_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prev_marker_release ( NS_MCU ::Button )
private

◆ prev_track()

void ArdourSurface::NS_MCU::MackieControlProtocol::prev_track ( )
protected

◆ profile_exists()

bool ArdourSurface::NS_MCU::MackieControlProtocol::profile_exists ( std::string const &  ) const
private

◆ prog2_clear_solo_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_clear_solo_press ( NS_MCU ::Button )
private

◆ prog2_clear_solo_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_clear_solo_release ( NS_MCU ::Button )
private

◆ prog2_left_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_left_press ( NS_MCU ::Button )
private

◆ prog2_left_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_left_release ( NS_MCU ::Button )
private

◆ prog2_marker_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_marker_press ( NS_MCU ::Button )
private

◆ prog2_marker_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_marker_release ( NS_MCU ::Button )
private

◆ prog2_right_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_right_press ( NS_MCU ::Button )
private

◆ prog2_right_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_right_release ( NS_MCU ::Button )
private

◆ prog2_save_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_save_press ( NS_MCU ::Button )
private

◆ prog2_save_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_save_release ( NS_MCU ::Button )
private

◆ prog2_undo_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_undo_press ( NS_MCU ::Button )
private

◆ prog2_undo_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_undo_release ( NS_MCU ::Button )
private

◆ prog2_vst_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_vst_press ( NS_MCU ::Button )
private

◆ prog2_vst_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::prog2_vst_release ( NS_MCU ::Button )
private

◆ pull_stripable_range()

void ArdourSurface::NS_MCU::MackieControlProtocol::pull_stripable_range ( DownButtonList ,
ARDOUR::StripableList ,
uint32_t  pressed 
)
private

◆ read_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::read_press ( NS_MCU ::Button )
private

◆ read_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::read_release ( NS_MCU ::Button )
private

◆ recalibrate_faders()

void ArdourSurface::NS_MCU::MackieControlProtocol::recalibrate_faders ( )

◆ record_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::record_press ( NS_MCU ::Button )
private

◆ record_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::record_release ( NS_MCU ::Button )
private

◆ redisplay()

bool ArdourSurface::NS_MCU::MackieControlProtocol::redisplay ( )
private

◆ redisplay_subview_mode()

bool ArdourSurface::NS_MCU::MackieControlProtocol::redisplay_subview_mode ( )

◆ redo_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::redo_press ( NS_MCU ::Button )
private

◆ redo_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::redo_release ( NS_MCU ::Button )
private

◆ refresh_current_bank()

void ArdourSurface::NS_MCU::MackieControlProtocol::refresh_current_bank ( )

rebuild the current bank. Called on route or vca added/removed and presentation info changed.

◆ remove_down_button()

void ArdourSurface::NS_MCU::MackieControlProtocol::remove_down_button ( ARDOUR::AutomationType  ,
int  surface,
int  strip 
)

◆ remove_down_select_button()

void ArdourSurface::NS_MCU::MackieControlProtocol::remove_down_select_button ( int  surface,
int  strip 
)

◆ replace_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::replace_press ( NS_MCU ::Button )
private

◆ replace_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::replace_release ( NS_MCU ::Button )
private

◆ rewind_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::rewind_press ( NS_MCU ::Button button)
private

◆ rewind_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::rewind_release ( NS_MCU ::Button button)
private

◆ right_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::right_press ( NS_MCU ::Button )
private

◆ right_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::right_release ( NS_MCU ::Button )
private

◆ save_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::save_press ( NS_MCU ::Button )
private

◆ save_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::save_release ( NS_MCU ::Button )
private

◆ scrub_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::scrub_press ( NS_MCU ::Button )
private

◆ scrub_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::scrub_release ( NS_MCU ::Button )
private

◆ select_range()

void ArdourSurface::NS_MCU::MackieControlProtocol::select_range ( uint32_t  pressed)

◆ send_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::send_press ( NS_MCU ::Button )
private

◆ send_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::send_release ( NS_MCU ::Button )
private

◆ set_active()

int ArdourSurface::NS_MCU::MackieControlProtocol::set_active ( bool  yn)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_automation_state()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_automation_state ( ARDOUR::AutoState  )

◆ set_device()

int ArdourSurface::NS_MCU::MackieControlProtocol::set_device ( const std::string &  ,
bool  force 
)

◆ set_device_info()

int ArdourSurface::NS_MCU::MackieControlProtocol::set_device_info ( const std::string &  device_name)
private

◆ set_flip_mode()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_flip_mode ( FlipMode  )

◆ set_ipmidi_base()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_ipmidi_base ( int16_t  )

◆ set_master_on_surface_strip()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_master_on_surface_strip ( uint32_t  surface,
uint32_t  strip 
)

◆ set_monitor_on_surface_strip()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_monitor_on_surface_strip ( uint32_t  surface,
uint32_t  strip 
)

◆ set_profile()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_profile ( const std::string &  )

◆ set_state()

int ArdourSurface::NS_MCU::MackieControlProtocol::set_state ( const XMLNode ,
int  version 
)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_subview_mode()

bool ArdourSurface::NS_MCU::MackieControlProtocol::set_subview_mode ( NS_MCU ::Subview::Mode  ,
std::shared_ptr< ARDOUR::Stripable  
)

◆ set_touch_sensitivity()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_touch_sensitivity ( int  )

◆ set_view_mode()

void ArdourSurface::NS_MCU::MackieControlProtocol::set_view_mode ( ViewMode  )

◆ shift_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::shift_press ( NS_MCU ::Button )
private

◆ shift_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::shift_release ( NS_MCU ::Button )
private

◆ stop()

int ArdourSurface::NS_MCU::MackieControlProtocol::stop ( )
protected

◆ stop_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::stop_press ( NS_MCU ::Button )
private

◆ stop_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::stop_release ( NS_MCU ::Button )
private

◆ stripable_is_locked_to_strip()

bool ArdourSurface::NS_MCU::MackieControlProtocol::stripable_is_locked_to_strip ( std::shared_ptr< ARDOUR::Stripable ) const
protected

◆ stripable_selection_changed()

void ArdourSurface::NS_MCU::MackieControlProtocol::stripable_selection_changed ( )
privatevirtual

◆ subview()

std::shared_ptr< NS_MCU ::Subview> ArdourSurface::NS_MCU::MackieControlProtocol::subview ( )
inline

Definition at line 127 of file mackie_control_protocol.h.

◆ switch_banks()

int ArdourSurface::NS_MCU::MackieControlProtocol::switch_banks ( uint32_t  first_remote_id,
bool  force = false 
)
protected

◆ tear_down_gui()

void ArdourSurface::NS_MCU::MackieControlProtocol::tear_down_gui ( )
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ thread_init()

void ArdourSurface::NS_MCU::MackieControlProtocol::thread_init ( )
protectedvirtual

Derived UI objects can implement thread_init() which will be called by the event loop thread immediately before it enters the event loop.

Reimplemented from BaseUI.

◆ timecode_beats_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::timecode_beats_press ( NS_MCU ::Button )
private

◆ timecode_beats_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::timecode_beats_release ( NS_MCU ::Button )
private

◆ toggle_backlight()

void ArdourSurface::NS_MCU::MackieControlProtocol::toggle_backlight ( )

◆ touch_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::touch_press ( NS_MCU ::Button )
private

◆ touch_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::touch_release ( NS_MCU ::Button )
private

◆ track_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::track_press ( NS_MCU ::Button )
private

◆ track_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::track_release ( NS_MCU ::Button )
private

◆ transport_sample()

samplepos_t ArdourSurface::NS_MCU::MackieControlProtocol::transport_sample ( ) const

◆ trim_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::trim_press ( NS_MCU ::Button )
private

◆ trim_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::trim_release ( NS_MCU ::Button )
private

◆ undo_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::undo_press ( NS_MCU ::Button )
private

◆ undo_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::undo_release ( NS_MCU ::Button )
private

◆ update_configuration_state()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_configuration_state ( ) const
private

◆ update_fader_automation_state()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_fader_automation_state ( )

◆ update_global_button()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_global_button ( int  id,
NS_MCU ::LedState   
)

◆ update_global_led()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_global_led ( int  id,
NS_MCU ::LedState   
)

◆ update_led()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_led ( NS_MCU ::Surface ,
NS_MCU ::Button button,
NS_MCU ::LedState   
)

this is called to generate the midi to send in response to a button press.

◆ update_surfaces()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_surfaces ( )
protected

◆ update_timecode_beats_led()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_timecode_beats_led ( )

Turn timecode on and beats off, or vice versa, depending on state of _timecode_type

◆ update_timecode_display()

void ArdourSurface::NS_MCU::MackieControlProtocol::update_timecode_display ( )
protected

◆ user_a_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_a_press ( NS_MCU ::Button )
private

◆ user_a_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_a_release ( NS_MCU ::Button )
private

◆ user_b_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_b_press ( NS_MCU ::Button )
private

◆ user_b_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_b_release ( NS_MCU ::Button )
private

◆ user_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_press ( NS_MCU ::Button )
private

◆ user_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::user_release ( NS_MCU ::Button )
private

◆ view_mode()

ViewMode ArdourSurface::NS_MCU::MackieControlProtocol::view_mode ( ) const
inline

Definition at line 126 of file mackie_control_protocol.h.

◆ view_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::view_press ( NS_MCU ::Button )
private

◆ view_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::view_release ( NS_MCU ::Button )
private

◆ write_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::write_press ( NS_MCU ::Button )
private

◆ write_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::write_release ( NS_MCU ::Button )
private

◆ zero_all()

void ArdourSurface::NS_MCU::MackieControlProtocol::zero_all ( )
protected

◆ zoom_mode()

bool ArdourSurface::NS_MCU::MackieControlProtocol::zoom_mode ( ) const
inline

Definition at line 128 of file mackie_control_protocol.h.

◆ zoom_press()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::zoom_press ( NS_MCU ::Button )
private

◆ zoom_release()

NS_MCU ::LedState ArdourSurface::NS_MCU::MackieControlProtocol::zoom_release ( NS_MCU ::Button )
private

Friends And Related Function Documentation

◆ ArdourSurface::NS_MCU ::ipmidi_input_handler

gboolean ArdourSurface::NS_MCU ::ipmidi_input_handler ( GIOChannel *  ,
GIOCondition  condition,
void *  data 
)
friend

◆ ipMIDIHandler

friend struct ipMIDIHandler
friend

Definition at line 341 of file mackie_control_protocol.h.

Member Data Documentation

◆ _current_initial_bank

uint32_t ArdourSurface::NS_MCU::MackieControlProtocol::_current_initial_bank
private

Definition at line 300 of file mackie_control_protocol.h.

◆ _current_selected_track

int ArdourSurface::NS_MCU::MackieControlProtocol::_current_selected_track
private

Definition at line 322 of file mackie_control_protocol.h.

◆ _device_info

NS_MCU ::DeviceInfo ArdourSurface::NS_MCU::MackieControlProtocol::_device_info
private

Definition at line 295 of file mackie_control_protocol.h.

◆ _device_profile

NS_MCU ::DeviceProfile ArdourSurface::NS_MCU::MackieControlProtocol::_device_profile
private

Definition at line 296 of file mackie_control_protocol.h.

◆ _down_buttons

DownButtonMap ArdourSurface::NS_MCU::MackieControlProtocol::_down_buttons
private

Definition at line 370 of file mackie_control_protocol.h.

◆ _down_select_buttons

DownButtonList ArdourSurface::NS_MCU::MackieControlProtocol::_down_select_buttons
private

Definition at line 371 of file mackie_control_protocol.h.

◆ _flip_mode

FlipMode ArdourSurface::NS_MCU::MackieControlProtocol::_flip_mode
private

Definition at line 319 of file mackie_control_protocol.h.

◆ _frm_left_last

NS_MCU ::Timer ArdourSurface::NS_MCU::MackieControlProtocol::_frm_left_last
private

Definition at line 307 of file mackie_control_protocol.h.

◆ _gui

void* ArdourSurface::NS_MCU::MackieControlProtocol::_gui
private

Definition at line 317 of file mackie_control_protocol.h.

◆ _initialized

bool ArdourSurface::NS_MCU::MackieControlProtocol::_initialized
private

Definition at line 328 of file mackie_control_protocol.h.

◆ _input_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::NS_MCU::MackieControlProtocol::_input_bundle
private

Definition at line 314 of file mackie_control_protocol.h.

◆ _instance

MackieControlProtocol* ArdourSurface::NS_MCU::MackieControlProtocol::_instance
staticprivate

Definition at line 291 of file mackie_control_protocol.h.

◆ _ipmidi_base

int16_t ArdourSurface::NS_MCU::MackieControlProtocol::_ipmidi_base
private

Definition at line 325 of file mackie_control_protocol.h.

◆ _last_bank

int ArdourSurface::NS_MCU::MackieControlProtocol::_last_bank[9]
private

Definition at line 331 of file mackie_control_protocol.h.

◆ _master_surface

std::shared_ptr<ArdourSurface:: NS_MCU ::Surface> ArdourSurface::NS_MCU::MackieControlProtocol::_master_surface
private

Definition at line 335 of file mackie_control_protocol.h.

◆ _metering_active

bool ArdourSurface::NS_MCU::MackieControlProtocol::_metering_active
private

Definition at line 327 of file mackie_control_protocol.h.

◆ _modifier_state

int ArdourSurface::NS_MCU::MackieControlProtocol::_modifier_state
private

Definition at line 323 of file mackie_control_protocol.h.

◆ _output_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::NS_MCU::MackieControlProtocol::_output_bundle
private

Definition at line 316 of file mackie_control_protocol.h.

◆ _sample_last

samplepos_t ArdourSurface::NS_MCU::MackieControlProtocol::_sample_last
private

Definition at line 310 of file mackie_control_protocol.h.

◆ _scrub_mode

bool ArdourSurface::NS_MCU::MackieControlProtocol::_scrub_mode
private

Definition at line 318 of file mackie_control_protocol.h.

◆ _subview

std::shared_ptr< NS_MCU ::Subview> ArdourSurface::NS_MCU::MackieControlProtocol::_subview
private

Definition at line 321 of file mackie_control_protocol.h.

◆ _timecode_last

std::string ArdourSurface::NS_MCU::MackieControlProtocol::_timecode_last
private

Definition at line 309 of file mackie_control_protocol.h.

◆ _timecode_type

ARDOUR::AnyTime::Type ArdourSurface::NS_MCU::MackieControlProtocol::_timecode_type
private

Definition at line 312 of file mackie_control_protocol.h.

◆ _view_mode

ViewMode ArdourSurface::NS_MCU::MackieControlProtocol::_view_mode
private

Definition at line 320 of file mackie_control_protocol.h.

◆ audio_engine_connections

PBD::ScopedConnectionList ArdourSurface::NS_MCU::MackieControlProtocol::audio_engine_connections
private

Definition at line 301 of file mackie_control_protocol.h.

◆ button_map

ButtonMap ArdourSurface::NS_MCU::MackieControlProtocol::button_map
private

Definition at line 324 of file mackie_control_protocol.h.

◆ configuration_state

XMLNode* ArdourSurface::NS_MCU::MackieControlProtocol::configuration_state
mutableprivate

Definition at line 329 of file mackie_control_protocol.h.

◆ ConnectionChange

PBD::Signal<void(std::shared_ptr< NS_MCU ::Surface> )> ArdourSurface::NS_MCU::MackieControlProtocol::ConnectionChange

Definition at line 117 of file mackie_control_protocol.h.

◆ DeviceChanged

PBD::Signal<void()> ArdourSurface::NS_MCU::MackieControlProtocol::DeviceChanged

Definition at line 116 of file mackie_control_protocol.h.

◆ fader_automation_connections

PBD::ScopedConnectionList ArdourSurface::NS_MCU::MackieControlProtocol::fader_automation_connections
private

Definition at line 305 of file mackie_control_protocol.h.

◆ gui_connections

PBD::ScopedConnectionList ArdourSurface::NS_MCU::MackieControlProtocol::gui_connections
private

Definition at line 304 of file mackie_control_protocol.h.

◆ hui_connection

sigc::connection ArdourSurface::NS_MCU::MackieControlProtocol::hui_connection
private

Definition at line 299 of file mackie_control_protocol.h.

◆ MAIN_MODIFIER_MASK

const int ArdourSurface::NS_MCU::MackieControlProtocol::MAIN_MODIFIER_MASK
static

Definition at line 87 of file mackie_control_protocol.h.

◆ marker_modifier_consumed_by_button

bool ArdourSurface::NS_MCU::MackieControlProtocol::marker_modifier_consumed_by_button
private

Definition at line 332 of file mackie_control_protocol.h.

◆ MODIFIER_CMDALT

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_CMDALT
static

Definition at line 82 of file mackie_control_protocol.h.

◆ MODIFIER_CONTROL

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_CONTROL
static

Definition at line 80 of file mackie_control_protocol.h.

◆ MODIFIER_MARKER

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_MARKER
static

Definition at line 85 of file mackie_control_protocol.h.

◆ MODIFIER_NUDGE

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_NUDGE
static

Definition at line 86 of file mackie_control_protocol.h.

◆ MODIFIER_OPTION

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_OPTION
static

Definition at line 79 of file mackie_control_protocol.h.

◆ MODIFIER_SCRUB

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_SCRUB
static

Definition at line 84 of file mackie_control_protocol.h.

◆ MODIFIER_SHIFT

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_SHIFT
static

Definition at line 81 of file mackie_control_protocol.h.

◆ MODIFIER_ZOOM

const int ArdourSurface::NS_MCU::MackieControlProtocol::MODIFIER_ZOOM
static

Definition at line 83 of file mackie_control_protocol.h.

◆ needs_ipmidi_restart

bool ArdourSurface::NS_MCU::MackieControlProtocol::needs_ipmidi_restart
private

Definition at line 326 of file mackie_control_protocol.h.

◆ nudge_modifier_consumed_by_button

bool ArdourSurface::NS_MCU::MackieControlProtocol::nudge_modifier_consumed_by_button
private

Definition at line 333 of file mackie_control_protocol.h.

◆ periodic_connection

sigc::connection ArdourSurface::NS_MCU::MackieControlProtocol::periodic_connection
private

Definition at line 297 of file mackie_control_protocol.h.

◆ port_connection

PBD::ScopedConnection ArdourSurface::NS_MCU::MackieControlProtocol::port_connection
private

Definition at line 363 of file mackie_control_protocol.h.

◆ redisplay_connection

sigc::connection ArdourSurface::NS_MCU::MackieControlProtocol::redisplay_connection
private

Definition at line 298 of file mackie_control_protocol.h.

◆ session_connections

PBD::ScopedConnectionList ArdourSurface::NS_MCU::MackieControlProtocol::session_connections
private

Definition at line 302 of file mackie_control_protocol.h.

◆ state_version

int ArdourSurface::NS_MCU::MackieControlProtocol::state_version
private

Definition at line 330 of file mackie_control_protocol.h.

◆ stripable_connections

PBD::ScopedConnectionList ArdourSurface::NS_MCU::MackieControlProtocol::stripable_connections
private

Definition at line 303 of file mackie_control_protocol.h.

◆ surfaces

Surfaces ArdourSurface::NS_MCU::MackieControlProtocol::surfaces

Definition at line 161 of file mackie_control_protocol.h.

◆ surfaces_lock

Glib::Threads::Mutex ArdourSurface::NS_MCU::MackieControlProtocol::surfaces_lock
mutable

Definition at line 159 of file mackie_control_protocol.h.


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