Ardour  9.0-pre0-822-g12e3bc5c20
AddRouteDialog Class Reference

#include <add_route_dialog.h>

Inheritance diagram for AddRouteDialog:
[legend]

Classes

struct  ChannelSetup
 
struct  TrackTemplateColumns
 

Public Types

enum  ResponseId { Add , AddAndClose }
 
enum  TypeWanted {
  AudioTrack , MidiTrack , AudioBus , MidiBus ,
  VCAMaster , FoldbackBus
}
 

Public Member Functions

 AddRouteDialog ()
 
 ~AddRouteDialog ()
 
TypeWanted type_wanted ()
 
ARDOUR::ChanCount channels ()
 
uint32_t channel_count ()
 
int count ()
 
std::string name_template () const
 
bool name_template_is_default () const
 
ARDOUR::PluginInfoPtr requested_instrument ()
 
ARDOUR::TrackMode mode ()
 
ARDOUR::RouteGrouproute_group ()
 
RouteDialogs::InsertAt insert_at ()
 
bool use_strict_io ()
 
bool show_on_cue_page ()
 
std::string get_template_path ()
 
void reset_name_edited ()
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 

Private Types

typedef std::vector< ChannelSetupChannelSetups
 

Private Member Functions

void track_type_chosen ()
 
std::string type_wanted_to_localized_string (TypeWanted type_wanted)
 
void refill_channel_setups ()
 
void refill_route_groups ()
 
void refill_track_modes ()
 
void add_route_group (ARDOUR::RouteGroup *)
 
void group_changed ()
 
void channel_combo_changed ()
 
bool channel_separator (const Glib::RefPtr< Gtk::TreeModel > &m, const Gtk::TreeModel::iterator &i)
 
bool route_separator (const Glib::RefPtr< Gtk::TreeModel > &m, const Gtk::TreeModel::iterator &i)
 
void maybe_update_name_template_entry ()
 
void instrument_changed ()
 
void trk_template_row_selected ()
 
void new_group_dialog_finished (int, RouteGroupDialog *)
 
void on_show () override
 
void on_response (int) override
 
void name_template_entry_insertion (Glib::ustring const &, int *)
 
void name_template_entry_deletion (int, int)
 

Private Attributes

Gtk::Entry name_template_entry
 
Gtk::Adjustment routes_adjustment
 
Gtk::SpinButton routes_spinner
 
Gtk::ComboBoxText channel_combo
 
Gtk::Label configuration_label
 
Gtk::Label manual_label
 
Gtk::Label add_label
 
Gtk::Label name_label
 
Gtk::Label group_label
 
Gtk::Label insert_label
 
Gtk::Label strict_io_label
 
Gtk::Label mode_label
 
Gtk::Label instrument_label
 
Gtk::ComboBoxText mode_combo
 
Gtk::ComboBoxText route_group_combo
 
InstrumentSelector instrument_combo
 
Gtk::ComboBoxText insert_at_combo
 
Gtk::ComboBoxText strict_io_combo
 
Gtk::CheckButton show_on_cue_chkbox
 
TrackTemplateColumns track_template_columns
 
Glib::RefPtr< Gtk::TreeStore > trk_template_model
 
Gtk::TreeView trk_template_chooser
 
Gtk::TextView trk_template_desc
 
Gtk::Frame trk_template_outer_frame
 
Gtk::Frame trk_template_desc_frame
 
ChannelSetups channel_setups
 
int last_route_count
 
bool route_count_set_by_template
 
bool name_edited_by_user
 

Static Private Attributes

static std::vector< std::pair< std::string, std::string > > builtin_types
 
static std::vector< std::string > channel_combo_strings
 
static std::vector< std::string > bus_mode_strings
 

Additional Inherited Members

- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 58 of file add_route_dialog.h.

Member Typedef Documentation

◆ ChannelSetups

typedef std::vector<ChannelSetup> AddRouteDialog::ChannelSetups
private

Definition at line 168 of file add_route_dialog.h.

Member Enumeration Documentation

◆ ResponseId

Enumerator
Add 
AddAndClose 

Definition at line 64 of file add_route_dialog.h.

◆ TypeWanted

Enumerator
AudioTrack 
MidiTrack 
AudioBus 
MidiBus 
VCAMaster 
FoldbackBus 

Definition at line 69 of file add_route_dialog.h.

Constructor & Destructor Documentation

◆ AddRouteDialog()

AddRouteDialog::AddRouteDialog ( )

◆ ~AddRouteDialog()

AddRouteDialog::~AddRouteDialog ( )

Member Function Documentation

◆ add_route_group()

void AddRouteDialog::add_route_group ( ARDOUR::RouteGroup )
private

◆ channel_combo_changed()

void AddRouteDialog::channel_combo_changed ( )
private

◆ channel_count()

uint32_t AddRouteDialog::channel_count ( )

◆ channel_separator()

bool AddRouteDialog::channel_separator ( const Glib::RefPtr< Gtk::TreeModel > &  m,
const Gtk::TreeModel::iterator &  i 
)
private

◆ channels()

ARDOUR::ChanCount AddRouteDialog::channels ( )

◆ count()

int AddRouteDialog::count ( )

◆ get_template_path()

std::string AddRouteDialog::get_template_path ( )

◆ group_changed()

void AddRouteDialog::group_changed ( )
private

◆ insert_at()

RouteDialogs::InsertAt AddRouteDialog::insert_at ( )

◆ instrument_changed()

void AddRouteDialog::instrument_changed ( )
private

◆ maybe_update_name_template_entry()

void AddRouteDialog::maybe_update_name_template_entry ( )
private

◆ mode()

ARDOUR::TrackMode AddRouteDialog::mode ( )

◆ name_template()

std::string AddRouteDialog::name_template ( ) const

◆ name_template_entry_deletion()

void AddRouteDialog::name_template_entry_deletion ( int  ,
int   
)
private

◆ name_template_entry_insertion()

void AddRouteDialog::name_template_entry_insertion ( Glib::ustring const &  ,
int *   
)
private

◆ name_template_is_default()

bool AddRouteDialog::name_template_is_default ( ) const

◆ new_group_dialog_finished()

void AddRouteDialog::new_group_dialog_finished ( int  ,
RouteGroupDialog  
)
private

◆ on_response()

void AddRouteDialog::on_response ( int  )
overrideprivatevirtual

Reimplemented from ArdourDialog.

◆ on_show()

void AddRouteDialog::on_show ( )
overrideprivate

◆ refill_channel_setups()

void AddRouteDialog::refill_channel_setups ( )
private

◆ refill_route_groups()

void AddRouteDialog::refill_route_groups ( )
private

◆ refill_track_modes()

void AddRouteDialog::refill_track_modes ( )
private

◆ requested_instrument()

ARDOUR::PluginInfoPtr AddRouteDialog::requested_instrument ( )

◆ reset_name_edited()

void AddRouteDialog::reset_name_edited ( )
inline

Definition at line 97 of file add_route_dialog.h.

◆ route_group()

ARDOUR::RouteGroup* AddRouteDialog::route_group ( )

◆ route_separator()

bool AddRouteDialog::route_separator ( const Glib::RefPtr< Gtk::TreeModel > &  m,
const Gtk::TreeModel::iterator &  i 
)
private

◆ show_on_cue_page()

bool AddRouteDialog::show_on_cue_page ( )

◆ track_type_chosen()

void AddRouteDialog::track_type_chosen ( )
private

◆ trk_template_row_selected()

void AddRouteDialog::trk_template_row_selected ( )
private

◆ type_wanted()

TypeWanted AddRouteDialog::type_wanted ( )

◆ type_wanted_to_localized_string()

std::string AddRouteDialog::type_wanted_to_localized_string ( TypeWanted  type_wanted)
private

◆ use_strict_io()

bool AddRouteDialog::use_strict_io ( )

Member Data Documentation

◆ add_label

Gtk::Label AddRouteDialog::add_label
private

Definition at line 106 of file add_route_dialog.h.

◆ builtin_types

std::vector<std::pair<std::string, std::string> > AddRouteDialog::builtin_types
staticprivate

Definition at line 174 of file add_route_dialog.h.

◆ bus_mode_strings

std::vector<std::string> AddRouteDialog::bus_mode_strings
staticprivate

Definition at line 176 of file add_route_dialog.h.

◆ channel_combo

Gtk::ComboBoxText AddRouteDialog::channel_combo
private

Definition at line 103 of file add_route_dialog.h.

◆ channel_combo_strings

std::vector<std::string> AddRouteDialog::channel_combo_strings
staticprivate

Definition at line 175 of file add_route_dialog.h.

◆ channel_setups

ChannelSetups AddRouteDialog::channel_setups
private

Definition at line 169 of file add_route_dialog.h.

◆ configuration_label

Gtk::Label AddRouteDialog::configuration_label
private

Definition at line 104 of file add_route_dialog.h.

◆ group_label

Gtk::Label AddRouteDialog::group_label
private

Definition at line 108 of file add_route_dialog.h.

◆ insert_at_combo

Gtk::ComboBoxText AddRouteDialog::insert_at_combo
private

Definition at line 116 of file add_route_dialog.h.

◆ insert_label

Gtk::Label AddRouteDialog::insert_label
private

Definition at line 109 of file add_route_dialog.h.

◆ instrument_combo

InstrumentSelector AddRouteDialog::instrument_combo
private

Definition at line 115 of file add_route_dialog.h.

◆ instrument_label

Gtk::Label AddRouteDialog::instrument_label
private

Definition at line 112 of file add_route_dialog.h.

◆ last_route_count

int AddRouteDialog::last_route_count
private

Definition at line 171 of file add_route_dialog.h.

◆ manual_label

Gtk::Label AddRouteDialog::manual_label
private

Definition at line 105 of file add_route_dialog.h.

◆ mode_combo

Gtk::ComboBoxText AddRouteDialog::mode_combo
private

Definition at line 113 of file add_route_dialog.h.

◆ mode_label

Gtk::Label AddRouteDialog::mode_label
private

Definition at line 111 of file add_route_dialog.h.

◆ name_edited_by_user

bool AddRouteDialog::name_edited_by_user
private

Definition at line 178 of file add_route_dialog.h.

◆ name_label

Gtk::Label AddRouteDialog::name_label
private

Definition at line 107 of file add_route_dialog.h.

◆ name_template_entry

Gtk::Entry AddRouteDialog::name_template_entry
private

Definition at line 100 of file add_route_dialog.h.

◆ route_count_set_by_template

bool AddRouteDialog::route_count_set_by_template
private

Definition at line 172 of file add_route_dialog.h.

◆ route_group_combo

Gtk::ComboBoxText AddRouteDialog::route_group_combo
private

Definition at line 114 of file add_route_dialog.h.

◆ routes_adjustment

Gtk::Adjustment AddRouteDialog::routes_adjustment
private

Definition at line 101 of file add_route_dialog.h.

◆ routes_spinner

Gtk::SpinButton AddRouteDialog::routes_spinner
private

Definition at line 102 of file add_route_dialog.h.

◆ show_on_cue_chkbox

Gtk::CheckButton AddRouteDialog::show_on_cue_chkbox
private

Definition at line 118 of file add_route_dialog.h.

◆ strict_io_combo

Gtk::ComboBoxText AddRouteDialog::strict_io_combo
private

Definition at line 117 of file add_route_dialog.h.

◆ strict_io_label

Gtk::Label AddRouteDialog::strict_io_label
private

Definition at line 110 of file add_route_dialog.h.

◆ track_template_columns

TrackTemplateColumns AddRouteDialog::track_template_columns
private

Definition at line 148 of file add_route_dialog.h.

◆ trk_template_chooser

Gtk::TreeView AddRouteDialog::trk_template_chooser
private

Definition at line 151 of file add_route_dialog.h.

◆ trk_template_desc

Gtk::TextView AddRouteDialog::trk_template_desc
private

Definition at line 155 of file add_route_dialog.h.

◆ trk_template_desc_frame

Gtk::Frame AddRouteDialog::trk_template_desc_frame
private

Definition at line 157 of file add_route_dialog.h.

◆ trk_template_model

Glib::RefPtr<Gtk::TreeStore> AddRouteDialog::trk_template_model
private

Definition at line 150 of file add_route_dialog.h.

◆ trk_template_outer_frame

Gtk::Frame AddRouteDialog::trk_template_outer_frame
private

Definition at line 156 of file add_route_dialog.h.


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