Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::FP8::FaderPort8 Class Reference

#include <faderport8.h>

Inheritance diagram for ArdourSurface::FP8::FaderPort8:
[legend]

Classes

struct  ButtonAction
 
struct  ProcessorCtrl
 
struct  UserAction
 

Public Member Functions

 FaderPort8 (ARDOUR::Session &)
 
virtual ~FaderPort8 ()
 
int set_active (bool yn)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int version)
 
bool has_editor () const
 
void * get_gui () const
 
void tear_down_gui ()
 
void set_button_action (FP8Controls::ButtonId, bool, std::string const &)
 
std::string get_button_action (FP8Controls::ButtonId, bool)
 
FP8Controls const & control () const
 
void set_clock_mode (uint32_t m)
 
void set_scribble_mode (uint32_t m)
 
void set_two_line_text (bool yn)
 
void set_auto_pluginui (bool yn)
 
uint32_t clock_mode () const
 
uint32_t scribble_mode () const
 
bool twolinetext () const
 
bool auto_pluginui () const
 
void stop ()
 
void do_request (FaderPort8Request *)
 
void thread_init ()
 
std::shared_ptr< ARDOUR::Portinput_port () const
 
std::shared_ptr< ARDOUR::Portoutput_port () const
 
std::list< std::shared_ptr< ARDOUR::Bundle > > bundles ()
 
size_t tx_midi (std::vector< uint8_t > const &) const
 
 CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ()
 
- Public Member Functions inherited from ArdourSurface::FP8::FP8Base
virtual ~FP8Base ()
 
size_t tx_midi2 (uint8_t sb, uint8_t d1) const
 
size_t tx_midi3 (uint8_t sb, uint8_t d1, uint8_t d2) const
 
size_t tx_sysex (size_t count,...)
 
size_t tx_text (uint8_t id, uint8_t line, uint8_t align, std::string const &txt)
 
- 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< FaderPort8Request >
 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 bool probe (std::string &, std::string &)
 
- 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()> ConnectionChange
 
- Public Attributes inherited from ArdourSurface::FP8::FP8Base
PBD::Signal< void(bool)> ShiftButtonChange
 
PBD::Signal< void(bool)> ARMButtonChange
 
PBD::Signal< void(bool)> BlinkIt
 
PBD::Signal< void()> Periodic
 
- 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< FaderPort8Request >
Glib::Threads::RWLock request_buffer_map_lock
 
- Public Attributes inherited from PBD::EventLoop
std::list< InvalidationRecord * > trash
 

Private Types

enum  ConnectionState { InputConnected = 0x1 , OutputConnected = 0x2 }
 
enum  ActionType { Unset , NamedAction }
 
typedef std::map< std::shared_ptr< ARDOUR::Stripable >, uint8_t > StripAssignmentMap
 
typedef std::map< FP8Controls::ButtonId, ButtonActionUserActionMap
 

Private Member Functions

void close ()
 
void start_midi_handling ()
 
void stop_midi_handling ()
 
bool midi_input_handler (Glib::IOCondition ioc, std::weak_ptr< ARDOUR::AsyncMIDIPort > port)
 
bool connection_handler (std::string name1, std::string name2)
 
void engine_reset ()
 
void connected ()
 
void disconnected ()
 
void sysex_handler (MIDI::Parser &p, MIDI::byte *, size_t)
 
void polypressure_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void pitchbend_handler (MIDI::Parser &, uint8_t chan, MIDI::pitchbend_t pb)
 
void controller_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void note_on_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void note_off_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void notify_stripable_added_or_removed ()
 
void notify_fader_mode_changed ()
 
void filter_stripables (ARDOUR::StripableList &strips) const
 
void assign_stripables (bool select_only=false)
 
void set_periodic_display_mode (FP8Strip::DisplayMode)
 
void assign_strips ()
 
void bank (bool down, bool page)
 
void move_selected_into_view ()
 
void select_prev_next (bool next)
 
void assign_sends ()
 
void spill_plugins ()
 
void assign_processor_ctrls ()
 
bool assign_plugin_presets (std::shared_ptr< ARDOUR::PluginInsert >)
 
void build_well_known_processor_ctrls (std::shared_ptr< ARDOUR::Stripable >, int)
 
void preset_changed ()
 
void select_plugin (int num)
 
void select_plugin_preset (size_t num)
 
void toggle_preset_param_mode ()
 
void bank_param (bool down, bool page)
 
int get_channel_off (FP8Types::MixMode m) const
 
void set_channel_off (FP8Types::MixMode m, int off)
 
void drop_ctrl_connections ()
 
void select_strip (std::weak_ptr< ARDOUR::Stripable >)
 
void notify_pi_property_changed (const PBD::PropertyChange &)
 
void notify_stripable_property_changed (std::weak_ptr< ARDOUR::Stripable >, const PBD::PropertyChange &)
 
void stripable_selection_changed ()
 
void subscribe_to_strip_signals ()
 
bool periodic ()
 
std::string const & timecode () const
 
std::string const & musical_time () const
 
bool show_meters () const
 
bool show_panner () const
 
bool blink_it ()
 
bool shift_timeout ()
 
bool shift_mod () const
 
void build_gui ()
 
void connect_session_signals ()
 
void setup_actions ()
 
void send_session_state ()
 
void notify_parameter_changed (std::string)
 
void notify_record_state_changed ()
 
void notify_transport_state_changed ()
 
void notify_loop_state_changed ()
 
void notify_snap_change ()
 
void notify_session_dirty_changed ()
 
void notify_history_changed ()
 
void notify_solo_changed ()
 
void notify_mute_changed ()
 
void notify_route_state_changed ()
 
void notify_plugin_active_changed ()
 
void button_play ()
 
void button_stop ()
 
void button_record ()
 
void button_loop ()
 
void button_metronom ()
 
void button_bypass ()
 
void button_open ()
 
void button_link ()
 
void button_lock ()
 
void button_varispeed (bool)
 
void button_solo_clear ()
 
void button_mute_clear ()
 
void button_arm (bool)
 
void button_arm_all ()
 
void button_automation (ARDOUR::AutoState)
 
void button_prev_next (bool)
 
void button_action (const std::string &group, const std::string &item)
 
void button_chanlock ()
 
void button_flip ()
 
void button_encoder ()
 
void button_parameter ()
 
void encoder_navigate (bool, int)
 
void encoder_parameter (bool, int)
 
void handle_encoder_pan (int steps)
 
void handle_encoder_link (int steps)
 
void stop_link ()
 
void start_link ()
 
void lock_link ()
 
void unlock_link (bool drop=false)
 
void nofity_focus_control (std::weak_ptr< PBD::Controllable >)
 
void button_user (bool, FP8Controls::ButtonId)
 

Private Attributes

PBD::ScopedConnectionList port_connections
 
std::shared_ptr< ARDOUR::AsyncMIDIPort_input_port
 
std::shared_ptr< ARDOUR::AsyncMIDIPort_output_port
 
std::shared_ptr< ARDOUR::Bundle_input_bundle
 
std::shared_ptr< ARDOUR::Bundle_output_bundle
 
int _connection_state
 
bool _device_active
 
PBD::ScopedConnectionList midi_connections
 
FP8Controls _ctrls
 
int _channel_off [FP8Types::MixModeMax+1]
 
int _plugin_off
 
int _parameter_off
 
PBD::ScopedConnectionList processor_connections
 
PBD::ScopedConnectionList assigned_stripable_connections
 
StripAssignmentMap _assigned_strips
 
PBD::ScopedConnection selection_connection
 
PBD::ScopedConnectionList route_state_connections
 
PBD::ScopedConnectionList modechange_connections
 
std::list< ProcessorCtrl_proc_params
 
std::weak_ptr< ARDOUR::PluginInsert_plugin_insert
 
bool _show_presets
 
int _showing_well_known
 
sigc::connection _periodic_connection
 
std::string _timecode
 
std::string _musical_time
 
int _timer_divider
 
sigc::connection _blink_connection
 
bool _blink_onoff
 
sigc::connection _shift_connection
 
bool _shift_lock
 
int _shift_pressed
 
void * gui
 
PBD::ScopedConnectionList session_connections
 
PBD::ScopedConnectionList button_connections
 
std::vector< std::weak_ptr< ARDOUR::AutomationControl > > _mute_state
 
std::vector< std::weak_ptr< ARDOUR::AutomationControl > > _solo_state
 
PBD::ScopedConnection link_connection
 
PBD::ScopedConnection link_locked_connection
 
std::weak_ptr< PBD::Controllable_link_control
 
bool _link_enabled
 
bool _link_locked
 
bool _chan_locked
 
uint32_t _clock_mode
 
uint32_t _scribble_mode
 
bool _two_line_text
 
bool _auto_pluginui
 
UserActionMap _user_action_map
 

Additional Inherited Members

- Public Types inherited from PBD::EventLoop
enum  RequestType { range_guarantee = ~0 }
 
- 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 inherited from AbstractUI< FaderPort8Request >
typedef RequestBuffer::rw_vector RequestBufferVector
 
typedef std::map< pthread_t, RequestBuffer * >::iterator RequestBufferMapIterator
 
typedef std::map< pthread_t, RequestBuffer * > RequestBufferMap
 
- 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< FaderPort8Request >
FaderPort8Request * get_request (RequestType)
 
void handle_ui_requests ()
 
void send_request (FaderPort8Request *)
 
virtual void do_request (FaderPort8Request *)=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 >)
 
- 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< FaderPort8Request >
RequestBufferMap request_buffers
 
std::list< FaderPort8Request * > 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 64 of file faderport8.h.

Member Typedef Documentation

◆ StripAssignmentMap

typedef std::map<std::shared_ptr<ARDOUR::Stripable>, uint8_t> ArdourSurface::FP8::FaderPort8::StripAssignmentMap
private

Definition at line 191 of file faderport8.h.

◆ UserActionMap

Member Enumeration Documentation

◆ ActionType

Enumerator
Unset 
NamedAction 

Definition at line 335 of file faderport8.h.

◆ ConnectionState

Enumerator
InputConnected 
OutputConnected 

Definition at line 127 of file faderport8.h.

Constructor & Destructor Documentation

◆ FaderPort8()

ArdourSurface::FP8::FaderPort8::FaderPort8 ( ARDOUR::Session )

◆ ~FaderPort8()

virtual ArdourSurface::FP8::FaderPort8::~FaderPort8 ( )
virtual

Member Function Documentation

◆ assign_plugin_presets()

bool ArdourSurface::FP8::FaderPort8::assign_plugin_presets ( std::shared_ptr< ARDOUR::PluginInsert )
private

◆ assign_processor_ctrls()

void ArdourSurface::FP8::FaderPort8::assign_processor_ctrls ( )
private

◆ assign_sends()

void ArdourSurface::FP8::FaderPort8::assign_sends ( )
private

◆ assign_stripables()

void ArdourSurface::FP8::FaderPort8::assign_stripables ( bool  select_only = false)
private

◆ assign_strips()

void ArdourSurface::FP8::FaderPort8::assign_strips ( )
private

◆ auto_pluginui()

bool ArdourSurface::FP8::FaderPort8::auto_pluginui ( ) const
inline

Definition at line 95 of file faderport8.h.

◆ bank()

void ArdourSurface::FP8::FaderPort8::bank ( bool  down,
bool  page 
)
private

◆ bank_param()

void ArdourSurface::FP8::FaderPort8::bank_param ( bool  down,
bool  page 
)
private

◆ blink_it()

bool ArdourSurface::FP8::FaderPort8::blink_it ( )
private

◆ build_gui()

void ArdourSurface::FP8::FaderPort8::build_gui ( )
private

◆ build_well_known_processor_ctrls()

void ArdourSurface::FP8::FaderPort8::build_well_known_processor_ctrls ( std::shared_ptr< ARDOUR::Stripable ,
int   
)
private

◆ bundles()

std::list<std::shared_ptr<ARDOUR::Bundle> > ArdourSurface::FP8::FaderPort8::bundles ( )
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ button_action()

void ArdourSurface::FP8::FaderPort8::button_action ( const std::string &  group,
const std::string &  item 
)
private

◆ button_arm()

void ArdourSurface::FP8::FaderPort8::button_arm ( bool  )
private

◆ button_arm_all()

void ArdourSurface::FP8::FaderPort8::button_arm_all ( )
private

◆ button_automation()

void ArdourSurface::FP8::FaderPort8::button_automation ( ARDOUR::AutoState  )
private

◆ button_bypass()

void ArdourSurface::FP8::FaderPort8::button_bypass ( )
private

◆ button_chanlock()

void ArdourSurface::FP8::FaderPort8::button_chanlock ( )
private

◆ button_encoder()

void ArdourSurface::FP8::FaderPort8::button_encoder ( )
private

◆ button_flip()

void ArdourSurface::FP8::FaderPort8::button_flip ( )
private

◆ button_link()

void ArdourSurface::FP8::FaderPort8::button_link ( )
private

◆ button_lock()

void ArdourSurface::FP8::FaderPort8::button_lock ( )
private

◆ button_loop()

void ArdourSurface::FP8::FaderPort8::button_loop ( )
private

◆ button_metronom()

void ArdourSurface::FP8::FaderPort8::button_metronom ( )
private

◆ button_mute_clear()

void ArdourSurface::FP8::FaderPort8::button_mute_clear ( )
private

◆ button_open()

void ArdourSurface::FP8::FaderPort8::button_open ( )
private

◆ button_parameter()

void ArdourSurface::FP8::FaderPort8::button_parameter ( )
private

◆ button_play()

void ArdourSurface::FP8::FaderPort8::button_play ( )
private

◆ button_prev_next()

void ArdourSurface::FP8::FaderPort8::button_prev_next ( bool  )
private

◆ button_record()

void ArdourSurface::FP8::FaderPort8::button_record ( )
private

◆ button_solo_clear()

void ArdourSurface::FP8::FaderPort8::button_solo_clear ( )
private

◆ button_stop()

void ArdourSurface::FP8::FaderPort8::button_stop ( )
private

◆ button_user()

void ArdourSurface::FP8::FaderPort8::button_user ( bool  ,
FP8Controls::ButtonId   
)
private

◆ button_varispeed()

void ArdourSurface::FP8::FaderPort8::button_varispeed ( bool  )
private

◆ clock_mode()

uint32_t ArdourSurface::FP8::FaderPort8::clock_mode ( ) const
inlinevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 92 of file faderport8.h.

◆ close()

void ArdourSurface::FP8::FaderPort8::close ( )
private

◆ connect_session_signals()

void ArdourSurface::FP8::FaderPort8::connect_session_signals ( )
private

◆ connected()

void ArdourSurface::FP8::FaderPort8::connected ( )
private

◆ connection_handler()

bool ArdourSurface::FP8::FaderPort8::connection_handler ( std::string  name1,
std::string  name2 
)
private

◆ control()

FP8Controls const& ArdourSurface::FP8::FaderPort8::control ( ) const
inline

Definition at line 85 of file faderport8.h.

◆ CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL()

ArdourSurface::FP8::FaderPort8::CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ( )

◆ controller_handler()

void ArdourSurface::FP8::FaderPort8::controller_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ disconnected()

void ArdourSurface::FP8::FaderPort8::disconnected ( )
private

◆ do_request()

void ArdourSurface::FP8::FaderPort8::do_request ( FaderPort8Request )

◆ drop_ctrl_connections()

void ArdourSurface::FP8::FaderPort8::drop_ctrl_connections ( )
private

◆ encoder_navigate()

void ArdourSurface::FP8::FaderPort8::encoder_navigate ( bool  ,
int   
)
private

◆ encoder_parameter()

void ArdourSurface::FP8::FaderPort8::encoder_parameter ( bool  ,
int   
)
private

◆ engine_reset()

void ArdourSurface::FP8::FaderPort8::engine_reset ( )
private

◆ filter_stripables()

void ArdourSurface::FP8::FaderPort8::filter_stripables ( ARDOUR::StripableList strips) const
private

◆ get_button_action()

std::string ArdourSurface::FP8::FaderPort8::get_button_action ( FP8Controls::ButtonId  ,
bool   
)

◆ get_channel_off()

int ArdourSurface::FP8::FaderPort8::get_channel_off ( FP8Types::MixMode  m) const
inlineprivate

Definition at line 173 of file faderport8.h.

◆ get_gui()

void* ArdourSurface::FP8::FaderPort8::get_gui ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ get_state()

XMLNode& ArdourSurface::FP8::FaderPort8::get_state ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ handle_encoder_link()

void ArdourSurface::FP8::FaderPort8::handle_encoder_link ( int  steps)
private

◆ handle_encoder_pan()

void ArdourSurface::FP8::FaderPort8::handle_encoder_pan ( int  steps)
private

◆ has_editor()

bool ArdourSurface::FP8::FaderPort8::has_editor ( ) const
inlinevirtual

Reimplemented from ARDOUR::ControlProtocol.

Definition at line 78 of file faderport8.h.

◆ input_port()

std::shared_ptr<ARDOUR::Port> ArdourSurface::FP8::FaderPort8::input_port ( ) const
inline

Definition at line 101 of file faderport8.h.

◆ lock_link()

void ArdourSurface::FP8::FaderPort8::lock_link ( )
private

◆ midi_input_handler()

bool ArdourSurface::FP8::FaderPort8::midi_input_handler ( Glib::IOCondition  ioc,
std::weak_ptr< ARDOUR::AsyncMIDIPort port 
)
private

◆ move_selected_into_view()

void ArdourSurface::FP8::FaderPort8::move_selected_into_view ( )
private

◆ musical_time()

std::string const& ArdourSurface::FP8::FaderPort8::musical_time ( ) const
inlineprivatevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 230 of file faderport8.h.

◆ nofity_focus_control()

void ArdourSurface::FP8::FaderPort8::nofity_focus_control ( std::weak_ptr< PBD::Controllable )
private

◆ note_off_handler()

void ArdourSurface::FP8::FaderPort8::note_off_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ note_on_handler()

void ArdourSurface::FP8::FaderPort8::note_on_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ notify_fader_mode_changed()

void ArdourSurface::FP8::FaderPort8::notify_fader_mode_changed ( )
private

◆ notify_history_changed()

void ArdourSurface::FP8::FaderPort8::notify_history_changed ( )
private

◆ notify_loop_state_changed()

void ArdourSurface::FP8::FaderPort8::notify_loop_state_changed ( )
private

◆ notify_mute_changed()

void ArdourSurface::FP8::FaderPort8::notify_mute_changed ( )
private

◆ notify_parameter_changed()

void ArdourSurface::FP8::FaderPort8::notify_parameter_changed ( std::string  )
private

◆ notify_pi_property_changed()

void ArdourSurface::FP8::FaderPort8::notify_pi_property_changed ( const PBD::PropertyChange )
private

◆ notify_plugin_active_changed()

void ArdourSurface::FP8::FaderPort8::notify_plugin_active_changed ( )
private

◆ notify_record_state_changed()

void ArdourSurface::FP8::FaderPort8::notify_record_state_changed ( )
private

◆ notify_route_state_changed()

void ArdourSurface::FP8::FaderPort8::notify_route_state_changed ( )
private

◆ notify_session_dirty_changed()

void ArdourSurface::FP8::FaderPort8::notify_session_dirty_changed ( )
private

◆ notify_snap_change()

void ArdourSurface::FP8::FaderPort8::notify_snap_change ( )
private

◆ notify_solo_changed()

void ArdourSurface::FP8::FaderPort8::notify_solo_changed ( )
private

◆ notify_stripable_added_or_removed()

void ArdourSurface::FP8::FaderPort8::notify_stripable_added_or_removed ( )
private

◆ notify_stripable_property_changed()

void ArdourSurface::FP8::FaderPort8::notify_stripable_property_changed ( std::weak_ptr< ARDOUR::Stripable ,
const PBD::PropertyChange  
)
private

◆ notify_transport_state_changed()

void ArdourSurface::FP8::FaderPort8::notify_transport_state_changed ( )
private

◆ output_port()

std::shared_ptr<ARDOUR::Port> ArdourSurface::FP8::FaderPort8::output_port ( ) const
inline

Definition at line 102 of file faderport8.h.

◆ periodic()

bool ArdourSurface::FP8::FaderPort8::periodic ( )
private

◆ pitchbend_handler()

void ArdourSurface::FP8::FaderPort8::pitchbend_handler ( MIDI::Parser ,
uint8_t  chan,
MIDI::pitchbend_t  pb 
)
private

◆ polypressure_handler()

void ArdourSurface::FP8::FaderPort8::polypressure_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ preset_changed()

void ArdourSurface::FP8::FaderPort8::preset_changed ( )
private

◆ probe()

static bool ArdourSurface::FP8::FaderPort8::probe ( std::string &  ,
std::string &   
)
static

◆ scribble_mode()

uint32_t ArdourSurface::FP8::FaderPort8::scribble_mode ( ) const
inline

Definition at line 93 of file faderport8.h.

◆ select_plugin()

void ArdourSurface::FP8::FaderPort8::select_plugin ( int  num)
private

◆ select_plugin_preset()

void ArdourSurface::FP8::FaderPort8::select_plugin_preset ( size_t  num)
private

◆ select_prev_next()

void ArdourSurface::FP8::FaderPort8::select_prev_next ( bool  next)
private

◆ select_strip()

void ArdourSurface::FP8::FaderPort8::select_strip ( std::weak_ptr< ARDOUR::Stripable )
private

◆ send_session_state()

void ArdourSurface::FP8::FaderPort8::send_session_state ( )
private

◆ set_active()

int ArdourSurface::FP8::FaderPort8::set_active ( bool  yn)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_auto_pluginui()

void ArdourSurface::FP8::FaderPort8::set_auto_pluginui ( bool  yn)
inline

Definition at line 90 of file faderport8.h.

◆ set_button_action()

void ArdourSurface::FP8::FaderPort8::set_button_action ( FP8Controls::ButtonId  ,
bool  ,
std::string const &   
)

◆ set_channel_off()

void ArdourSurface::FP8::FaderPort8::set_channel_off ( FP8Types::MixMode  m,
int  off 
)
inlineprivate

Definition at line 174 of file faderport8.h.

◆ set_clock_mode()

void ArdourSurface::FP8::FaderPort8::set_clock_mode ( uint32_t  m)
inline

Definition at line 87 of file faderport8.h.

◆ set_periodic_display_mode()

void ArdourSurface::FP8::FaderPort8::set_periodic_display_mode ( FP8Strip::DisplayMode  )
private

◆ set_scribble_mode()

void ArdourSurface::FP8::FaderPort8::set_scribble_mode ( uint32_t  m)
inline

Definition at line 88 of file faderport8.h.

◆ set_state()

int ArdourSurface::FP8::FaderPort8::set_state ( const XMLNode ,
int  version 
)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_two_line_text()

void ArdourSurface::FP8::FaderPort8::set_two_line_text ( bool  yn)
inline

Definition at line 89 of file faderport8.h.

◆ setup_actions()

void ArdourSurface::FP8::FaderPort8::setup_actions ( )
private

◆ shift_mod()

bool ArdourSurface::FP8::FaderPort8::shift_mod ( ) const
inlineprivatevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 247 of file faderport8.h.

◆ shift_timeout()

bool ArdourSurface::FP8::FaderPort8::shift_timeout ( )
inlineprivate

Definition at line 246 of file faderport8.h.

◆ show_meters()

bool ArdourSurface::FP8::FaderPort8::show_meters ( ) const
inlineprivatevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 234 of file faderport8.h.

◆ show_panner()

bool ArdourSurface::FP8::FaderPort8::show_panner ( ) const
inlineprivatevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 235 of file faderport8.h.

◆ spill_plugins()

void ArdourSurface::FP8::FaderPort8::spill_plugins ( )
private

◆ start_link()

void ArdourSurface::FP8::FaderPort8::start_link ( )
private

◆ start_midi_handling()

void ArdourSurface::FP8::FaderPort8::start_midi_handling ( )
private

◆ stop()

void ArdourSurface::FP8::FaderPort8::stop ( )

◆ stop_link()

void ArdourSurface::FP8::FaderPort8::stop_link ( )
private

◆ stop_midi_handling()

void ArdourSurface::FP8::FaderPort8::stop_midi_handling ( )
private

◆ stripable_selection_changed()

void ArdourSurface::FP8::FaderPort8::stripable_selection_changed ( )
privatevirtual

◆ subscribe_to_strip_signals()

void ArdourSurface::FP8::FaderPort8::subscribe_to_strip_signals ( )
private

◆ sysex_handler()

void ArdourSurface::FP8::FaderPort8::sysex_handler ( MIDI::Parser p,
MIDI::byte ,
size_t   
)
private

◆ tear_down_gui()

void ArdourSurface::FP8::FaderPort8::tear_down_gui ( )
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ thread_init()

void ArdourSurface::FP8::FaderPort8::thread_init ( )
virtual

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()

std::string const& ArdourSurface::FP8::FaderPort8::timecode ( ) const
inlineprivatevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 229 of file faderport8.h.

◆ toggle_preset_param_mode()

void ArdourSurface::FP8::FaderPort8::toggle_preset_param_mode ( )
private

◆ twolinetext()

bool ArdourSurface::FP8::FaderPort8::twolinetext ( ) const
inlinevirtual

Implements ArdourSurface::FP8::FP8Base.

Definition at line 94 of file faderport8.h.

◆ tx_midi()

size_t ArdourSurface::FP8::FaderPort8::tx_midi ( std::vector< uint8_t > const &  ) const
virtual

◆ unlock_link()

void ArdourSurface::FP8::FaderPort8::unlock_link ( bool  drop = false)
private

Member Data Documentation

◆ _assigned_strips

StripAssignmentMap ArdourSurface::FP8::FaderPort8::_assigned_strips
private

Definition at line 192 of file faderport8.h.

◆ _auto_pluginui

bool ArdourSurface::FP8::FaderPort8::_auto_pluginui
private

Definition at line 330 of file faderport8.h.

◆ _blink_connection

sigc::connection ArdourSurface::FP8::FaderPort8::_blink_connection
private

Definition at line 238 of file faderport8.h.

◆ _blink_onoff

bool ArdourSurface::FP8::FaderPort8::_blink_onoff
private

Definition at line 239 of file faderport8.h.

◆ _chan_locked

bool ArdourSurface::FP8::FaderPort8::_chan_locked
private

Definition at line 324 of file faderport8.h.

◆ _channel_off

int ArdourSurface::FP8::FaderPort8::_channel_off[FP8Types::MixModeMax+1]
private

Definition at line 176 of file faderport8.h.

◆ _clock_mode

uint32_t ArdourSurface::FP8::FaderPort8::_clock_mode
private

Definition at line 327 of file faderport8.h.

◆ _connection_state

int ArdourSurface::FP8::FaderPort8::_connection_state
private

Definition at line 134 of file faderport8.h.

◆ _ctrls

FP8Controls ArdourSurface::FP8::FaderPort8::_ctrls
private

Definition at line 149 of file faderport8.h.

◆ _device_active

bool ArdourSurface::FP8::FaderPort8::_device_active
private

Definition at line 135 of file faderport8.h.

◆ _input_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::FP8::FaderPort8::_input_bundle
private

Definition at line 119 of file faderport8.h.

◆ _input_port

std::shared_ptr<ARDOUR::AsyncMIDIPort> ArdourSurface::FP8::FaderPort8::_input_port
private

Definition at line 117 of file faderport8.h.

◆ _link_control

std::weak_ptr<PBD::Controllable> ArdourSurface::FP8::FaderPort8::_link_control
private

Definition at line 320 of file faderport8.h.

◆ _link_enabled

bool ArdourSurface::FP8::FaderPort8::_link_enabled
private

Definition at line 321 of file faderport8.h.

◆ _link_locked

bool ArdourSurface::FP8::FaderPort8::_link_locked
private

Definition at line 322 of file faderport8.h.

◆ _musical_time

std::string ArdourSurface::FP8::FaderPort8::_musical_time
private

Definition at line 228 of file faderport8.h.

◆ _mute_state

std::vector<std::weak_ptr<ARDOUR::AutomationControl> > ArdourSurface::FP8::FaderPort8::_mute_state
private

Definition at line 304 of file faderport8.h.

◆ _output_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::FP8::FaderPort8::_output_bundle
private

Definition at line 120 of file faderport8.h.

◆ _output_port

std::shared_ptr<ARDOUR::AsyncMIDIPort> ArdourSurface::FP8::FaderPort8::_output_port
private

Definition at line 118 of file faderport8.h.

◆ _parameter_off

int ArdourSurface::FP8::FaderPort8::_parameter_off
private

Definition at line 178 of file faderport8.h.

◆ _periodic_connection

sigc::connection ArdourSurface::FP8::FaderPort8::_periodic_connection
private

Definition at line 225 of file faderport8.h.

◆ _plugin_insert

std::weak_ptr<ARDOUR::PluginInsert> ArdourSurface::FP8::FaderPort8::_plugin_insert
private

Definition at line 219 of file faderport8.h.

◆ _plugin_off

int ArdourSurface::FP8::FaderPort8::_plugin_off
private

Definition at line 177 of file faderport8.h.

◆ _proc_params

std::list<ProcessorCtrl> ArdourSurface::FP8::FaderPort8::_proc_params
private

Definition at line 218 of file faderport8.h.

◆ _scribble_mode

uint32_t ArdourSurface::FP8::FaderPort8::_scribble_mode
private

Definition at line 328 of file faderport8.h.

◆ _shift_connection

sigc::connection ArdourSurface::FP8::FaderPort8::_shift_connection
private

Definition at line 243 of file faderport8.h.

◆ _shift_lock

bool ArdourSurface::FP8::FaderPort8::_shift_lock
private

Definition at line 244 of file faderport8.h.

◆ _shift_pressed

int ArdourSurface::FP8::FaderPort8::_shift_pressed
private

Definition at line 245 of file faderport8.h.

◆ _show_presets

bool ArdourSurface::FP8::FaderPort8::_show_presets
private

Definition at line 220 of file faderport8.h.

◆ _showing_well_known

int ArdourSurface::FP8::FaderPort8::_showing_well_known
private

Definition at line 221 of file faderport8.h.

◆ _solo_state

std::vector<std::weak_ptr<ARDOUR::AutomationControl> > ArdourSurface::FP8::FaderPort8::_solo_state
private

Definition at line 305 of file faderport8.h.

◆ _timecode

std::string ArdourSurface::FP8::FaderPort8::_timecode
private

Definition at line 227 of file faderport8.h.

◆ _timer_divider

int ArdourSurface::FP8::FaderPort8::_timer_divider
private

Definition at line 232 of file faderport8.h.

◆ _two_line_text

bool ArdourSurface::FP8::FaderPort8::_two_line_text
private

Definition at line 329 of file faderport8.h.

◆ _user_action_map

UserActionMap ArdourSurface::FP8::FaderPort8::_user_action_map
private

Definition at line 407 of file faderport8.h.

◆ assigned_stripable_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::assigned_stripable_connections
private

Definition at line 190 of file faderport8.h.

◆ button_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::button_connections
private

Definition at line 273 of file faderport8.h.

◆ ConnectionChange

PBD::Signal<void()> ArdourSurface::FP8::FaderPort8::ConnectionChange

Definition at line 81 of file faderport8.h.

◆ gui

void* ArdourSurface::FP8::FaderPort8::gui
mutableprivate

Definition at line 251 of file faderport8.h.

◆ link_connection

PBD::ScopedConnection ArdourSurface::FP8::FaderPort8::link_connection
private

Definition at line 318 of file faderport8.h.

◆ link_locked_connection

PBD::ScopedConnection ArdourSurface::FP8::FaderPort8::link_locked_connection
private

Definition at line 319 of file faderport8.h.

◆ midi_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::midi_connections
private

Definition at line 144 of file faderport8.h.

◆ modechange_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::modechange_connections
private

Definition at line 205 of file faderport8.h.

◆ port_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::port_connections
private

Definition at line 116 of file faderport8.h.

◆ processor_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::processor_connections
private

Definition at line 188 of file faderport8.h.

◆ route_state_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::route_state_connections
private

Definition at line 204 of file faderport8.h.

◆ selection_connection

PBD::ScopedConnection ArdourSurface::FP8::FaderPort8::selection_connection
private

Definition at line 203 of file faderport8.h.

◆ session_connections

PBD::ScopedConnectionList ArdourSurface::FP8::FaderPort8::session_connections
private

Definition at line 259 of file faderport8.h.


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