Ardour  9.0-pre0-582-g084a23a80d
ArdourSurface::CC121 Class Reference

#include <cc121.h>

Inheritance diagram for ArdourSurface::CC121:
[legend]

Classes

class  Button
 

Public Types

enum  ButtonID {
  Rec = 0x00 , Solo = 0x08 , Mute = 0x10 , Left = 0x30 ,
  Right = 0x31 , EButton = 0x33 , Function1 = 0x36 , Function2 = 0x37 ,
  Function3 = 0x38 , Function4 = 0x39 , Value = 0x3A , Footswitch = 0x3B ,
  FP_Read = 0x4A , FP_Write = 0x4B , Loop = 0x56 , ToStart = 0x58 ,
  ToEnd = 0x5A , Rewind = 0x5B , Ffwd = 0x5C , Stop = 0x5D ,
  Play = 0x5E , RecEnable = 0x5F , FaderTouch = 0x68 , EQ1Enable = 0x70 ,
  EQ2Enable = 0x71 , EQ3Enable = 0x72 , EQ4Enable = 0x73 , EQType = 0x74 ,
  AllBypass = 0x75 , Jog = 0x76 , Lock = 0x77 , InputMonitor = 0x78 ,
  OpenVST = 0x79 , Output = 22
}
 
enum  ButtonState {
  ShiftDown = 0x1 , RewindDown = 0x2 , StopDown = 0x4 , UserDown = 0x8 ,
  LongPress = 0x10
}
 
- Public Types inherited from PBD::EventLoop
enum  RequestType { range_guarantee = ~0 }
 

Public Member Functions

 CC121 (ARDOUR::Session &)
 
virtual ~CC121 ()
 
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 do_request (CC121Request *)
 
int stop ()
 
void thread_init ()
 
std::shared_ptr< ARDOUR::Portinput_port ()
 
std::shared_ptr< ARDOUR::Portoutput_port ()
 
void set_action (ButtonID, std::string const &action_name, bool on_press, CC121::ButtonState=ButtonState(0))
 
std::string get_action (ButtonID, bool on_press, CC121::ButtonState=ButtonState(0))
 
std::list< std::shared_ptr< ARDOUR::Bundle > > bundles ()
 
 CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ()
 
- 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< CC121Request >
 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
 

Public Attributes

PBD::Signal< void()> ConnectionChange
 
- 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< CC121Request >
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  JogMode { scroll =1 , zoom =2 }
 
typedef std::map< ButtonID, ButtonButtonMap
 
typedef std::list< ButtonIDBlinkers
 

Private Member Functions

bool midi_input_handler (Glib::IOCondition ioc, std::shared_ptr< ARDOUR::AsyncMIDIPort > port)
 
void build_gui ()
 
bool connection_handler (std::weak_ptr< ARDOUR::Port >, std::string name1, std::weak_ptr< ARDOUR::Port >, std::string name2, bool yn)
 
void connected ()
 
void button_press_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void button_release_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
void fader_handler (MIDI::Parser &, MIDI::pitchbend_t pb)
 
void encoder_handler (MIDI::Parser &, MIDI::EventTwoBytes *tb)
 
Buttonget_button (ButtonID) const
 
void all_lights_out ()
 
void close ()
 
void start_midi_handling ()
 
void stop_midi_handling ()
 
void connect_session_signals ()
 
void map_recenable_state ()
 
void map_transport_state ()
 
bool periodic ()
 
bool blink ()
 
bool beat ()
 
void start_blinking (ButtonID)
 
void stop_blinking (ButtonID)
 
void set_current_stripable (std::shared_ptr< ARDOUR::Stripable >)
 
void drop_current_stripable ()
 
void use_master ()
 
void use_monitor ()
 
void stripable_selection_changed ()
 
void map_stripable_state ()
 
void map_solo ()
 
void map_mute ()
 
void map_recenable ()
 
void map_gain ()
 
void map_cut ()
 
void map_auto ()
 
void map_monitoring ()
 
void read ()
 
void write ()
 
void input_monitor ()
 
void left ()
 
void right ()
 
void touch ()
 
void off ()
 
void undo ()
 
void redo ()
 
void solo ()
 
void mute ()
 
void jog ()
 
void rec_enable ()
 
void set_controllable (std::shared_ptr< ARDOUR::AutomationControl >, float)
 
void punch ()
 

Private Attributes

std::shared_ptr< ARDOUR::Stripable_current_stripable
 
std::weak_ptr< ARDOUR::Stripablepre_master_stripable
 
std::weak_ptr< ARDOUR::Stripablepre_monitor_stripable
 
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
 
PBD::ScopedConnectionList midi_connections
 
void * gui
 
PBD::ScopedConnection port_connection
 
int connection_state
 
bool _device_active
 
int fader_msb
 
int fader_lsb
 
bool fader_is_touched
 
JogMode _jogmode
 
PBD::microseconds_t last_encoder_time
 
int last_good_encoder_delta
 
int last_encoder_delta
 
int last_last_encoder_delta
 
ButtonState button_state
 
ButtonMap buttons
 
std::set< ButtonIDbuttons_down
 
std::set< ButtonIDconsumed
 
PBD::ScopedConnectionList session_connections
 
sigc::connection periodic_connection
 
sigc::connection heartbeat_connection
 
sigc::connection blink_connection
 
Blinkers blinkers
 
bool blink_state
 
PBD::ScopedConnection selection_connection
 
PBD::ScopedConnectionList stripable_connections
 
bool rec_enable_state
 

Friends

class Button
 

Additional Inherited Members

- 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)
 
- 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< CC121Request >
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< CC121Request >
CC121Request * get_request (RequestType)
 
void handle_ui_requests ()
 
void send_request (CC121Request *)
 
virtual void do_request (CC121Request *)=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< CC121Request >
RequestBufferMap request_buffers
 
std::list< CC121Request * > 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 79 of file cc121.h.

Member Typedef Documentation

◆ Blinkers

typedef std::list<ButtonID> ArdourSurface::CC121::Blinkers
private

Definition at line 284 of file cc121.h.

◆ ButtonMap

typedef std::map<ButtonID,Button> ArdourSurface::CC121::ButtonMap
private

Definition at line 261 of file cc121.h.

Member Enumeration Documentation

◆ ButtonID

Enumerator
Rec 
Solo 
Mute 
Left 
Right 
EButton 
Function1 
Function2 
Function3 
Function4 
Value 
Footswitch 
FP_Read 
FP_Write 
Loop 
ToStart 
ToEnd 
Rewind 
Ffwd 
Stop 
Play 
RecEnable 
FaderTouch 
EQ1Enable 
EQ2Enable 
EQ3Enable 
EQ4Enable 
EQType 
AllBypass 
Jog 
Lock 
InputMonitor 
OpenVST 
Output 

Definition at line 109 of file cc121.h.

◆ ButtonState

Enumerator
ShiftDown 
RewindDown 
StopDown 
UserDown 
LongPress 

Definition at line 146 of file cc121.h.

◆ ConnectionState

Enumerator
InputConnected 
OutputConnected 

Definition at line 184 of file cc121.h.

◆ JogMode

Enumerator
scroll 
zoom 

Definition at line 195 of file cc121.h.

Constructor & Destructor Documentation

◆ CC121()

ArdourSurface::CC121::CC121 ( ARDOUR::Session )

◆ ~CC121()

virtual ArdourSurface::CC121::~CC121 ( )
virtual

Member Function Documentation

◆ all_lights_out()

void ArdourSurface::CC121::all_lights_out ( )
private

◆ beat()

bool ArdourSurface::CC121::beat ( )
private

◆ blink()

bool ArdourSurface::CC121::blink ( )
private

◆ build_gui()

void ArdourSurface::CC121::build_gui ( )
private

◆ bundles()

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

Reimplemented from ARDOUR::ControlProtocol.

◆ button_press_handler()

void ArdourSurface::CC121::button_press_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ button_release_handler()

void ArdourSurface::CC121::button_release_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ close()

void ArdourSurface::CC121::close ( )
private

◆ connect_session_signals()

void ArdourSurface::CC121::connect_session_signals ( )
private

◆ connected()

void ArdourSurface::CC121::connected ( )
private

◆ connection_handler()

bool ArdourSurface::CC121::connection_handler ( std::weak_ptr< ARDOUR::Port ,
std::string  name1,
std::weak_ptr< ARDOUR::Port ,
std::string  name2,
bool  yn 
)
private

◆ CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL()

ArdourSurface::CC121::CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL ( )

◆ do_request()

void ArdourSurface::CC121::do_request ( CC121Request )

◆ drop_current_stripable()

void ArdourSurface::CC121::drop_current_stripable ( )
private

◆ encoder_handler()

void ArdourSurface::CC121::encoder_handler ( MIDI::Parser ,
MIDI::EventTwoBytes tb 
)
private

◆ fader_handler()

void ArdourSurface::CC121::fader_handler ( MIDI::Parser ,
MIDI::pitchbend_t  pb 
)
private

◆ get_action()

std::string ArdourSurface::CC121::get_action ( ButtonID  ,
bool  on_press,
CC121::ButtonState  = ButtonState(0) 
)

◆ get_button()

Button& ArdourSurface::CC121::get_button ( ButtonID  ) const
private

◆ get_gui()

void* ArdourSurface::CC121::get_gui ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ get_state()

XMLNode& ArdourSurface::CC121::get_state ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ has_editor()

bool ArdourSurface::CC121::has_editor ( ) const
inlinevirtual

Reimplemented from ARDOUR::ControlProtocol.

Definition at line 89 of file cc121.h.

◆ input_monitor()

void ArdourSurface::CC121::input_monitor ( )
private

◆ input_port()

std::shared_ptr<ARDOUR::Port> ArdourSurface::CC121::input_port ( )

◆ jog()

void ArdourSurface::CC121::jog ( )
private

◆ left()

void ArdourSurface::CC121::left ( )
private

◆ map_auto()

void ArdourSurface::CC121::map_auto ( )
private

◆ map_cut()

void ArdourSurface::CC121::map_cut ( )
private

◆ map_gain()

void ArdourSurface::CC121::map_gain ( )
private

◆ map_monitoring()

void ArdourSurface::CC121::map_monitoring ( )
private

◆ map_mute()

void ArdourSurface::CC121::map_mute ( )
private

◆ map_recenable()

void ArdourSurface::CC121::map_recenable ( )
private

◆ map_recenable_state()

void ArdourSurface::CC121::map_recenable_state ( )
private

◆ map_solo()

void ArdourSurface::CC121::map_solo ( )
private

◆ map_stripable_state()

void ArdourSurface::CC121::map_stripable_state ( )
private

◆ map_transport_state()

void ArdourSurface::CC121::map_transport_state ( )
private

◆ midi_input_handler()

bool ArdourSurface::CC121::midi_input_handler ( Glib::IOCondition  ioc,
std::shared_ptr< ARDOUR::AsyncMIDIPort port 
)
private

◆ mute()

void ArdourSurface::CC121::mute ( )
private

◆ off()

void ArdourSurface::CC121::off ( )
private

◆ output_port()

std::shared_ptr<ARDOUR::Port> ArdourSurface::CC121::output_port ( )

◆ periodic()

bool ArdourSurface::CC121::periodic ( )
private

◆ punch()

void ArdourSurface::CC121::punch ( )
private

◆ read()

void ArdourSurface::CC121::read ( )
private

◆ rec_enable()

void ArdourSurface::CC121::rec_enable ( )
private

◆ redo()

void ArdourSurface::CC121::redo ( )
private

◆ right()

void ArdourSurface::CC121::right ( )
private

◆ set_action()

void ArdourSurface::CC121::set_action ( ButtonID  ,
std::string const &  action_name,
bool  on_press,
CC121::ButtonState  = ButtonState(0) 
)

◆ set_active()

int ArdourSurface::CC121::set_active ( bool  yn)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_controllable()

void ArdourSurface::CC121::set_controllable ( std::shared_ptr< ARDOUR::AutomationControl ,
float   
)
private

◆ set_current_stripable()

void ArdourSurface::CC121::set_current_stripable ( std::shared_ptr< ARDOUR::Stripable )
private

◆ set_state()

int ArdourSurface::CC121::set_state ( const XMLNode ,
int  version 
)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ solo()

void ArdourSurface::CC121::solo ( )
private

◆ start_blinking()

void ArdourSurface::CC121::start_blinking ( ButtonID  )
private

◆ start_midi_handling()

void ArdourSurface::CC121::start_midi_handling ( )
private

◆ stop()

int ArdourSurface::CC121::stop ( )

◆ stop_blinking()

void ArdourSurface::CC121::stop_blinking ( ButtonID  )
private

◆ stop_midi_handling()

void ArdourSurface::CC121::stop_midi_handling ( )
private

◆ stripable_selection_changed()

void ArdourSurface::CC121::stripable_selection_changed ( )
privatevirtual

◆ tear_down_gui()

void ArdourSurface::CC121::tear_down_gui ( )
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ thread_init()

void ArdourSurface::CC121::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.

◆ touch()

void ArdourSurface::CC121::touch ( )
private

◆ undo()

void ArdourSurface::CC121::undo ( )
private

◆ use_master()

void ArdourSurface::CC121::use_master ( )
private

◆ use_monitor()

void ArdourSurface::CC121::use_monitor ( )
private

◆ write()

void ArdourSurface::CC121::write ( )
private

Friends And Related Function Documentation

◆ Button

friend class Button
friend

Definition at line 210 of file cc121.h.

Member Data Documentation

◆ _current_stripable

std::shared_ptr<ARDOUR::Stripable> ArdourSurface::CC121::_current_stripable
private

Definition at line 162 of file cc121.h.

◆ _device_active

bool ArdourSurface::CC121::_device_active
private

Definition at line 191 of file cc121.h.

◆ _input_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::CC121::_input_bundle
private

Definition at line 170 of file cc121.h.

◆ _input_port

std::shared_ptr<ARDOUR::AsyncMIDIPort> ArdourSurface::CC121::_input_port
private

Definition at line 166 of file cc121.h.

◆ _jogmode

JogMode ArdourSurface::CC121::_jogmode
private

Definition at line 196 of file cc121.h.

◆ _output_bundle

std::shared_ptr<ARDOUR::Bundle> ArdourSurface::CC121::_output_bundle
private

Definition at line 172 of file cc121.h.

◆ _output_port

std::shared_ptr<ARDOUR::AsyncMIDIPort> ArdourSurface::CC121::_output_port
private

Definition at line 167 of file cc121.h.

◆ blink_connection

sigc::connection ArdourSurface::CC121::blink_connection
private

Definition at line 283 of file cc121.h.

◆ blink_state

bool ArdourSurface::CC121::blink_state
private

Definition at line 286 of file cc121.h.

◆ blinkers

Blinkers ArdourSurface::CC121::blinkers
private

Definition at line 285 of file cc121.h.

◆ button_state

ButtonState ArdourSurface::CC121::button_state
private

Definition at line 208 of file cc121.h.

◆ buttons

ButtonMap ArdourSurface::CC121::buttons
private

Definition at line 263 of file cc121.h.

◆ buttons_down

std::set<ButtonID> ArdourSurface::CC121::buttons_down
private

Definition at line 266 of file cc121.h.

◆ connection_state

int ArdourSurface::CC121::connection_state
private

Definition at line 189 of file cc121.h.

◆ ConnectionChange

PBD::Signal<void()> ArdourSurface::CC121::ConnectionChange

Definition at line 104 of file cc121.h.

◆ consumed

std::set<ButtonID> ArdourSurface::CC121::consumed
private

Definition at line 267 of file cc121.h.

◆ fader_is_touched

bool ArdourSurface::CC121::fader_is_touched
private

Definition at line 194 of file cc121.h.

◆ fader_lsb

int ArdourSurface::CC121::fader_lsb
private

Definition at line 193 of file cc121.h.

◆ fader_msb

int ArdourSurface::CC121::fader_msb
private

Definition at line 192 of file cc121.h.

◆ gui

void* ArdourSurface::CC121::gui
mutableprivate

Definition at line 178 of file cc121.h.

◆ heartbeat_connection

sigc::connection ArdourSurface::CC121::heartbeat_connection
private

Definition at line 282 of file cc121.h.

◆ last_encoder_delta

int ArdourSurface::CC121::last_encoder_delta
private

Definition at line 200 of file cc121.h.

◆ last_encoder_time

PBD::microseconds_t ArdourSurface::CC121::last_encoder_time
private

Definition at line 198 of file cc121.h.

◆ last_good_encoder_delta

int ArdourSurface::CC121::last_good_encoder_delta
private

Definition at line 199 of file cc121.h.

◆ last_last_encoder_delta

int ArdourSurface::CC121::last_last_encoder_delta
private

Definition at line 200 of file cc121.h.

◆ midi_connections

PBD::ScopedConnectionList ArdourSurface::CC121::midi_connections
private

Definition at line 174 of file cc121.h.

◆ periodic_connection

sigc::connection ArdourSurface::CC121::periodic_connection
private

Definition at line 279 of file cc121.h.

◆ port_connection

PBD::ScopedConnection ArdourSurface::CC121::port_connection
private

Definition at line 182 of file cc121.h.

◆ pre_master_stripable

std::weak_ptr<ARDOUR::Stripable> ArdourSurface::CC121::pre_master_stripable
private

Definition at line 163 of file cc121.h.

◆ pre_monitor_stripable

std::weak_ptr<ARDOUR::Stripable> ArdourSurface::CC121::pre_monitor_stripable
private

Definition at line 164 of file cc121.h.

◆ rec_enable_state

bool ArdourSurface::CC121::rec_enable_state
private

Definition at line 303 of file cc121.h.

◆ selection_connection

PBD::ScopedConnection ArdourSurface::CC121::selection_connection
private

Definition at line 297 of file cc121.h.

◆ session_connections

PBD::ScopedConnectionList ArdourSurface::CC121::session_connections
private

Definition at line 274 of file cc121.h.

◆ stripable_connections

PBD::ScopedConnectionList ArdourSurface::CC121::stripable_connections
private

Definition at line 298 of file cc121.h.


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