Ardour  9.0-pre0-582-g084a23a80d
BasicUI Class Reference

#include <basic_ui.h>

Inheritance diagram for BasicUI:
[legend]

Classes

struct  TriggerDisplay
 

Public Member Functions

 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 Attributes

static PBD::Signal< void(std::string, std::string)> AccessAction
 

Protected Member Functions

 BasicUI ()
 

Protected Attributes

ARDOUR::Sessionsession
 
int _tbank_route_width
 
int _tbank_row_height
 
int _tbank_start_route
 
int _tbank_start_row
 

Detailed Description

Definition at line 47 of file basic_ui.h.

Constructor & Destructor Documentation

◆ BasicUI() [1/2]

BasicUI::BasicUI ( ARDOUR::Session )

◆ ~BasicUI()

virtual BasicUI::~BasicUI ( )
virtual

◆ BasicUI() [2/2]

BasicUI::BasicUI ( )
protected

Member Function Documentation

◆ access_action()

void BasicUI::access_action ( std::string  action_path)

◆ add_marker()

void BasicUI::add_marker ( const std::string &  = std::string())

◆ all_tracks_rec_in()

void BasicUI::all_tracks_rec_in ( )

◆ all_tracks_rec_out()

void BasicUI::all_tracks_rec_out ( )

◆ apply_mixer_scene()

void BasicUI::apply_mixer_scene ( int  scn)

◆ bang_trigger_at()

void BasicUI::bang_trigger_at ( int  x,
int  y 
)

◆ button_varispeed()

void BasicUI::button_varispeed ( bool  fwd)

◆ cancel_all_solo()

void BasicUI::cancel_all_solo ( )

◆ ffwd()

void BasicUI::ffwd ( )

◆ ffwd_button_onoff()

bool BasicUI::ffwd_button_onoff ( ) const

◆ find_trigger()

std::shared_ptr<ARDOUR::Trigger> BasicUI::find_trigger ( int  x,
int  y 
)

◆ fit_16_tracks()

void BasicUI::fit_16_tracks ( )

◆ fit_1_track()

void BasicUI::fit_1_track ( )

◆ fit_2_tracks()

void BasicUI::fit_2_tracks ( )

◆ fit_32_tracks()

void BasicUI::fit_32_tracks ( )

◆ fit_4_tracks()

void BasicUI::fit_4_tracks ( )

◆ fit_8_tracks()

void BasicUI::fit_8_tracks ( )

◆ fit_all_tracks()

void BasicUI::fit_all_tracks ( )

◆ get_record_enabled()

bool BasicUI::get_record_enabled ( )

◆ get_transport_speed()

double BasicUI::get_transport_speed ( ) const

◆ goto_end()

void BasicUI::goto_end ( )

◆ goto_nth_marker()

void BasicUI::goto_nth_marker ( int  n)

◆ goto_start()

void BasicUI::goto_start ( bool  and_roll = false)

◆ goto_zero()

void BasicUI::goto_zero ( )

◆ jump_by_bars()

void BasicUI::jump_by_bars ( int  bars,
ARDOUR::LocateTransportDisposition  ltd = ARDOUR::RollIfAppropriate 
)

◆ jump_by_beats()

void BasicUI::jump_by_beats ( int  beats,
ARDOUR::LocateTransportDisposition  ltd = ARDOUR::RollIfAppropriate 
)

◆ jump_by_seconds()

void BasicUI::jump_by_seconds ( double  sec,
ARDOUR::LocateTransportDisposition  ltd = ARDOUR::RollIfAppropriate 
)

◆ locate() [1/2]

void BasicUI::locate ( ARDOUR::samplepos_t  sample,
ARDOUR::LocateTransportDisposition  ltd 
)

◆ locate() [2/2]

void BasicUI::locate ( ARDOUR::samplepos_t  sample,
bool   
)

◆ locating()

bool BasicUI::locating ( )

◆ locked()

bool BasicUI::locked ( )

◆ loop_button_onoff()

bool BasicUI::loop_button_onoff ( ) const

◆ loop_location()

void BasicUI::loop_location ( Temporal::timepos_t const &  start,
Temporal::timepos_t const &  end 
)

◆ loop_toggle()

void BasicUI::loop_toggle ( )

◆ mark_in()

void BasicUI::mark_in ( )

◆ mark_out()

void BasicUI::mark_out ( )

◆ midi_panic()

void BasicUI::midi_panic ( )

◆ next_marker()

void BasicUI::next_marker ( )

◆ play_button_onoff()

bool BasicUI::play_button_onoff ( ) const

◆ prev_marker()

void BasicUI::prev_marker ( )

◆ quick_snapshot_stay()

void BasicUI::quick_snapshot_stay ( )

◆ quick_snapshot_switch()

void BasicUI::quick_snapshot_switch ( )

◆ rec_enable_toggle()

void BasicUI::rec_enable_toggle ( )

◆ redo()

void BasicUI::redo ( )

◆ register_thread()

void BasicUI::register_thread ( std::string  name)

◆ remove_marker_at_playhead()

void BasicUI::remove_marker_at_playhead ( )

◆ rewind()

void BasicUI::rewind ( )

◆ rewind_button_onoff()

bool BasicUI::rewind_button_onoff ( ) const

◆ sample_to_timecode()

void BasicUI::sample_to_timecode ( samplepos_t  sample,
Timecode::Time timecode,
bool  use_offset,
bool  use_subframes 
) const

◆ save_state()

void BasicUI::save_state ( )

◆ scroll_dn_1_page()

void BasicUI::scroll_dn_1_page ( )

◆ scroll_dn_1_track()

void BasicUI::scroll_dn_1_track ( )

◆ scroll_up_1_page()

void BasicUI::scroll_up_1_page ( )

◆ scroll_up_1_track()

void BasicUI::scroll_up_1_track ( )

◆ set_loop_range()

void BasicUI::set_loop_range ( )

◆ set_punch_range()

void BasicUI::set_punch_range ( )

◆ set_record_enable()

void BasicUI::set_record_enable ( bool  yn)

◆ set_session_range()

void BasicUI::set_session_range ( )

◆ set_transport_speed()

void BasicUI::set_transport_speed ( double  speed)

◆ stop_button_onoff()

bool BasicUI::stop_button_onoff ( ) const

◆ stop_forget()

void BasicUI::stop_forget ( )

◆ store_mixer_scene()

void BasicUI::store_mixer_scene ( int  scn)

◆ tbank_set_size()

void BasicUI::tbank_set_size ( int  route_width,
int  row_height 
)

◆ tbank_step_routes()

void BasicUI::tbank_step_routes ( int  step_size)

◆ tbank_step_rows()

void BasicUI::tbank_step_rows ( int  step_size)

◆ temporal_zoom_in()

void BasicUI::temporal_zoom_in ( )

◆ temporal_zoom_out()

void BasicUI::temporal_zoom_out ( )

◆ timecode_frames_per_hour()

ARDOUR::samplecnt_t BasicUI::timecode_frames_per_hour ( )

◆ timecode_time()

void BasicUI::timecode_time ( samplepos_t  where,
Timecode::Time  
)

◆ timecode_to_sample()

void BasicUI::timecode_to_sample ( Timecode::Time timecode,
samplepos_t &  sample,
bool  use_offset,
bool  use_subframes 
) const

◆ toggle_all_rec_enables()

void BasicUI::toggle_all_rec_enables ( )

◆ toggle_click()

void BasicUI::toggle_click ( )

◆ toggle_monitor_dim()

void BasicUI::toggle_monitor_dim ( )

◆ toggle_monitor_mono()

void BasicUI::toggle_monitor_mono ( )

◆ toggle_monitor_mute()

void BasicUI::toggle_monitor_mute ( )

◆ toggle_punch_in()

void BasicUI::toggle_punch_in ( )

◆ toggle_punch_out()

void BasicUI::toggle_punch_out ( )

◆ toggle_roll()

void BasicUI::toggle_roll ( bool  with_abort,
bool  roll_out_of_bounded_mode 
)

◆ transport_play()

void BasicUI::transport_play ( bool  jump_back = false)

◆ transport_rolling()

double BasicUI::transport_rolling ( ) const

◆ transport_sample()

ARDOUR::samplepos_t BasicUI::transport_sample ( )

◆ transport_stop()

void BasicUI::transport_stop ( )

◆ trigger_cue_row()

void BasicUI::trigger_cue_row ( int  cue)

◆ trigger_display_at()

TriggerDisplay BasicUI::trigger_display_at ( int  x,
int  y 
)

◆ trigger_progress_at()

float BasicUI::trigger_progress_at ( int  x)

◆ trigger_stop_all()

void BasicUI::trigger_stop_all ( bool  stop_now = false)

◆ trigger_stop_col()

void BasicUI::trigger_stop_col ( int  col,
bool  immediately = false 
)

◆ unbang_trigger_at()

void BasicUI::unbang_trigger_at ( int  x,
int  y 
)

◆ undo()

void BasicUI::undo ( )

◆ zoom_100_ms()

void BasicUI::zoom_100_ms ( )

◆ zoom_10_min()

void BasicUI::zoom_10_min ( )

◆ zoom_10_ms()

void BasicUI::zoom_10_ms ( )

◆ zoom_10_sec()

void BasicUI::zoom_10_sec ( )

◆ zoom_1_min()

void BasicUI::zoom_1_min ( )

◆ zoom_1_sec()

void BasicUI::zoom_1_sec ( )

◆ zoom_5_min()

void BasicUI::zoom_5_min ( )

◆ zoom_to_session()

void BasicUI::zoom_to_session ( )

Member Data Documentation

◆ _tbank_route_width

int BasicUI::_tbank_route_width
protected

Definition at line 203 of file basic_ui.h.

◆ _tbank_row_height

int BasicUI::_tbank_row_height
protected

Definition at line 203 of file basic_ui.h.

◆ _tbank_start_route

int BasicUI::_tbank_start_route
protected

Definition at line 204 of file basic_ui.h.

◆ _tbank_start_row

int BasicUI::_tbank_start_row
protected

Definition at line 204 of file basic_ui.h.

◆ AccessAction

PBD::Signal<void(std::string,std::string)> BasicUI::AccessAction
static

Definition at line 65 of file basic_ui.h.

◆ session

ARDOUR::Session* BasicUI::session
protected

Definition at line 201 of file basic_ui.h.


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