Ardour  9.0-pre0-582-g084a23a80d
RouteListBase Class Reference

#include <route_list_base.h>

Inheritance diagram for RouteListBase:
[legend]

Classes

struct  ModelColumns
 

Public Member Functions

 RouteListBase ()
 
 ~RouteListBase ()
 
void set_session (ARDOUR::Session *)
 
Gtk::Widgetwidget ()
 
void clear ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 

Protected Member Functions

void add_name_column ()
 
void append_col_rec_enable ()
 
void append_col_rec_safe ()
 
void append_col_input_active ()
 
void append_col_mute ()
 
void append_col_solo ()
 
void setup_col (Gtk::TreeViewColumn *, const char *, const char *, bool require_mod_to_edit=false)
 
template<class T , class U >
Gtk::TreeViewColumnappend_toggle (Gtk::TreeModelColumn< T > const &col_state, Gtk::TreeModelColumn< U > const &col_viz, sigc::slot< void, std::string > cb)
 
template<class T , class U >
Gtkmm2ext::CellRendererPixbufMultiappend_cell (const char *lbl, const char *tip, Gtk::TreeModelColumn< T > const &col_state, Gtk::TreeModelColumn< U > const &col_viz, sigc::slot< void, std::string > cb)
 
void on_tv_input_active_changed (std::string const &)
 
void on_tv_rec_enable_changed (std::string const &)
 
void on_tv_rec_safe_toggled (std::string const &)
 
void on_tv_mute_enable_toggled (std::string const &)
 
void on_tv_solo_enable_toggled (std::string const &)
 
void on_tv_solo_isolate_toggled (std::string const &)
 
void on_tv_solo_safe_toggled (std::string const &)
 
void on_tv_visible_changed (std::string const &)
 
void on_tv_trigger_changed (std::string const &)
 
void on_tv_active_changed (std::string const &)
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 

Protected Attributes

Gtk::TreeView _display
 
ModelColumns _columns
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Private Member Functions

void redisplay ()
 
void initial_display ()
 
void sync_presentation_info_from_treeview ()
 
void sync_treeview_from_presentation_info (PBD::PropertyChange const &)
 
void add_routes (ARDOUR::RouteList &)
 
void add_masters (ARDOUR::VCAList &)
 
void add_stripables (ARDOUR::StripableList &)
 
void remove_strip (std::weak_ptr< ARDOUR::Stripable >)
 
void selection_changed ()
 
void row_deleted (Gtk::TreeModel::Path const &)
 
void reordered (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &, int *)
 
bool button_press (GdkEventButton *)
 
bool button_release (GdkEventButton *)
 
void build_menu ()
 
void set_all_audio_midi_visibility (int, bool)
 
void show_tracks_with_regions_at_playhead ()
 
void queue_idle_update ()
 
bool idle_update_mute_rec_solo_etc ()
 
void update_input_active_display ()
 
void route_property_changed (const PBD::PropertyChange &, std::weak_ptr< ARDOUR::Stripable >)
 
void presentation_info_changed (PBD::PropertyChange const &)
 
void name_edit (std::string const &, std::string const &)
 
bool select_function (const Glib::RefPtr< Gtk::TreeModel > &model, const Gtk::TreeModel::Path &path, bool)
 
bool key_press (GdkEventKey *ev)
 
bool focus_in (GdkEventFocus *)
 
bool focus_out (GdkEventFocus *)
 
bool enter_notify (GdkEventCrossing *)
 
bool leave_notify (GdkEventCrossing *)
 
void name_edit_started (Gtk::CellEditable *, const Glib::ustring &)
 
bool get_relevant_routes (std::shared_ptr< ARDOUR::RouteList > rl)
 

Private Attributes

Gtk::ScrolledWindow _scroller
 
Glib::RefPtr< Gtk::ListStore_model
 
Gtk::Menu_menu
 
Gtk::Widgetold_focus
 
Gtk::CellEditablename_editable
 
std::set< Gtk::TreeViewColumn * > no_select_columns
 
bool _ignore_reorder
 
bool _ignore_visibility_change
 
bool _ignore_selection_change
 
bool _column_does_not_select
 
bool _adding_routes
 
bool _route_deletion_in_progress
 
sigc::connection _idle_update_connection
 
PBD::ScopedConnectionList _stripable_connections
 

Detailed Description

Definition at line 44 of file route_list_base.h.

Constructor & Destructor Documentation

◆ RouteListBase()

RouteListBase::RouteListBase ( )

◆ ~RouteListBase()

RouteListBase::~RouteListBase ( )

Member Function Documentation

◆ add_masters()

void RouteListBase::add_masters ( ARDOUR::VCAList )
private

◆ add_name_column()

void RouteListBase::add_name_column ( )
protected

◆ add_routes()

void RouteListBase::add_routes ( ARDOUR::RouteList )
private

◆ add_stripables()

void RouteListBase::add_stripables ( ARDOUR::StripableList )
private

◆ append_cell()

template<class T , class U >
Gtkmm2ext::CellRendererPixbufMulti* RouteListBase::append_cell ( const char *  lbl,
const char *  tip,
Gtk::TreeModelColumn< T > const &  col_state,
Gtk::TreeModelColumn< U > const &  col_viz,
sigc::slot< void, std::string >  cb 
)
inlineprotected

Definition at line 91 of file route_list_base.h.

◆ append_col_input_active()

void RouteListBase::append_col_input_active ( )
protected

◆ append_col_mute()

void RouteListBase::append_col_mute ( )
protected

◆ append_col_rec_enable()

void RouteListBase::append_col_rec_enable ( )
protected

◆ append_col_rec_safe()

void RouteListBase::append_col_rec_safe ( )
protected

◆ append_col_solo()

void RouteListBase::append_col_solo ( )
protected

◆ append_toggle()

template<class T , class U >
Gtk::TreeViewColumn* RouteListBase::append_toggle ( Gtk::TreeModelColumn< T > const &  col_state,
Gtk::TreeModelColumn< U > const &  col_viz,
sigc::slot< void, std::string >  cb 
)
inlineprotected

Definition at line 70 of file route_list_base.h.

◆ build_menu()

void RouteListBase::build_menu ( )
private

◆ button_press()

bool RouteListBase::button_press ( GdkEventButton )
private

◆ button_release()

bool RouteListBase::button_release ( GdkEventButton )
private

◆ clear()

void RouteListBase::clear ( )

◆ enter_notify()

bool RouteListBase::enter_notify ( GdkEventCrossing )
private

◆ focus_in()

bool RouteListBase::focus_in ( GdkEventFocus )
private

◆ focus_out()

bool RouteListBase::focus_out ( GdkEventFocus )
private

◆ get_relevant_routes()

bool RouteListBase::get_relevant_routes ( std::shared_ptr< ARDOUR::RouteList rl)
private

◆ idle_update_mute_rec_solo_etc()

bool RouteListBase::idle_update_mute_rec_solo_etc ( )
private

◆ initial_display()

void RouteListBase::initial_display ( )
private

◆ key_press()

bool RouteListBase::key_press ( GdkEventKey ev)
private

◆ leave_notify()

bool RouteListBase::leave_notify ( GdkEventCrossing )
private

◆ name_edit()

void RouteListBase::name_edit ( std::string const &  ,
std::string const &   
)
private

◆ name_edit_started()

void RouteListBase::name_edit_started ( Gtk::CellEditable ,
const Glib::ustring &   
)
private

◆ on_tv_active_changed()

void RouteListBase::on_tv_active_changed ( std::string const &  )
protected

◆ on_tv_input_active_changed()

void RouteListBase::on_tv_input_active_changed ( std::string const &  )
protected

◆ on_tv_mute_enable_toggled()

void RouteListBase::on_tv_mute_enable_toggled ( std::string const &  )
protected

◆ on_tv_rec_enable_changed()

void RouteListBase::on_tv_rec_enable_changed ( std::string const &  )
protected

◆ on_tv_rec_safe_toggled()

void RouteListBase::on_tv_rec_safe_toggled ( std::string const &  )
protected

◆ on_tv_solo_enable_toggled()

void RouteListBase::on_tv_solo_enable_toggled ( std::string const &  )
protected

◆ on_tv_solo_isolate_toggled()

void RouteListBase::on_tv_solo_isolate_toggled ( std::string const &  )
protected

◆ on_tv_solo_safe_toggled()

void RouteListBase::on_tv_solo_safe_toggled ( std::string const &  )
protected

◆ on_tv_trigger_changed()

void RouteListBase::on_tv_trigger_changed ( std::string const &  )
protected

◆ on_tv_visible_changed()

void RouteListBase::on_tv_visible_changed ( std::string const &  )
protected

◆ presentation_info_changed()

void RouteListBase::presentation_info_changed ( PBD::PropertyChange const &  )
private

◆ queue_idle_update()

void RouteListBase::queue_idle_update ( )
private

◆ redisplay()

void RouteListBase::redisplay ( )
private

◆ remove_strip()

void RouteListBase::remove_strip ( std::weak_ptr< ARDOUR::Stripable )
private

◆ reordered()

void RouteListBase::reordered ( Gtk::TreeModel::Path const &  ,
Gtk::TreeModel::iterator const &  ,
int *   
)
private

◆ route_property_changed()

void RouteListBase::route_property_changed ( const PBD::PropertyChange ,
std::weak_ptr< ARDOUR::Stripable  
)
private

◆ row_deleted()

void RouteListBase::row_deleted ( Gtk::TreeModel::Path const &  )
private

◆ select_function()

bool RouteListBase::select_function ( const Glib::RefPtr< Gtk::TreeModel > &  model,
const Gtk::TreeModel::Path path,
bool   
)
private

◆ selection_changed()

void RouteListBase::selection_changed ( )
private

◆ set_all_audio_midi_visibility()

void RouteListBase::set_all_audio_midi_visibility ( int  ,
bool   
)
private

◆ set_session()

void RouteListBase::set_session ( ARDOUR::Session )
virtual

Reimplemented from ARDOUR::SessionHandlePtr.

◆ setup_col()

void RouteListBase::setup_col ( Gtk::TreeViewColumn ,
const char *  ,
const char *  ,
bool  require_mod_to_edit = false 
)
protected

◆ show_tracks_with_regions_at_playhead()

void RouteListBase::show_tracks_with_regions_at_playhead ( )
private

◆ sync_presentation_info_from_treeview()

void RouteListBase::sync_presentation_info_from_treeview ( )
private

◆ sync_treeview_from_presentation_info()

void RouteListBase::sync_treeview_from_presentation_info ( PBD::PropertyChange const &  )
private

◆ update_input_active_display()

void RouteListBase::update_input_active_display ( )
private

◆ widget()

Gtk::Widget& RouteListBase::widget ( )
inline

Definition at line 52 of file route_list_base.h.

Member Data Documentation

◆ _adding_routes

bool RouteListBase::_adding_routes
private

Definition at line 227 of file route_list_base.h.

◆ _column_does_not_select

bool RouteListBase::_column_does_not_select
private

Definition at line 226 of file route_list_base.h.

◆ _columns

ModelColumns RouteListBase::_columns
protected

Definition at line 170 of file route_list_base.h.

◆ _display

Gtk::TreeView RouteListBase::_display
protected

Definition at line 169 of file route_list_base.h.

◆ _idle_update_connection

sigc::connection RouteListBase::_idle_update_connection
private

Definition at line 230 of file route_list_base.h.

◆ _ignore_reorder

bool RouteListBase::_ignore_reorder
private

Definition at line 223 of file route_list_base.h.

◆ _ignore_selection_change

bool RouteListBase::_ignore_selection_change
private

Definition at line 225 of file route_list_base.h.

◆ _ignore_visibility_change

bool RouteListBase::_ignore_visibility_change
private

Definition at line 224 of file route_list_base.h.

◆ _menu

Gtk::Menu* RouteListBase::_menu
private

Definition at line 217 of file route_list_base.h.

◆ _model

Glib::RefPtr<Gtk::ListStore> RouteListBase::_model
private

Definition at line 215 of file route_list_base.h.

◆ _route_deletion_in_progress

bool RouteListBase::_route_deletion_in_progress
private

Definition at line 228 of file route_list_base.h.

◆ _scroller

Gtk::ScrolledWindow RouteListBase::_scroller
private

Definition at line 214 of file route_list_base.h.

◆ _stripable_connections

PBD::ScopedConnectionList RouteListBase::_stripable_connections
private

Definition at line 231 of file route_list_base.h.

◆ name_editable

Gtk::CellEditable* RouteListBase::name_editable
private

Definition at line 219 of file route_list_base.h.

◆ no_select_columns

std::set<Gtk::TreeViewColumn*> RouteListBase::no_select_columns
private

Definition at line 221 of file route_list_base.h.

◆ old_focus

Gtk::Widget* RouteListBase::old_focus
private

Definition at line 218 of file route_list_base.h.


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