Ardour  8.12
TranzportControlProtocol Class Reference

#include <tranzport_control_protocol.h>

Inheritance diagram for TranzportControlProtocol:
[legend]

Public Member Functions

 TranzportControlProtocol (ARDOUR::Session &)
 
virtual ~TranzportControlProtocol ()
 
int set_active (bool yn)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &)
 
 TranzportControlProtocol (ARDOUR::Session &)
 
virtual ~TranzportControlProtocol ()
 
int set_active (bool yn)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &)
 
- 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)
 
virtual void stripable_selection_changed ()=0
 
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)
 
virtual std::list< std::shared_ptr< ARDOUR::Bundle > > bundles ()
 
virtual bool has_editor () const
 
virtual void * get_gui () const
 
virtual void tear_down_gui ()
 
int set_state (XMLNode const &, int version)
 
- 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 ()
 
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)
 

Static Public Member Functions

static bool probe ()
 
static bool available ()
 
- Static Public Member Functions inherited from ARDOUR::ControlProtocol
static StripableNotificationList const & last_selected ()
 
static void notify_stripable_selection_changed (StripableNotificationListPtr)
 

Private Types

enum  LightID {
  LightRecord = 0 , LightTrackrec , LightTrackmute , LightTracksolo ,
  LightAnysolo , LightLoop , LightPunch , LightRecord = 0 ,
  LightTrackrec , LightTrackmute , LightTracksolo , LightAnysolo ,
  LightLoop , LightPunch
}
 
enum  ButtonID {
  ButtonBattery = 0x00004000 , ButtonBacklight = 0x00008000 , ButtonTrackLeft = 0x04000000 , ButtonTrackRight = 0x40000000 ,
  ButtonTrackRec = 0x00040000 , ButtonTrackMute = 0x00400000 , ButtonTrackSolo = 0x00000400 , ButtonUndo = 0x80000000 ,
  ButtonIn = 0x02000000 , ButtonOut = 0x20000000 , ButtonPunch = 0x00800000 , ButtonLoop = 0x00080000 ,
  ButtonPrev = 0x00020000 , ButtonAdd = 0x00200000 , ButtonNext = 0x00000200 , ButtonRewind = 0x01000000 ,
  ButtonFastForward = 0x10000000 , ButtonStop = 0x00010000 , ButtonPlay = 0x00100000 , ButtonRecord = 0x00000100 ,
  ButtonShift = 0x08000000 , ButtonBattery = 0x00004000 , ButtonBacklight = 0x00008000 , ButtonTrackLeft = 0x04000000 ,
  ButtonTrackRight = 0x40000000 , ButtonTrackRec = 0x00040000 , ButtonTrackMute = 0x00400000 , ButtonTrackSolo = 0x00000400 ,
  ButtonUndo = 0x80000000 , ButtonIn = 0x02000000 , ButtonOut = 0x20000000 , ButtonPunch = 0x00800000 ,
  ButtonLoop = 0x00080000 , ButtonPrev = 0x00020000 , ButtonAdd = 0x00200000 , ButtonNext = 0x00000200 ,
  ButtonRewind = 0x01000000 , ButtonFastForward = 0x10000000 , ButtonStop = 0x00010000 , ButtonPlay = 0x00100000 ,
  ButtonRecord = 0x00000100 , ButtonShift = 0x08000000 , ButtonFootswitch = 0x00001000
}
 
enum  WheelShiftMode {
  WheelShiftGain , WheelShiftPan , WheelShiftMaster , WheelShiftMarker ,
  WheelShiftGain , WheelShiftPan , WheelShiftMaster , WheelShiftMarker
}
 
enum  WheelMode {
  WheelTimeline , WheelScrub , WheelShuttle , WheelTimeline ,
  WheelScrub , WheelShuttle
}
 
enum  WheelIncrement {
  WheelIncrSlave , WheelIncrScreen , WheelIncrSample , WheelIncrBeat ,
  WheelIncrBar , WheelIncrSecond , WheelIncrMinute , WheelIncrSlave ,
  WheelIncrScreen , WheelIncrSample , WheelIncrBeat , WheelIncrBar ,
  WheelIncrSecond , WheelIncrMinute
}
 
enum  DisplayMode {
  DisplayNormal , DisplayRecording , DisplayRecordingMeter , DisplayBigMeter ,
  DisplayConfig , DisplayBling , DisplayBlingMeter , DisplayNormal ,
  DisplayRecording , DisplayRecordingMeter , DisplayBigMeter , DisplayConfig ,
  DisplayBling , DisplayBlingMeter
}
 
enum  BlingMode {
  BlingOff , BlingKit , BlingRotating , BlingPairs ,
  BlingRows , BlingFlashAll , BlingOff , BlingKit ,
  BlingRotating , BlingPairs , BlingRows , BlingFlashAll ,
  BlingEnter , BlingExit
}
 
enum  LightID {
  LightRecord = 0 , LightTrackrec , LightTrackmute , LightTracksolo ,
  LightAnysolo , LightLoop , LightPunch , LightRecord = 0 ,
  LightTrackrec , LightTrackmute , LightTracksolo , LightAnysolo ,
  LightLoop , LightPunch
}
 
enum  ButtonID {
  ButtonBattery = 0x00004000 , ButtonBacklight = 0x00008000 , ButtonTrackLeft = 0x04000000 , ButtonTrackRight = 0x40000000 ,
  ButtonTrackRec = 0x00040000 , ButtonTrackMute = 0x00400000 , ButtonTrackSolo = 0x00000400 , ButtonUndo = 0x80000000 ,
  ButtonIn = 0x02000000 , ButtonOut = 0x20000000 , ButtonPunch = 0x00800000 , ButtonLoop = 0x00080000 ,
  ButtonPrev = 0x00020000 , ButtonAdd = 0x00200000 , ButtonNext = 0x00000200 , ButtonRewind = 0x01000000 ,
  ButtonFastForward = 0x10000000 , ButtonStop = 0x00010000 , ButtonPlay = 0x00100000 , ButtonRecord = 0x00000100 ,
  ButtonShift = 0x08000000 , ButtonBattery = 0x00004000 , ButtonBacklight = 0x00008000 , ButtonTrackLeft = 0x04000000 ,
  ButtonTrackRight = 0x40000000 , ButtonTrackRec = 0x00040000 , ButtonTrackMute = 0x00400000 , ButtonTrackSolo = 0x00000400 ,
  ButtonUndo = 0x80000000 , ButtonIn = 0x02000000 , ButtonOut = 0x20000000 , ButtonPunch = 0x00800000 ,
  ButtonLoop = 0x00080000 , ButtonPrev = 0x00020000 , ButtonAdd = 0x00200000 , ButtonNext = 0x00000200 ,
  ButtonRewind = 0x01000000 , ButtonFastForward = 0x10000000 , ButtonStop = 0x00010000 , ButtonPlay = 0x00100000 ,
  ButtonRecord = 0x00000100 , ButtonShift = 0x08000000 , ButtonFootswitch = 0x00001000
}
 
enum  WheelShiftMode {
  WheelShiftGain , WheelShiftPan , WheelShiftMaster , WheelShiftMarker ,
  WheelShiftGain , WheelShiftPan , WheelShiftMaster , WheelShiftMarker
}
 
enum  WheelMode {
  WheelTimeline , WheelScrub , WheelShuttle , WheelTimeline ,
  WheelScrub , WheelShuttle
}
 
enum  WheelIncrement {
  WheelIncrSlave , WheelIncrScreen , WheelIncrSample , WheelIncrBeat ,
  WheelIncrBar , WheelIncrSecond , WheelIncrMinute , WheelIncrSlave ,
  WheelIncrScreen , WheelIncrSample , WheelIncrBeat , WheelIncrBar ,
  WheelIncrSecond , WheelIncrMinute
}
 
enum  DisplayMode {
  DisplayNormal , DisplayRecording , DisplayRecordingMeter , DisplayBigMeter ,
  DisplayConfig , DisplayBling , DisplayBlingMeter , DisplayNormal ,
  DisplayRecording , DisplayRecordingMeter , DisplayBigMeter , DisplayConfig ,
  DisplayBling , DisplayBlingMeter
}
 
enum  BlingMode {
  BlingOff , BlingKit , BlingRotating , BlingPairs ,
  BlingRows , BlingFlashAll , BlingOff , BlingKit ,
  BlingRotating , BlingPairs , BlingRows , BlingFlashAll ,
  BlingEnter , BlingExit
}
 

Private Member Functions

int open ()
 
int read (uint8_t *buf, uint32_t timeout_override=0)
 
int write (uint8_t *cmd, uint32_t timeout_override=0)
 
int write_noretry (uint8_t *cmd, uint32_t timeout_override=0)
 
int close ()
 
int save (char *name="default")
 
int load (char *name="default")
 
void print (int row, int col, const char *text)
 
void print_noretry (int row, int col, const char *text)
 
int rtpriority_set (int priority=52)
 
int rtpriority_unset (int priority=0)
 
int open_core (struct usb_device *)
 
void * monitor_work ()
 
int process (uint8_t *)
 
int update_state ()
 
void invalidate ()
 
int flush ()
 
void screen_init ()
 
void screen_validate ()
 
void screen_invalidate ()
 
int screen_flush ()
 
void screen_clear ()
 
int lcd_init ()
 
bool lcd_damage ()
 
bool lcd_isdamaged ()
 
bool lcd_damage (int row, int col=0, int length=20)
 
bool lcd_isdamaged (int row, int col=0, int length=20)
 
int lcd_flush ()
 
int lcd_write (uint8_t *cmd, uint32_t timeout_override=0)
 
void lcd_fill (uint8_t fill_char)
 
void lcd_clear ()
 
void lcd_print (int row, int col, const char *text)
 
void lcd_print_noretry (int row, int col, const char *text)
 
void lights_init ()
 
void lights_validate ()
 
void lights_invalidate ()
 
void light_validate (LightID light)
 
void light_invalidate (LightID light)
 
int lights_flush ()
 
int lights_write (uint8_t *cmd, uint32_t timeout_override=0)
 
void lights_off ()
 
void lights_on ()
 
int light_set (LightID, bool offon=true)
 
int light_on (LightID)
 
int light_off (LightID)
 
int lights_show_normal ()
 
int lights_show_recording ()
 
int lights_show_tempo ()
 
int lights_show_bling ()
 
void enter_big_meter_mode ()
 
void enter_normal_display_mode ()
 
void enter_config_mode ()
 
void enter_recording_mode ()
 
void enter_bling_mode ()
 
void next_display_mode ()
 
void normal_update ()
 
void show_current_track ()
 
void show_track_gain ()
 
void show_transport_time ()
 
void show_bbt (samplepos_t where)
 
void show_smpte (samplepos_t where)
 
void show_wheel_mode ()
 
void show_gain ()
 
void show_pan ()
 
void show_meter ()
 
void datawheel ()
 
void scrub ()
 
void scroll ()
 
void shuttle ()
 
void config ()
 
void next_wheel_mode ()
 
void next_wheel_shift_mode ()
 
void set_current_track (ARDOUR::Route *)
 
void next_track ()
 
void prev_track ()
 
void step_gain_up ()
 
void step_gain_down ()
 
void step_pan_right ()
 
void step_pan_left ()
 
void button_event_battery_press (bool shifted)
 
void button_event_battery_release (bool shifted)
 
void button_event_backlight_press (bool shifted)
 
void button_event_backlight_release (bool shifted)
 
void button_event_trackleft_press (bool shifted)
 
void button_event_trackleft_release (bool shifted)
 
void button_event_trackright_press (bool shifted)
 
void button_event_trackright_release (bool shifted)
 
void button_event_trackrec_press (bool shifted)
 
void button_event_trackrec_release (bool shifted)
 
void button_event_trackmute_press (bool shifted)
 
void button_event_trackmute_release (bool shifted)
 
void button_event_tracksolo_press (bool shifted)
 
void button_event_tracksolo_release (bool shifted)
 
void button_event_undo_press (bool shifted)
 
void button_event_undo_release (bool shifted)
 
void button_event_in_press (bool shifted)
 
void button_event_in_release (bool shifted)
 
void button_event_out_press (bool shifted)
 
void button_event_out_release (bool shifted)
 
void button_event_punch_press (bool shifted)
 
void button_event_punch_release (bool shifted)
 
void button_event_loop_press (bool shifted)
 
void button_event_loop_release (bool shifted)
 
void button_event_prev_press (bool shifted)
 
void button_event_prev_release (bool shifted)
 
void button_event_add_press (bool shifted)
 
void button_event_add_release (bool shifted)
 
void button_event_next_press (bool shifted)
 
void button_event_next_release (bool shifted)
 
void button_event_rewind_press (bool shifted)
 
void button_event_rewind_release (bool shifted)
 
void button_event_fastforward_press (bool shifted)
 
void button_event_fastforward_release (bool shifted)
 
void button_event_stop_press (bool shifted)
 
void button_event_stop_release (bool shifted)
 
void button_event_play_press (bool shifted)
 
void button_event_play_release (bool shifted)
 
void button_event_record_press (bool shifted)
 
void button_event_record_release (bool shifted)
 
void button_event_mute (bool pressed, bool shifted)
 
int open ()
 
int read (uint8_t *buf, uint32_t timeout_override=0)
 
int write (uint8_t *cmd, uint32_t timeout_override=0)
 
int write_noretry (uint8_t *cmd, uint32_t timeout_override=0)
 
int close ()
 
int save_config (char *name="default")
 
int load_config (char *name="default")
 
int save (char *name)
 
int load (char *name)
 
void print (int row, int col, const char *text)
 
void print_noretry (int row, int col, const char *text)
 
void notify (const char *msg)
 
int rtpriority_set (int priority=52)
 
int rtpriority_unset (int priority=0)
 
int open_core (struct usb_device *)
 
void * monitor_work ()
 
int process (uint8_t *)
 
int update_state ()
 
void invalidate ()
 
int flush ()
 
void screen_init ()
 
void screen_validate ()
 
void screen_invalidate ()
 
int screen_flush ()
 
void screen_clear ()
 
int screen_show_bling ()
 
int lcd_init ()
 
bool lcd_damage ()
 
bool lcd_isdamaged ()
 
bool lcd_damage (int row, int col=0, int length=COLUMNS)
 
bool lcd_isdamaged (int row, int col=0, int length=COLUMNS)
 
int lcd_flush ()
 
int lcd_write (uint8_t *cmd, uint32_t timeout_override=0)
 
void lcd_fill (uint8_t fill_char)
 
void lcd_clear ()
 
void lcd_print (int row, int col, const char *text)
 
void lcd_print_noretry (int row, int col, const char *text)
 
void lights_init ()
 
void lights_validate ()
 
void lights_invalidate ()
 
void light_validate (LightID light)
 
void light_invalidate (LightID light)
 
int lights_flush ()
 
int lights_write (uint8_t *cmd, uint32_t timeout_override=0)
 
void lights_off ()
 
void lights_on ()
 
int light_set (LightID, bool offon=true)
 
int light_on (LightID)
 
int light_off (LightID)
 
int lights_show_normal ()
 
int lights_show_recording ()
 
int lights_show_tempo ()
 
int lights_show_bling ()
 
void enter_big_meter_mode ()
 
void enter_normal_display_mode ()
 
void enter_config_mode ()
 
void enter_recording_mode ()
 
void enter_bling_mode ()
 
void next_marker ()
 
void prev_marker ()
 
void next_display_mode ()
 
void normal_update ()
 
void show_current_track ()
 
void show_track_gain ()
 
void show_transport_time ()
 
void show_bbt (samplepos_t where)
 
void show_timecode (samplepos_t where)
 
void show_wheel_mode ()
 
void show_gain ()
 
void show_pan ()
 
void show_meter ()
 
void show_mini_meter ()
 
void show_bling ()
 
void show_notify ()
 
void datawheel ()
 
void scrub ()
 
void scroll ()
 
void shuttle ()
 
void config ()
 
void next_wheel_mode ()
 
void next_wheel_shift_mode ()
 
void set_current_track (ARDOUR::Route *)
 
void next_track ()
 
void prev_track ()
 
void step_gain_up ()
 
void step_gain_down ()
 
void step_pan_right ()
 
void step_pan_left ()
 
void button_event_battery_press (bool shifted)
 
void button_event_battery_release (bool shifted)
 
void button_event_backlight_press (bool shifted)
 
void button_event_backlight_release (bool shifted)
 
void button_event_trackleft_press (bool shifted)
 
void button_event_trackleft_release (bool shifted)
 
void button_event_trackright_press (bool shifted)
 
void button_event_trackright_release (bool shifted)
 
void button_event_trackrec_press (bool shifted)
 
void button_event_trackrec_release (bool shifted)
 
void button_event_trackmute_press (bool shifted)
 
void button_event_trackmute_release (bool shifted)
 
void button_event_tracksolo_press (bool shifted)
 
void button_event_tracksolo_release (bool shifted)
 
void button_event_undo_press (bool shifted)
 
void button_event_undo_release (bool shifted)
 
void button_event_in_press (bool shifted)
 
void button_event_in_release (bool shifted)
 
void button_event_out_press (bool shifted)
 
void button_event_out_release (bool shifted)
 
void button_event_punch_press (bool shifted)
 
void button_event_punch_release (bool shifted)
 
void button_event_loop_press (bool shifted)
 
void button_event_loop_release (bool shifted)
 
void button_event_prev_press (bool shifted)
 
void button_event_prev_release (bool shifted)
 
void button_event_add_press (bool shifted)
 
void button_event_add_release (bool shifted)
 
void button_event_next_press (bool shifted)
 
void button_event_next_release (bool shifted)
 
void button_event_rewind_press (bool shifted)
 
void button_event_rewind_release (bool shifted)
 
void button_event_fastforward_press (bool shifted)
 
void button_event_fastforward_release (bool shifted)
 
void button_event_stop_press (bool shifted)
 
void button_event_stop_release (bool shifted)
 
void button_event_play_press (bool shifted)
 
void button_event_play_release (bool shifted)
 
void button_event_record_press (bool shifted)
 
void button_event_record_release (bool shifted)
 
void button_event_footswitch_press (bool shifted)
 
void button_event_footswitch_release (bool shifted)
 
void button_event_mute (bool pressed, bool shifted)
 

Static Private Member Functions

static void * _monitor_work (void *arg)
 
static void * _monitor_work (void *arg)
 

Private Attributes

pthread_t thread
 
uint32_t buttonmask
 
uint32_t timeout
 
uint32_t inflight
 
uint8_t _datawheel
 
uint8_t _device_status
 
uint32_t current_track_id
 
WheelMode wheel_mode
 
WheelShiftMode wheel_shift_mode
 
DisplayMode display_mode
 
BlingMode bling_mode
 
WheelIncrement wheel_increment
 
usb_dev_handle * udev
 
ARDOUR::gain_t gain_fraction
 
Glib::Threads::Mutex update_lock
 
bool screen_invalid [2][20]
 
char screen_current [2][20]
 
char screen_pending [2][20]
 
char screen_flash [2][20]
 
bool lights_invalid [7]
 
bool lights_current [7]
 
bool lights_pending [7]
 
bool lights_flash [7]
 
uint32_t last_bars
 
uint32_t last_beats
 
uint32_t last_ticks
 
bool last_negative
 
uint32_t last_hrs
 
uint32_t last_mins
 
uint32_t last_secs
 
uint32_t last_samples
 
samplepos_t last_where
 
ARDOUR::gain_t last_track_gain
 
uint32_t last_meter_fill
 
uint64_t last_wheel_motion
 
int last_wheel_dir
 
Glib::Mutex io_lock
 
int last_read_error
 
int last_write_error
 
std::bitset< ROWS *COLUMNSscreen_invalid
 
std::bitset< LIGHTSlights_invalid
 
std::bitset< LIGHTSlights_current
 
std::bitset< LIGHTSlights_pending
 
std::bitset< LIGHTSlights_flash
 
int32_t last_notify
 
char last_notify_msg [COLUMNS+1]
 
struct timeval last_wheel_motion
 

Static Private Attributes

static const int VENDORID = 0x165b
 
static const int PRODUCTID = 0x8101
 
static const int READ_ENDPOINT = 0x81
 
static const int WRITE_ENDPOINT = 0x02
 
static const int STATUS_OFFLINE = 0xff
 
static const int STATUS_ONLINE = 0x01
 
static const uint8_t WheelDirectionThreshold = 0x3f
 
static const int STATUS_OK = 0x00
 
static const int LIGHTS = 7
 
static const int ROWS = 2
 
static const int COLUMNS = 20
 

Additional Inherited Members

- Public Attributes inherited from ARDOUR::ControlProtocol
PBD::Signal0< void > ActiveChanged
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal1< void, const PropertyChange & > PropertyChanged
 
- Static Public Attributes inherited from ARDOUR::ControlProtocol
static PBD::Signal0< void > ZoomToSession
 
static PBD::Signal0< void > ZoomIn
 
static PBD::Signal0< void > ZoomOut
 
static PBD::Signal0< void > Enter
 
static PBD::Signal0< void > Undo
 
static PBD::Signal0< void > Redo
 
static PBD::Signal1< void, float > ScrollTimeline
 
static PBD::Signal1< void, uint32_t > GotoView
 
static PBD::Signal0< void > CloseDialog
 
static PBD::Signal0< void > VerticalZoomInAll
 
static PBD::Signal0< void > VerticalZoomOutAll
 
static PBD::Signal0< void > VerticalZoomInSelected
 
static PBD::Signal0< void > VerticalZoomOutSelected
 
static PBD::Signal0< void > StepTracksDown
 
static PBD::Signal0< void > StepTracksUp
 
static PBD::Signal1< 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::Signal2< void, std::string, std::string > AccessAction
 
- 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 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
 

Detailed Description

Member Enumeration Documentation

◆ BlingMode [1/2]

Enumerator
BlingOff 
BlingKit 
BlingRotating 
BlingPairs 
BlingRows 
BlingFlashAll 
BlingOff 
BlingKit 
BlingRotating 
BlingPairs 
BlingRows 
BlingFlashAll 
BlingEnter 
BlingExit 

Definition at line 108 of file frontier/tranzport/tranzport_control_protocol.h.

◆ BlingMode [2/2]

Enumerator
BlingOff 
BlingKit 
BlingRotating 
BlingPairs 
BlingRows 
BlingFlashAll 
BlingOff 
BlingKit 
BlingRotating 
BlingPairs 
BlingRows 
BlingFlashAll 
BlingEnter 
BlingExit 

Definition at line 138 of file tranzport/tranzport_control_protocol.h.

◆ ButtonID [1/2]

Enumerator
ButtonBattery 
ButtonBacklight 
ButtonTrackLeft 
ButtonTrackRight 
ButtonTrackRec 
ButtonTrackMute 
ButtonTrackSolo 
ButtonUndo 
ButtonIn 
ButtonOut 
ButtonPunch 
ButtonLoop 
ButtonPrev 
ButtonAdd 
ButtonNext 
ButtonRewind 
ButtonFastForward 
ButtonStop 
ButtonPlay 
ButtonRecord 
ButtonShift 
ButtonBattery 
ButtonBacklight 
ButtonTrackLeft 
ButtonTrackRight 
ButtonTrackRec 
ButtonTrackMute 
ButtonTrackSolo 
ButtonUndo 
ButtonIn 
ButtonOut 
ButtonPunch 
ButtonLoop 
ButtonPrev 
ButtonAdd 
ButtonNext 
ButtonRewind 
ButtonFastForward 
ButtonStop 
ButtonPlay 
ButtonRecord 
ButtonShift 
ButtonFootswitch 

Definition at line 49 of file frontier/tranzport/tranzport_control_protocol.h.

◆ ButtonID [2/2]

Enumerator
ButtonBattery 
ButtonBacklight 
ButtonTrackLeft 
ButtonTrackRight 
ButtonTrackRec 
ButtonTrackMute 
ButtonTrackSolo 
ButtonUndo 
ButtonIn 
ButtonOut 
ButtonPunch 
ButtonLoop 
ButtonPrev 
ButtonAdd 
ButtonNext 
ButtonRewind 
ButtonFastForward 
ButtonStop 
ButtonPlay 
ButtonRecord 
ButtonShift 
ButtonBattery 
ButtonBacklight 
ButtonTrackLeft 
ButtonTrackRight 
ButtonTrackRec 
ButtonTrackMute 
ButtonTrackSolo 
ButtonUndo 
ButtonIn 
ButtonOut 
ButtonPunch 
ButtonLoop 
ButtonPrev 
ButtonAdd 
ButtonNext 
ButtonRewind 
ButtonFastForward 
ButtonStop 
ButtonPlay 
ButtonRecord 
ButtonShift 
ButtonFootswitch 

Definition at line 78 of file tranzport/tranzport_control_protocol.h.

◆ DisplayMode [1/2]

Enumerator
DisplayNormal 
DisplayRecording 
DisplayRecordingMeter 
DisplayBigMeter 
DisplayConfig 
DisplayBling 
DisplayBlingMeter 
DisplayNormal 
DisplayRecording 
DisplayRecordingMeter 
DisplayBigMeter 
DisplayConfig 
DisplayBling 
DisplayBlingMeter 

Definition at line 98 of file frontier/tranzport/tranzport_control_protocol.h.

◆ DisplayMode [2/2]

Enumerator
DisplayNormal 
DisplayRecording 
DisplayRecordingMeter 
DisplayBigMeter 
DisplayConfig 
DisplayBling 
DisplayBlingMeter 
DisplayNormal 
DisplayRecording 
DisplayRecordingMeter 
DisplayBigMeter 
DisplayConfig 
DisplayBling 
DisplayBlingMeter 

Definition at line 128 of file tranzport/tranzport_control_protocol.h.

◆ LightID [1/2]

Enumerator
LightRecord 
LightTrackrec 
LightTrackmute 
LightTracksolo 
LightAnysolo 
LightLoop 
LightPunch 
LightRecord 
LightTrackrec 
LightTrackmute 
LightTracksolo 
LightAnysolo 
LightLoop 
LightPunch 

Definition at line 39 of file frontier/tranzport/tranzport_control_protocol.h.

◆ LightID [2/2]

Enumerator
LightRecord 
LightTrackrec 
LightTrackmute 
LightTracksolo 
LightAnysolo 
LightLoop 
LightPunch 
LightRecord 
LightTrackrec 
LightTrackmute 
LightTracksolo 
LightAnysolo 
LightLoop 
LightPunch 

Definition at line 68 of file tranzport/tranzport_control_protocol.h.

◆ WheelIncrement [1/2]

Enumerator
WheelIncrSlave 
WheelIncrScreen 
WheelIncrSample 
WheelIncrBeat 
WheelIncrBar 
WheelIncrSecond 
WheelIncrMinute 
WheelIncrSlave 
WheelIncrScreen 
WheelIncrSample 
WheelIncrBeat 
WheelIncrBar 
WheelIncrSecond 
WheelIncrMinute 

Definition at line 88 of file frontier/tranzport/tranzport_control_protocol.h.

◆ WheelIncrement [2/2]

Enumerator
WheelIncrSlave 
WheelIncrScreen 
WheelIncrSample 
WheelIncrBeat 
WheelIncrBar 
WheelIncrSecond 
WheelIncrMinute 
WheelIncrSlave 
WheelIncrScreen 
WheelIncrSample 
WheelIncrBeat 
WheelIncrBar 
WheelIncrSecond 
WheelIncrMinute 

Definition at line 118 of file tranzport/tranzport_control_protocol.h.

◆ WheelMode [1/2]

Enumerator
WheelTimeline 
WheelScrub 
WheelShuttle 
WheelTimeline 
WheelScrub 
WheelShuttle 

Definition at line 80 of file frontier/tranzport/tranzport_control_protocol.h.

◆ WheelMode [2/2]

Enumerator
WheelTimeline 
WheelScrub 
WheelShuttle 
WheelTimeline 
WheelScrub 
WheelShuttle 

Definition at line 110 of file tranzport/tranzport_control_protocol.h.

◆ WheelShiftMode [1/2]

Enumerator
WheelShiftGain 
WheelShiftPan 
WheelShiftMaster 
WheelShiftMarker 
WheelShiftGain 
WheelShiftPan 
WheelShiftMaster 
WheelShiftMarker 

Definition at line 73 of file frontier/tranzport/tranzport_control_protocol.h.

◆ WheelShiftMode [2/2]

Enumerator
WheelShiftGain 
WheelShiftPan 
WheelShiftMaster 
WheelShiftMarker 
WheelShiftGain 
WheelShiftPan 
WheelShiftMaster 
WheelShiftMarker 

Definition at line 103 of file tranzport/tranzport_control_protocol.h.

Constructor & Destructor Documentation

◆ TranzportControlProtocol() [1/2]

TranzportControlProtocol::TranzportControlProtocol ( ARDOUR::Session )

◆ ~TranzportControlProtocol() [1/2]

virtual TranzportControlProtocol::~TranzportControlProtocol ( )
virtual

◆ TranzportControlProtocol() [2/2]

TranzportControlProtocol::TranzportControlProtocol ( ARDOUR::Session )

◆ ~TranzportControlProtocol() [2/2]

virtual TranzportControlProtocol::~TranzportControlProtocol ( )
virtual

Member Function Documentation

◆ _monitor_work() [1/2]

static void* TranzportControlProtocol::_monitor_work ( void *  arg)
staticprivate

◆ _monitor_work() [2/2]

static void* TranzportControlProtocol::_monitor_work ( void *  arg)
staticprivate

◆ available()

static bool TranzportControlProtocol::available ( )
static

◆ button_event_add_press() [1/2]

void TranzportControlProtocol::button_event_add_press ( bool  shifted)
private

◆ button_event_add_press() [2/2]

void TranzportControlProtocol::button_event_add_press ( bool  shifted)
private

◆ button_event_add_release() [1/2]

void TranzportControlProtocol::button_event_add_release ( bool  shifted)
private

◆ button_event_add_release() [2/2]

void TranzportControlProtocol::button_event_add_release ( bool  shifted)
private

◆ button_event_backlight_press() [1/2]

void TranzportControlProtocol::button_event_backlight_press ( bool  shifted)
private

◆ button_event_backlight_press() [2/2]

void TranzportControlProtocol::button_event_backlight_press ( bool  shifted)
private

◆ button_event_backlight_release() [1/2]

void TranzportControlProtocol::button_event_backlight_release ( bool  shifted)
private

◆ button_event_backlight_release() [2/2]

void TranzportControlProtocol::button_event_backlight_release ( bool  shifted)
private

◆ button_event_battery_press() [1/2]

void TranzportControlProtocol::button_event_battery_press ( bool  shifted)
private

◆ button_event_battery_press() [2/2]

void TranzportControlProtocol::button_event_battery_press ( bool  shifted)
private

◆ button_event_battery_release() [1/2]

void TranzportControlProtocol::button_event_battery_release ( bool  shifted)
private

◆ button_event_battery_release() [2/2]

void TranzportControlProtocol::button_event_battery_release ( bool  shifted)
private

◆ button_event_fastforward_press() [1/2]

void TranzportControlProtocol::button_event_fastforward_press ( bool  shifted)
private

◆ button_event_fastforward_press() [2/2]

void TranzportControlProtocol::button_event_fastforward_press ( bool  shifted)
private

◆ button_event_fastforward_release() [1/2]

void TranzportControlProtocol::button_event_fastforward_release ( bool  shifted)
private

◆ button_event_fastforward_release() [2/2]

void TranzportControlProtocol::button_event_fastforward_release ( bool  shifted)
private

◆ button_event_footswitch_press()

void TranzportControlProtocol::button_event_footswitch_press ( bool  shifted)
private

◆ button_event_footswitch_release()

void TranzportControlProtocol::button_event_footswitch_release ( bool  shifted)
private

◆ button_event_in_press() [1/2]

void TranzportControlProtocol::button_event_in_press ( bool  shifted)
private

◆ button_event_in_press() [2/2]

void TranzportControlProtocol::button_event_in_press ( bool  shifted)
private

◆ button_event_in_release() [1/2]

void TranzportControlProtocol::button_event_in_release ( bool  shifted)
private

◆ button_event_in_release() [2/2]

void TranzportControlProtocol::button_event_in_release ( bool  shifted)
private

◆ button_event_loop_press() [1/2]

void TranzportControlProtocol::button_event_loop_press ( bool  shifted)
private

◆ button_event_loop_press() [2/2]

void TranzportControlProtocol::button_event_loop_press ( bool  shifted)
private

◆ button_event_loop_release() [1/2]

void TranzportControlProtocol::button_event_loop_release ( bool  shifted)
private

◆ button_event_loop_release() [2/2]

void TranzportControlProtocol::button_event_loop_release ( bool  shifted)
private

◆ button_event_mute() [1/2]

void TranzportControlProtocol::button_event_mute ( bool  pressed,
bool  shifted 
)
private

◆ button_event_mute() [2/2]

void TranzportControlProtocol::button_event_mute ( bool  pressed,
bool  shifted 
)
private

◆ button_event_next_press() [1/2]

void TranzportControlProtocol::button_event_next_press ( bool  shifted)
private

◆ button_event_next_press() [2/2]

void TranzportControlProtocol::button_event_next_press ( bool  shifted)
private

◆ button_event_next_release() [1/2]

void TranzportControlProtocol::button_event_next_release ( bool  shifted)
private

◆ button_event_next_release() [2/2]

void TranzportControlProtocol::button_event_next_release ( bool  shifted)
private

◆ button_event_out_press() [1/2]

void TranzportControlProtocol::button_event_out_press ( bool  shifted)
private

◆ button_event_out_press() [2/2]

void TranzportControlProtocol::button_event_out_press ( bool  shifted)
private

◆ button_event_out_release() [1/2]

void TranzportControlProtocol::button_event_out_release ( bool  shifted)
private

◆ button_event_out_release() [2/2]

void TranzportControlProtocol::button_event_out_release ( bool  shifted)
private

◆ button_event_play_press() [1/2]

void TranzportControlProtocol::button_event_play_press ( bool  shifted)
private

◆ button_event_play_press() [2/2]

void TranzportControlProtocol::button_event_play_press ( bool  shifted)
private

◆ button_event_play_release() [1/2]

void TranzportControlProtocol::button_event_play_release ( bool  shifted)
private

◆ button_event_play_release() [2/2]

void TranzportControlProtocol::button_event_play_release ( bool  shifted)
private

◆ button_event_prev_press() [1/2]

void TranzportControlProtocol::button_event_prev_press ( bool  shifted)
private

◆ button_event_prev_press() [2/2]

void TranzportControlProtocol::button_event_prev_press ( bool  shifted)
private

◆ button_event_prev_release() [1/2]

void TranzportControlProtocol::button_event_prev_release ( bool  shifted)
private

◆ button_event_prev_release() [2/2]

void TranzportControlProtocol::button_event_prev_release ( bool  shifted)
private

◆ button_event_punch_press() [1/2]

void TranzportControlProtocol::button_event_punch_press ( bool  shifted)
private

◆ button_event_punch_press() [2/2]

void TranzportControlProtocol::button_event_punch_press ( bool  shifted)
private

◆ button_event_punch_release() [1/2]

void TranzportControlProtocol::button_event_punch_release ( bool  shifted)
private

◆ button_event_punch_release() [2/2]

void TranzportControlProtocol::button_event_punch_release ( bool  shifted)
private

◆ button_event_record_press() [1/2]

void TranzportControlProtocol::button_event_record_press ( bool  shifted)
private

◆ button_event_record_press() [2/2]

void TranzportControlProtocol::button_event_record_press ( bool  shifted)
private

◆ button_event_record_release() [1/2]

void TranzportControlProtocol::button_event_record_release ( bool  shifted)
private

◆ button_event_record_release() [2/2]

void TranzportControlProtocol::button_event_record_release ( bool  shifted)
private

◆ button_event_rewind_press() [1/2]

void TranzportControlProtocol::button_event_rewind_press ( bool  shifted)
private

◆ button_event_rewind_press() [2/2]

void TranzportControlProtocol::button_event_rewind_press ( bool  shifted)
private

◆ button_event_rewind_release() [1/2]

void TranzportControlProtocol::button_event_rewind_release ( bool  shifted)
private

◆ button_event_rewind_release() [2/2]

void TranzportControlProtocol::button_event_rewind_release ( bool  shifted)
private

◆ button_event_stop_press() [1/2]

void TranzportControlProtocol::button_event_stop_press ( bool  shifted)
private

◆ button_event_stop_press() [2/2]

void TranzportControlProtocol::button_event_stop_press ( bool  shifted)
private

◆ button_event_stop_release() [1/2]

void TranzportControlProtocol::button_event_stop_release ( bool  shifted)
private

◆ button_event_stop_release() [2/2]

void TranzportControlProtocol::button_event_stop_release ( bool  shifted)
private

◆ button_event_trackleft_press() [1/2]

void TranzportControlProtocol::button_event_trackleft_press ( bool  shifted)
private

◆ button_event_trackleft_press() [2/2]

void TranzportControlProtocol::button_event_trackleft_press ( bool  shifted)
private

◆ button_event_trackleft_release() [1/2]

void TranzportControlProtocol::button_event_trackleft_release ( bool  shifted)
private

◆ button_event_trackleft_release() [2/2]

void TranzportControlProtocol::button_event_trackleft_release ( bool  shifted)
private

◆ button_event_trackmute_press() [1/2]

void TranzportControlProtocol::button_event_trackmute_press ( bool  shifted)
private

◆ button_event_trackmute_press() [2/2]

void TranzportControlProtocol::button_event_trackmute_press ( bool  shifted)
private

◆ button_event_trackmute_release() [1/2]

void TranzportControlProtocol::button_event_trackmute_release ( bool  shifted)
private

◆ button_event_trackmute_release() [2/2]

void TranzportControlProtocol::button_event_trackmute_release ( bool  shifted)
private

◆ button_event_trackrec_press() [1/2]

void TranzportControlProtocol::button_event_trackrec_press ( bool  shifted)
private

◆ button_event_trackrec_press() [2/2]

void TranzportControlProtocol::button_event_trackrec_press ( bool  shifted)
private

◆ button_event_trackrec_release() [1/2]

void TranzportControlProtocol::button_event_trackrec_release ( bool  shifted)
private

◆ button_event_trackrec_release() [2/2]

void TranzportControlProtocol::button_event_trackrec_release ( bool  shifted)
private

◆ button_event_trackright_press() [1/2]

void TranzportControlProtocol::button_event_trackright_press ( bool  shifted)
private

◆ button_event_trackright_press() [2/2]

void TranzportControlProtocol::button_event_trackright_press ( bool  shifted)
private

◆ button_event_trackright_release() [1/2]

void TranzportControlProtocol::button_event_trackright_release ( bool  shifted)
private

◆ button_event_trackright_release() [2/2]

void TranzportControlProtocol::button_event_trackright_release ( bool  shifted)
private

◆ button_event_tracksolo_press() [1/2]

void TranzportControlProtocol::button_event_tracksolo_press ( bool  shifted)
private

◆ button_event_tracksolo_press() [2/2]

void TranzportControlProtocol::button_event_tracksolo_press ( bool  shifted)
private

◆ button_event_tracksolo_release() [1/2]

void TranzportControlProtocol::button_event_tracksolo_release ( bool  shifted)
private

◆ button_event_tracksolo_release() [2/2]

void TranzportControlProtocol::button_event_tracksolo_release ( bool  shifted)
private

◆ button_event_undo_press() [1/2]

void TranzportControlProtocol::button_event_undo_press ( bool  shifted)
private

◆ button_event_undo_press() [2/2]

void TranzportControlProtocol::button_event_undo_press ( bool  shifted)
private

◆ button_event_undo_release() [1/2]

void TranzportControlProtocol::button_event_undo_release ( bool  shifted)
private

◆ button_event_undo_release() [2/2]

void TranzportControlProtocol::button_event_undo_release ( bool  shifted)
private

◆ close() [1/2]

int TranzportControlProtocol::close ( )
private

◆ close() [2/2]

int TranzportControlProtocol::close ( )
private

◆ config() [1/2]

void TranzportControlProtocol::config ( )
private

◆ config() [2/2]

void TranzportControlProtocol::config ( )
private

◆ datawheel() [1/2]

void TranzportControlProtocol::datawheel ( )
private

◆ datawheel() [2/2]

void TranzportControlProtocol::datawheel ( )
private

◆ enter_big_meter_mode() [1/2]

void TranzportControlProtocol::enter_big_meter_mode ( )
private

◆ enter_big_meter_mode() [2/2]

void TranzportControlProtocol::enter_big_meter_mode ( )
private

◆ enter_bling_mode() [1/2]

void TranzportControlProtocol::enter_bling_mode ( )
private

◆ enter_bling_mode() [2/2]

void TranzportControlProtocol::enter_bling_mode ( )
private

◆ enter_config_mode() [1/2]

void TranzportControlProtocol::enter_config_mode ( )
private

◆ enter_config_mode() [2/2]

void TranzportControlProtocol::enter_config_mode ( )
private

◆ enter_normal_display_mode() [1/2]

void TranzportControlProtocol::enter_normal_display_mode ( )
private

◆ enter_normal_display_mode() [2/2]

void TranzportControlProtocol::enter_normal_display_mode ( )
private

◆ enter_recording_mode() [1/2]

void TranzportControlProtocol::enter_recording_mode ( )
private

◆ enter_recording_mode() [2/2]

void TranzportControlProtocol::enter_recording_mode ( )
private

◆ flush() [1/2]

int TranzportControlProtocol::flush ( )
private

◆ flush() [2/2]

int TranzportControlProtocol::flush ( )
private

◆ get_state() [1/2]

XMLNode& TranzportControlProtocol::get_state ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ get_state() [2/2]

XMLNode& TranzportControlProtocol::get_state ( ) const
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ invalidate() [1/2]

void TranzportControlProtocol::invalidate ( )
private

◆ invalidate() [2/2]

void TranzportControlProtocol::invalidate ( )
private

◆ lcd_clear() [1/2]

void TranzportControlProtocol::lcd_clear ( )
private

◆ lcd_clear() [2/2]

void TranzportControlProtocol::lcd_clear ( )
private

◆ lcd_damage() [1/4]

bool TranzportControlProtocol::lcd_damage ( )
private

◆ lcd_damage() [2/4]

bool TranzportControlProtocol::lcd_damage ( )
private

◆ lcd_damage() [3/4]

bool TranzportControlProtocol::lcd_damage ( int  row,
int  col = 0,
int  length = 20 
)
private

◆ lcd_damage() [4/4]

bool TranzportControlProtocol::lcd_damage ( int  row,
int  col = 0,
int  length = COLUMNS 
)
private

◆ lcd_fill() [1/2]

void TranzportControlProtocol::lcd_fill ( uint8_t  fill_char)
private

◆ lcd_fill() [2/2]

void TranzportControlProtocol::lcd_fill ( uint8_t  fill_char)
private

◆ lcd_flush() [1/2]

int TranzportControlProtocol::lcd_flush ( )
private

◆ lcd_flush() [2/2]

int TranzportControlProtocol::lcd_flush ( )
private

◆ lcd_init() [1/2]

int TranzportControlProtocol::lcd_init ( )
private

◆ lcd_init() [2/2]

int TranzportControlProtocol::lcd_init ( )
private

◆ lcd_isdamaged() [1/4]

bool TranzportControlProtocol::lcd_isdamaged ( )
private

◆ lcd_isdamaged() [2/4]

bool TranzportControlProtocol::lcd_isdamaged ( )
private

◆ lcd_isdamaged() [3/4]

bool TranzportControlProtocol::lcd_isdamaged ( int  row,
int  col = 0,
int  length = 20 
)
private

◆ lcd_isdamaged() [4/4]

bool TranzportControlProtocol::lcd_isdamaged ( int  row,
int  col = 0,
int  length = COLUMNS 
)
private

◆ lcd_print() [1/2]

void TranzportControlProtocol::lcd_print ( int  row,
int  col,
const char *  text 
)
private

◆ lcd_print() [2/2]

void TranzportControlProtocol::lcd_print ( int  row,
int  col,
const char *  text 
)
private

◆ lcd_print_noretry() [1/2]

void TranzportControlProtocol::lcd_print_noretry ( int  row,
int  col,
const char *  text 
)
private

◆ lcd_print_noretry() [2/2]

void TranzportControlProtocol::lcd_print_noretry ( int  row,
int  col,
const char *  text 
)
private

◆ lcd_write() [1/2]

int TranzportControlProtocol::lcd_write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ lcd_write() [2/2]

int TranzportControlProtocol::lcd_write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ light_invalidate() [1/2]

void TranzportControlProtocol::light_invalidate ( LightID  light)
private

◆ light_invalidate() [2/2]

void TranzportControlProtocol::light_invalidate ( LightID  light)
private

◆ light_off() [1/2]

int TranzportControlProtocol::light_off ( LightID  )
private

◆ light_off() [2/2]

int TranzportControlProtocol::light_off ( LightID  )
private

◆ light_on() [1/2]

int TranzportControlProtocol::light_on ( LightID  )
private

◆ light_on() [2/2]

int TranzportControlProtocol::light_on ( LightID  )
private

◆ light_set() [1/2]

int TranzportControlProtocol::light_set ( LightID  ,
bool  offon = true 
)
private

◆ light_set() [2/2]

int TranzportControlProtocol::light_set ( LightID  ,
bool  offon = true 
)
private

◆ light_validate() [1/2]

void TranzportControlProtocol::light_validate ( LightID  light)
private

◆ light_validate() [2/2]

void TranzportControlProtocol::light_validate ( LightID  light)
private

◆ lights_flush() [1/2]

int TranzportControlProtocol::lights_flush ( )
private

◆ lights_flush() [2/2]

int TranzportControlProtocol::lights_flush ( )
private

◆ lights_init() [1/2]

void TranzportControlProtocol::lights_init ( )
private

◆ lights_init() [2/2]

void TranzportControlProtocol::lights_init ( )
private

◆ lights_invalidate() [1/2]

void TranzportControlProtocol::lights_invalidate ( )
private

◆ lights_invalidate() [2/2]

void TranzportControlProtocol::lights_invalidate ( )
private

◆ lights_off() [1/2]

void TranzportControlProtocol::lights_off ( )
private

◆ lights_off() [2/2]

void TranzportControlProtocol::lights_off ( )
private

◆ lights_on() [1/2]

void TranzportControlProtocol::lights_on ( )
private

◆ lights_on() [2/2]

void TranzportControlProtocol::lights_on ( )
private

◆ lights_show_bling() [1/2]

int TranzportControlProtocol::lights_show_bling ( )
private

◆ lights_show_bling() [2/2]

int TranzportControlProtocol::lights_show_bling ( )
private

◆ lights_show_normal() [1/2]

int TranzportControlProtocol::lights_show_normal ( )
private

◆ lights_show_normal() [2/2]

int TranzportControlProtocol::lights_show_normal ( )
private

◆ lights_show_recording() [1/2]

int TranzportControlProtocol::lights_show_recording ( )
private

◆ lights_show_recording() [2/2]

int TranzportControlProtocol::lights_show_recording ( )
private

◆ lights_show_tempo() [1/2]

int TranzportControlProtocol::lights_show_tempo ( )
private

◆ lights_show_tempo() [2/2]

int TranzportControlProtocol::lights_show_tempo ( )
private

◆ lights_validate() [1/2]

void TranzportControlProtocol::lights_validate ( )
private

◆ lights_validate() [2/2]

void TranzportControlProtocol::lights_validate ( )
private

◆ lights_write() [1/2]

int TranzportControlProtocol::lights_write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ lights_write() [2/2]

int TranzportControlProtocol::lights_write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ load() [1/2]

int TranzportControlProtocol::load ( char *  name)
private

◆ load() [2/2]

int TranzportControlProtocol::load ( char *  name = "default")
private

◆ load_config()

int TranzportControlProtocol::load_config ( char *  name = "default")
private

◆ monitor_work() [1/2]

void* TranzportControlProtocol::monitor_work ( )
private

◆ monitor_work() [2/2]

void* TranzportControlProtocol::monitor_work ( )
private

◆ next_display_mode() [1/2]

void TranzportControlProtocol::next_display_mode ( )
private

◆ next_display_mode() [2/2]

void TranzportControlProtocol::next_display_mode ( )
private

◆ next_marker()

void TranzportControlProtocol::next_marker ( )
private

◆ next_track() [1/2]

void TranzportControlProtocol::next_track ( )
private

◆ next_track() [2/2]

void TranzportControlProtocol::next_track ( )
private

◆ next_wheel_mode() [1/2]

void TranzportControlProtocol::next_wheel_mode ( )
private

◆ next_wheel_mode() [2/2]

void TranzportControlProtocol::next_wheel_mode ( )
private

◆ next_wheel_shift_mode() [1/2]

void TranzportControlProtocol::next_wheel_shift_mode ( )
private

◆ next_wheel_shift_mode() [2/2]

void TranzportControlProtocol::next_wheel_shift_mode ( )
private

◆ normal_update() [1/2]

void TranzportControlProtocol::normal_update ( )
private

◆ normal_update() [2/2]

void TranzportControlProtocol::normal_update ( )
private

◆ notify()

void TranzportControlProtocol::notify ( const char *  msg)
private

◆ open() [1/2]

int TranzportControlProtocol::open ( )
private

◆ open() [2/2]

int TranzportControlProtocol::open ( )
private

◆ open_core() [1/2]

int TranzportControlProtocol::open_core ( struct usb_device *  )
private

◆ open_core() [2/2]

int TranzportControlProtocol::open_core ( struct usb_device *  )
private

◆ prev_marker()

void TranzportControlProtocol::prev_marker ( )
private

◆ prev_track() [1/2]

void TranzportControlProtocol::prev_track ( )
private

◆ prev_track() [2/2]

void TranzportControlProtocol::prev_track ( )
private

◆ print() [1/2]

void TranzportControlProtocol::print ( int  row,
int  col,
const char *  text 
)
private

◆ print() [2/2]

void TranzportControlProtocol::print ( int  row,
int  col,
const char *  text 
)
private

◆ print_noretry() [1/2]

void TranzportControlProtocol::print_noretry ( int  row,
int  col,
const char *  text 
)
private

◆ print_noretry() [2/2]

void TranzportControlProtocol::print_noretry ( int  row,
int  col,
const char *  text 
)
private

◆ probe()

static bool TranzportControlProtocol::probe ( )
static

◆ process() [1/2]

int TranzportControlProtocol::process ( uint8_t *  )
private

◆ process() [2/2]

int TranzportControlProtocol::process ( uint8_t *  )
private

◆ read() [1/2]

int TranzportControlProtocol::read ( uint8_t *  buf,
uint32_t  timeout_override = 0 
)
private

◆ read() [2/2]

int TranzportControlProtocol::read ( uint8_t *  buf,
uint32_t  timeout_override = 0 
)
private

◆ rtpriority_set() [1/2]

int TranzportControlProtocol::rtpriority_set ( int  priority = 52)
private

◆ rtpriority_set() [2/2]

int TranzportControlProtocol::rtpriority_set ( int  priority = 52)
private

◆ rtpriority_unset() [1/2]

int TranzportControlProtocol::rtpriority_unset ( int  priority = 0)
private

◆ rtpriority_unset() [2/2]

int TranzportControlProtocol::rtpriority_unset ( int  priority = 0)
private

◆ save() [1/2]

int TranzportControlProtocol::save ( char *  name)
private

◆ save() [2/2]

int TranzportControlProtocol::save ( char *  name = "default")
private

◆ save_config()

int TranzportControlProtocol::save_config ( char *  name = "default")
private

◆ screen_clear() [1/2]

void TranzportControlProtocol::screen_clear ( )
private

◆ screen_clear() [2/2]

void TranzportControlProtocol::screen_clear ( )
private

◆ screen_flush() [1/2]

int TranzportControlProtocol::screen_flush ( )
private

◆ screen_flush() [2/2]

int TranzportControlProtocol::screen_flush ( )
private

◆ screen_init() [1/2]

void TranzportControlProtocol::screen_init ( )
private

◆ screen_init() [2/2]

void TranzportControlProtocol::screen_init ( )
private

◆ screen_invalidate() [1/2]

void TranzportControlProtocol::screen_invalidate ( )
private

◆ screen_invalidate() [2/2]

void TranzportControlProtocol::screen_invalidate ( )
private

◆ screen_show_bling()

int TranzportControlProtocol::screen_show_bling ( )
private

◆ screen_validate() [1/2]

void TranzportControlProtocol::screen_validate ( )
private

◆ screen_validate() [2/2]

void TranzportControlProtocol::screen_validate ( )
private

◆ scroll() [1/2]

void TranzportControlProtocol::scroll ( )
private

◆ scroll() [2/2]

void TranzportControlProtocol::scroll ( )
private

◆ scrub() [1/2]

void TranzportControlProtocol::scrub ( )
private

◆ scrub() [2/2]

void TranzportControlProtocol::scrub ( )
private

◆ set_active() [1/2]

int TranzportControlProtocol::set_active ( bool  yn)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_active() [2/2]

int TranzportControlProtocol::set_active ( bool  yn)
virtual

Reimplemented from ARDOUR::ControlProtocol.

◆ set_current_track() [1/2]

void TranzportControlProtocol::set_current_track ( ARDOUR::Route )
private

◆ set_current_track() [2/2]

void TranzportControlProtocol::set_current_track ( ARDOUR::Route )
private

◆ set_state() [1/2]

int TranzportControlProtocol::set_state ( const XMLNode )

◆ set_state() [2/2]

int TranzportControlProtocol::set_state ( const XMLNode )

◆ show_bbt() [1/2]

void TranzportControlProtocol::show_bbt ( samplepos_t  where)
private

◆ show_bbt() [2/2]

void TranzportControlProtocol::show_bbt ( samplepos_t  where)
private

◆ show_bling()

void TranzportControlProtocol::show_bling ( )
private

◆ show_current_track() [1/2]

void TranzportControlProtocol::show_current_track ( )
private

◆ show_current_track() [2/2]

void TranzportControlProtocol::show_current_track ( )
private

◆ show_gain() [1/2]

void TranzportControlProtocol::show_gain ( )
private

◆ show_gain() [2/2]

void TranzportControlProtocol::show_gain ( )
private

◆ show_meter() [1/2]

void TranzportControlProtocol::show_meter ( )
private

◆ show_meter() [2/2]

void TranzportControlProtocol::show_meter ( )
private

◆ show_mini_meter()

void TranzportControlProtocol::show_mini_meter ( )
private

◆ show_notify()

void TranzportControlProtocol::show_notify ( )
private

◆ show_pan() [1/2]

void TranzportControlProtocol::show_pan ( )
private

◆ show_pan() [2/2]

void TranzportControlProtocol::show_pan ( )
private

◆ show_smpte()

void TranzportControlProtocol::show_smpte ( samplepos_t  where)
private

◆ show_timecode()

void TranzportControlProtocol::show_timecode ( samplepos_t  where)
private

◆ show_track_gain() [1/2]

void TranzportControlProtocol::show_track_gain ( )
private

◆ show_track_gain() [2/2]

void TranzportControlProtocol::show_track_gain ( )
private

◆ show_transport_time() [1/2]

void TranzportControlProtocol::show_transport_time ( )
private

◆ show_transport_time() [2/2]

void TranzportControlProtocol::show_transport_time ( )
private

◆ show_wheel_mode() [1/2]

void TranzportControlProtocol::show_wheel_mode ( )
private

◆ show_wheel_mode() [2/2]

void TranzportControlProtocol::show_wheel_mode ( )
private

◆ shuttle() [1/2]

void TranzportControlProtocol::shuttle ( )
private

◆ shuttle() [2/2]

void TranzportControlProtocol::shuttle ( )
private

◆ step_gain_down() [1/2]

void TranzportControlProtocol::step_gain_down ( )
private

◆ step_gain_down() [2/2]

void TranzportControlProtocol::step_gain_down ( )
private

◆ step_gain_up() [1/2]

void TranzportControlProtocol::step_gain_up ( )
private

◆ step_gain_up() [2/2]

void TranzportControlProtocol::step_gain_up ( )
private

◆ step_pan_left() [1/2]

void TranzportControlProtocol::step_pan_left ( )
private

◆ step_pan_left() [2/2]

void TranzportControlProtocol::step_pan_left ( )
private

◆ step_pan_right() [1/2]

void TranzportControlProtocol::step_pan_right ( )
private

◆ step_pan_right() [2/2]

void TranzportControlProtocol::step_pan_right ( )
private

◆ update_state() [1/2]

int TranzportControlProtocol::update_state ( )
private

◆ update_state() [2/2]

int TranzportControlProtocol::update_state ( )
private

◆ write() [1/2]

int TranzportControlProtocol::write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ write() [2/2]

int TranzportControlProtocol::write ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ write_noretry() [1/2]

int TranzportControlProtocol::write_noretry ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

◆ write_noretry() [2/2]

int TranzportControlProtocol::write_noretry ( uint8_t *  cmd,
uint32_t  timeout_override = 0 
)
private

Member Data Documentation

◆ _datawheel

uint8_t TranzportControlProtocol::_datawheel
private

◆ _device_status

uint8_t TranzportControlProtocol::_device_status
private

◆ bling_mode

BlingMode TranzportControlProtocol::bling_mode
private

◆ buttonmask

uint32_t TranzportControlProtocol::buttonmask
private

◆ COLUMNS

const int TranzportControlProtocol::COLUMNS = 20
staticprivate

Definition at line 65 of file tranzport/tranzport_control_protocol.h.

◆ current_track_id

uint32_t TranzportControlProtocol::current_track_id
private

◆ display_mode

DisplayMode TranzportControlProtocol::display_mode
private

◆ gain_fraction

ARDOUR::gain_t TranzportControlProtocol::gain_fraction
private

◆ inflight

uint32_t TranzportControlProtocol::inflight
private

◆ io_lock

Glib::Mutex TranzportControlProtocol::io_lock
private

◆ last_bars

uint32_t TranzportControlProtocol::last_bars
private

◆ last_beats

uint32_t TranzportControlProtocol::last_beats
private

◆ last_hrs

uint32_t TranzportControlProtocol::last_hrs
private

◆ last_meter_fill

uint32_t TranzportControlProtocol::last_meter_fill
private

◆ last_mins

uint32_t TranzportControlProtocol::last_mins
private

◆ last_negative

bool TranzportControlProtocol::last_negative
private

◆ last_notify

int32_t TranzportControlProtocol::last_notify
private

Definition at line 185 of file tranzport/tranzport_control_protocol.h.

◆ last_notify_msg

char TranzportControlProtocol::last_notify_msg[COLUMNS+1]
private

Definition at line 186 of file tranzport/tranzport_control_protocol.h.

◆ last_read_error

int TranzportControlProtocol::last_read_error
private

Definition at line 156 of file tranzport/tranzport_control_protocol.h.

◆ last_samples

uint32_t TranzportControlProtocol::last_samples
private

◆ last_secs

uint32_t TranzportControlProtocol::last_secs
private

◆ last_ticks

uint32_t TranzportControlProtocol::last_ticks
private

◆ last_track_gain

ARDOUR::gain_t TranzportControlProtocol::last_track_gain
private

◆ last_wheel_dir

int TranzportControlProtocol::last_wheel_dir
private

◆ last_wheel_motion [1/2]

uint64_t TranzportControlProtocol::last_wheel_motion
private

◆ last_wheel_motion [2/2]

struct timeval TranzportControlProtocol::last_wheel_motion
private

Definition at line 198 of file tranzport/tranzport_control_protocol.h.

◆ last_where

samplepos_t TranzportControlProtocol::last_where
private

◆ last_write_error

int TranzportControlProtocol::last_write_error
private

Definition at line 162 of file tranzport/tranzport_control_protocol.h.

◆ LIGHTS

const int TranzportControlProtocol::LIGHTS = 7
staticprivate

Definition at line 63 of file tranzport/tranzport_control_protocol.h.

◆ lights_current [1/2]

bool TranzportControlProtocol::lights_current[7]
private

◆ lights_current [2/2]

std::bitset<LIGHTS> TranzportControlProtocol::lights_current
private

Definition at line 181 of file tranzport/tranzport_control_protocol.h.

◆ lights_flash [1/2]

bool TranzportControlProtocol::lights_flash[7]
private

◆ lights_flash [2/2]

std::bitset<LIGHTS> TranzportControlProtocol::lights_flash
private

Definition at line 183 of file tranzport/tranzport_control_protocol.h.

◆ lights_invalid [1/2]

bool TranzportControlProtocol::lights_invalid[7]
private

◆ lights_invalid [2/2]

std::bitset<LIGHTS> TranzportControlProtocol::lights_invalid
private

Definition at line 180 of file tranzport/tranzport_control_protocol.h.

◆ lights_pending [1/2]

bool TranzportControlProtocol::lights_pending[7]
private

◆ lights_pending [2/2]

std::bitset<LIGHTS> TranzportControlProtocol::lights_pending
private

Definition at line 182 of file tranzport/tranzport_control_protocol.h.

◆ PRODUCTID

static const int TranzportControlProtocol::PRODUCTID = 0x8101
staticprivate

◆ READ_ENDPOINT

static const int TranzportControlProtocol::READ_ENDPOINT = 0x81
staticprivate

◆ ROWS

const int TranzportControlProtocol::ROWS = 2
staticprivate

Definition at line 64 of file tranzport/tranzport_control_protocol.h.

◆ screen_current

char TranzportControlProtocol::screen_current
private

◆ screen_flash

char TranzportControlProtocol::screen_flash
private

◆ screen_invalid [1/2]

bool TranzportControlProtocol::screen_invalid[2][20]
private

◆ screen_invalid [2/2]

std::bitset<ROWS*COLUMNS> TranzportControlProtocol::screen_invalid
private

Definition at line 175 of file tranzport/tranzport_control_protocol.h.

◆ screen_pending

char TranzportControlProtocol::screen_pending
private

◆ STATUS_OFFLINE

static const int TranzportControlProtocol::STATUS_OFFLINE = 0xff
staticprivate

◆ STATUS_OK

const int TranzportControlProtocol::STATUS_OK = 0x00
staticprivate

Definition at line 61 of file tranzport/tranzport_control_protocol.h.

◆ STATUS_ONLINE

static const int TranzportControlProtocol::STATUS_ONLINE = 0x01
staticprivate

◆ thread

pthread_t TranzportControlProtocol::thread
private

◆ timeout

uint32_t TranzportControlProtocol::timeout
private

◆ udev

usb_dev_handle * TranzportControlProtocol::udev
private

◆ update_lock

Glib::Threads::Mutex TranzportControlProtocol::update_lock
private

◆ VENDORID

static const int TranzportControlProtocol::VENDORID = 0x165b
staticprivate

◆ wheel_increment

WheelIncrement TranzportControlProtocol::wheel_increment
private

◆ wheel_mode

WheelMode TranzportControlProtocol::wheel_mode
private

◆ wheel_shift_mode

WheelShiftMode TranzportControlProtocol::wheel_shift_mode
private

◆ WheelDirectionThreshold

static const uint8_t TranzportControlProtocol::WheelDirectionThreshold = 0x3f
staticprivate

◆ WRITE_ENDPOINT

static const int TranzportControlProtocol::WRITE_ENDPOINT = 0x02
staticprivate

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