ardour
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
RouteTimeAxisView Class Referenceabstract

#include <route_time_axis.h>

Inheritance diagram for RouteTimeAxisView:
RouteUI TimeAxisView AxisView AxisView Selectable PBD::ScopedConnectionList ARDOUR::SessionHandlePtr Selectable PBD::ScopedConnectionList ARDOUR::SessionHandlePtr AudioTimeAxisView MidiTimeAxisView

Classes

struct  ProcessorAutomationInfo
 
struct  ProcessorAutomationNode
 

Public Types

typedef std::map
< Evoral::Parameter,
boost::shared_ptr
< AutomationTimeAxisView > > 
AutomationTracks
 
- Public Types inherited from TimeAxisView
enum  TrackHeightMode { OnlySelf, TotalHeight, HeightPerLane }
 
typedef std::vector
< boost::shared_ptr
< TimeAxisView > > 
Children
 

Public Member Functions

 RouteTimeAxisView (PublicEditor &, ARDOUR::Session *, ArdourCanvas::Canvas &canvas)
 
virtual ~RouteTimeAxisView ()
 
void set_route (boost::shared_ptr< ARDOUR::Route >)
 
void show_selection (TimeSelection &)
 
void set_button_names ()
 
void set_samples_per_pixel (double)
 
void set_height (uint32_t h, TrackHeightMode m=OnlySelf)
 
void show_timestretch (framepos_t start, framepos_t end, int layers, int layer)
 
void hide_timestretch ()
 
void selection_click (GdkEventButton *)
 
void set_selected_points (PointSelection &)
 
void set_selected_regionviews (RegionSelection &)
 
void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double top, double bot, std::list< Selectable * > &, bool within=false)
 
void get_inverted_selectables (Selection &, std::list< Selectable * > &)
 
void set_layer_display (LayerDisplay d, bool apply_to_selection=false)
 
LayerDisplay layer_display () const
 
boost::shared_ptr< ARDOUR::Regionfind_next_region (framepos_t pos, ARDOUR::RegionPoint, int32_t dir)
 
framepos_t find_next_region_boundary (framepos_t pos, int32_t dir)
 
void cut_copy_clear (Selection &, Editing::CutCopyOp)
 
bool paste (ARDOUR::framepos_t, const Selection &, PasteContext &ctx)
 
RegionViewcombine_regions ()
 
void uncombine_regions ()
 
void uncombine_region (RegionView *)
 
void toggle_automation_track (const Evoral::Parameter &param)
 
void fade_range (TimeSelection &)
 
void use_new_playlist (bool prompt, std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &)
 
void use_copy_playlist (bool prompt, std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &)
 
void clear_playlist ()
 
std::string resolve_new_group_playlist_name (std::string &, std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &)
 
void build_playlist_menu ()
 
void add_underlay (StreamView *, bool update_xml=true)
 
void remove_underlay (StreamView *)
 
void build_underlay_menu (Gtk::Menu *)
 
int set_state (const XMLNode &, int version)
 
virtual void create_automation_child (const Evoral::Parameter &param, bool show)=0
 
const AutomationTracksautomation_tracks () const
 
boost::shared_ptr
< AutomationTimeAxisView
automation_child (Evoral::Parameter param)
 
virtual Gtk::CheckMenuItem * automation_child_menu_item (Evoral::Parameter)
 
std::string name () const
 
StreamViewview () const
 
ARDOUR::RouteGrouproute_group () const
 
boost::shared_ptr
< ARDOUR::Playlist
playlist () const
 
void fast_update ()
 
void hide_meter ()
 
void show_meter ()
 
void reset_meter ()
 
void clear_meter ()
 
void io_changed (ARDOUR::IOChange, void *)
 
void meter_changed ()
 
void effective_gain_display ()
 
std::string state_id () const
 
- Public Member Functions inherited from RouteUI
 RouteUI (ARDOUR::Session *)
 
 RouteUI (boost::shared_ptr< ARDOUR::Route >, ARDOUR::Session *)
 
virtual ~RouteUI ()
 
Gdk::Color color () const
 
bool is_track () const
 
bool is_audio_track () const
 
bool is_midi_track () const
 
bool has_audio_outputs () const
 
boost::shared_ptr< ARDOUR::Routeroute () const
 
ARDOUR::RouteGrouproute_group () const
 
boost::shared_ptr< ARDOUR::Tracktrack () const
 
boost::shared_ptr
< ARDOUR::AudioTrack
audio_track () const
 
boost::shared_ptr
< ARDOUR::MidiTrack
midi_track () const
 
std::string name () const
 
void request_redraw ()
 
virtual void set_color (const Gdk::Color &c)
 
void choose_color ()
 
void send_blink (bool)
 
bool mute_press (GdkEventButton *)
 
bool mute_release (GdkEventButton *)
 
bool solo_press (GdkEventButton *)
 
bool solo_release (GdkEventButton *)
 
bool rec_enable_press (GdkEventButton *)
 
bool rec_enable_release (GdkEventButton *)
 
bool show_sends_press (GdkEventButton *)
 
bool show_sends_release (GdkEventButton *)
 
bool monitor_release (GdkEventButton *, ARDOUR::MonitorChoice)
 
bool monitor_input_press (GdkEventButton *)
 
bool monitor_input_release (GdkEventButton *)
 
bool monitor_disk_press (GdkEventButton *)
 
bool monitor_disk_release (GdkEventButton *)
 
void monitoring_changed ()
 
void update_monitoring_display ()
 
void edit_input_configuration ()
 
void edit_output_configuration ()
 
void step_gain_up ()
 
void step_gain_down ()
 
void page_gain_up ()
 
void page_gain_down ()
 
void build_sends_menu ()
 
void set_sends_gain_from_track ()
 
void set_sends_gain_to_zero ()
 
void set_sends_gain_to_unity ()
 
void create_sends (ARDOUR::Placement, bool)
 
void create_selected_sends (ARDOUR::Placement, bool)
 
void solo_changed (bool, void *)
 
void solo_changed_so_update_mute ()
 
void listen_changed (void *)
 
void route_rec_enable_changed ()
 
void session_rec_enable_changed ()
 
void build_solo_menu ()
 
void solo_isolated_toggle (void *, Gtk::CheckMenuItem *)
 
void toggle_solo_isolated (Gtk::CheckMenuItem *)
 
bool solo_isolate_button_release (GdkEventButton *)
 
bool solo_safe_button_release (GdkEventButton *)
 
void solo_safe_toggle (void *, Gtk::CheckMenuItem *)
 
void toggle_solo_safe (Gtk::CheckMenuItem *)
 
void toggle_mute_menu (ARDOUR::MuteMaster::MutePoint, Gtk::CheckMenuItem *)
 
void muting_change ()
 
void build_mute_menu (void)
 
void init_mute_menu (ARDOUR::MuteMaster::MutePoint, Gtk::CheckMenuItem *)
 
int set_color_from_route ()
 
void route_rename ()
 
virtual void property_changed (const PBD::PropertyChange &)
 
void route_removed ()
 
virtual void route_active_changed ()
 
void set_route_active (bool, bool)
 
void build_record_menu ()
 
void toggle_step_edit ()
 
virtual void step_edit_changed (bool)
 
virtual void polarity_changed ()
 
void toggle_denormal_protection ()
 
virtual void denormal_protection_changed ()
 
void disconnect_input ()
 
void disconnect_output ()
 
void update_mute_display ()
 
void update_solo_display ()
 
void adjust_latency ()
 
void save_as_template ()
 
void open_remote_control_id_dialog ()
 
void comment_editor_done_editing ()
 
void setup_comment_editor ()
 
void open_comment_editor ()
 
void toggle_comment_editor ()
 
gint comment_key_release_handler (GdkEventKey *)
 
void comment_changed (void *src)
 
void comment_edited ()
 
- Public Member Functions inherited from AxisView
Gdk::Color color () const
 
ARDOUR::Sessionsession () const
 
void set_old_order_key (uint32_t ok)
 
uint32_t old_order_key () const
 
std::string gui_property (const std::string &property_name) const
 
template<typename T >
void set_gui_property (const std::string &property_name, const T &value)
 
void cleanup_gui_properties ()
 
bool marked_for_display () const
 
virtual bool set_marked_for_display (bool)
 
void clear_property_cache ()
 
- Public Member Functions inherited from Selectable
 Selectable ()
 
virtual ~Selectable ()
 
bool get_selected () 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 ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
- Public Member Functions inherited from TimeAxisView
 TimeAxisView (ARDOUR::Session *sess, PublicEditor &ed, TimeAxisView *parent, ArdourCanvas::Canvas &canvas)
 
virtual ~TimeAxisView ()
 
int order () const
 
ArdourCanvas::Container * canvas_display ()
 
ArdourCanvas::Container * ghost_group ()
 
uint32_t effective_height () const
 
double y_position () const
 
PublicEditoreditor () const
 
uint32_t current_height () const
 
void idle_resize (int32_t)
 
virtual guint32 show_at (double y, int &nth, Gtk::VBox *parent)
 
virtual void hide ()
 
bool touched (double top, double bot)
 
bool hidden () const
 
void set_selected (bool)
 
virtual void entered ()
 
virtual void exited ()
 
void set_height_enum (Height, bool apply_to_selection=false)
 
void reset_height ()
 
virtual void reset_visual_state ()
 
std::pair< TimeAxisView *, double > covers_y_position (double) const
 
bool covered_by_y_range (double y0, double y1) const
 
virtual void step_height (bool)
 
virtual void hide_selection ()
 
virtual void reshow_selection (TimeSelection &)
 
void order_selection_trims (ArdourCanvas::Item *item, bool put_start_on_top)
 
void add_ghost (RegionView *)
 
void remove_ghost (RegionView *)
 
void erase_ghost (GhostRegion *)
 
virtual void first_idle ()
 
TimeAxisViewget_parent ()
 
void set_parent (TimeAxisView &p)
 
Children get_child_list ()
 
SelectionRectget_selection_rect (uint32_t id)
 

Protected Types

typedef std::vector
< boost::shared_ptr
< AutomationLine > > 
ProcessorAutomationCurves
 
typedef std::map
< Evoral::Parameter,
Gtk::CheckMenuItem * > 
ParameterMenuMap
 
typedef std::list< StreamView * > UnderlayList
 
typedef std::list
< RouteTimeAxisView * > 
UnderlayMirrorList
 

Protected Member Functions

void update_diskstream_display ()
 
gint route_group_click (GdkEventButton *)
 
void processors_changed (ARDOUR::RouteProcessorChange)
 
virtual void add_processor_to_subplugin_menu (boost::weak_ptr< ARDOUR::Processor >)
 
void remove_processor_automation_node (ProcessorAutomationNode *pan)
 
void processor_menu_item_toggled (RouteTimeAxisView::ProcessorAutomationInfo *, RouteTimeAxisView::ProcessorAutomationNode *)
 
void processor_automation_track_hidden (ProcessorAutomationNode *, boost::shared_ptr< ARDOUR::Processor >)
 
void automation_track_hidden (Evoral::Parameter param)
 
ProcessorAutomationNodefind_processor_automation_node (boost::shared_ptr< ARDOUR::Processor > i, Evoral::Parameter)
 
boost::shared_ptr< AutomationLinefind_processor_automation_curve (boost::shared_ptr< ARDOUR::Processor > i, Evoral::Parameter)
 
void add_processor_automation_curve (boost::shared_ptr< ARDOUR::Processor > r, Evoral::Parameter)
 
void add_existing_processor_automation_curves (boost::weak_ptr< ARDOUR::Processor >)
 
void add_automation_child (Evoral::Parameter param, boost::shared_ptr< AutomationTimeAxisView > track, bool show=true)
 
void reset_processor_automation_curves ()
 
void take_name_changed (void *src)
 
void route_property_changed (const PBD::PropertyChange &)
 
void name_entry_changed ()
 
void blink_rec_display (bool onoff)
 
virtual void label_view ()
 
void reset_samples_per_pixel ()
 
virtual void build_automation_action_menu (bool)
 
virtual void append_extra_display_menu_items ()
 
void build_display_menu ()
 
void set_align_choice (Gtk::RadioMenuItem *, ARDOUR::AlignChoice, bool apply_to_selection=false)
 
void playlist_click ()
 
void show_playlist_selector ()
 
void playlist_changed ()
 
void rename_current_playlist ()
 
void automation_click ()
 
virtual void show_all_automation (bool apply_to_selection=false)
 
virtual void show_existing_automation (bool apply_to_selection=false)
 
virtual void hide_all_automation (bool apply_to_selection=false)
 
void timestretch (framepos_t start, framepos_t end)
 
void speed_changed ()
 
void map_frozen ()
 
void color_handler ()
 
void region_view_added (RegionView *)
 
void create_gain_automation_child (const Evoral::Parameter &, bool)
 
void create_trim_automation_child (const Evoral::Parameter &, bool)
 
void create_mute_automation_child (const Evoral::Parameter &, bool)
 
void setup_processor_menu_and_curves ()
 
void route_color_changed ()
 
bool can_edit_name () const
 
virtual Gtk::Menu * build_color_mode_menu ()
 
void use_playlist (Gtk::RadioMenuItem *item, boost::weak_ptr< ARDOUR::Playlist > wpl)
 
void set_track_mode (ARDOUR::TrackMode, bool apply_to_selection=false)
 
void post_construct ()
 
bool set_underlay_state ()
 
void update_gain_track_visibility ()
 
void update_trim_track_visibility ()
 
void update_mute_track_visibility ()
 
void update_pan_track_visibility ()
 
void ensure_pan_views (bool show=true)
 
- Protected Member Functions inherited from RouteUI
void init ()
 
void reset ()
 
void self_delete ()
 
virtual void start_step_editing ()
 
virtual void stop_step_editing ()
 
void set_invert_sensitive (bool)
 
bool verify_new_route_name (const std::string &name)
 
void route_gui_changed (std::string)
 
virtual void bus_send_display_changed (boost::shared_ptr< ARDOUR::Route >)
 
- Protected Member Functions inherited from AxisView
 AxisView (ARDOUR::Session *sess)
 
virtual ~AxisView ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Member Functions inherited from TimeAxisView
bool name_entry_key_release (GdkEventKey *ev)
 
bool name_entry_key_press (GdkEventKey *ev)
 
bool name_entry_focus_out (GdkEventFocus *ev)
 
void begin_name_edit ()
 
void end_name_edit (int)
 
virtual bool controls_ebox_button_release (GdkEventButton *)
 
virtual bool controls_ebox_scroll (GdkEventScroll *)
 
virtual bool controls_ebox_button_press (GdkEventButton *)
 
virtual bool controls_ebox_motion (GdkEventMotion *)
 
virtual bool controls_ebox_leave (GdkEventCrossing *)
 
virtual void popup_display_menu (guint32 when)
 
virtual bool handle_display_menu_map_event (GdkEventAny *)
 
bool is_child (TimeAxisView *)
 
void add_child (boost::shared_ptr< TimeAxisView >)
 
void color_handler ()
 
void conditionally_add_to_selection ()
 
void build_size_menu ()
 

Protected Attributes

boost::shared_ptr
< AutomationTimeAxisView
gain_track
 
boost::shared_ptr
< AutomationTimeAxisView
trim_track
 
boost::shared_ptr
< AutomationTimeAxisView
mute_track
 
StreamView_view
 
ArdourCanvas::Canvas & parent_canvas
 
bool no_redraw
 
Gtk::HBox other_button_hbox
 
Gtk::Table button_table
 
ArdourButton route_group_button
 
ArdourButton playlist_button
 
ArdourButton automation_button
 
ArdourButton number_label
 
Gtk::Menu subplugin_menu
 
Gtk::Menu * automation_action_menu
 
Gtk::MenuItem * plugins_submenu_item
 
RouteGroupMenuroute_group_menu
 
Gtk::Menu * playlist_action_menu
 
Gtk::MenuItem * playlist_item
 
Gtk::Menu * mode_menu
 
Gtk::Menu * color_mode_menu
 
ArdourCanvas::Rectangle * timestretch_rect
 
std::list
< ProcessorAutomationInfo * > 
processor_automation
 
ProcessorAutomationCurves processor_automation_curves
 
AutomationTracks _automation_tracks
 
ParameterMenuMap _main_automation_menu_map
 
ParameterMenuMap _subplugin_menu_map
 
GainMeterBase gm
 
XMLNodeunderlay_xml_node
 
UnderlayList _underlay_streams
 
UnderlayMirrorList _underlay_mirrors
 
bool _ignore_set_layer_display
 
Gtk::CheckMenuItem * gain_automation_item
 
Gtk::CheckMenuItem * trim_automation_item
 
Gtk::CheckMenuItem * mute_automation_item
 
std::list< boost::shared_ptr
< AutomationTimeAxisView > > 
pan_tracks
 
Gtk::CheckMenuItem * pan_automation_item
 
- Protected Attributes inherited from RouteUI
ArdourWindowcomment_window
 
Gtk::TextView * comment_area
 
IOSelectorWindowinput_selector
 
IOSelectorWindowoutput_selector
 
PBD::ScopedConnectionList route_connections
 
bool self_destruct
 
- Protected Attributes inherited from AxisView
Gdk::Color _color
 
Gtk::Label name_label
 
boost::unordered_map
< std::string, std::string > 
property_hashtable
 
uint32_t _old_order_key
 
- Protected Attributes inherited from Selectable
bool _selected
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- Protected Attributes inherited from TimeAxisView
Gtk::Table controls_table
 
Glib::RefPtr< Gtk::SizeGroup > controls_button_size_group
 
Gtk::EventBox controls_ebox
 
Gtk::VBox controls_vbox
 
Gtk::VBox time_axis_vbox
 
Gtk::HBox time_axis_hbox
 
Gtk::Frame time_axis_frame
 
Gtk::HBox name_hbox
 
Gtk::HBox top_hbox
 
Gtk::Label name_label
 
Gtk::Fixed scroomer_placeholder
 
bool _name_editing
 
uint32_t height
 
std::string controls_base_unselected_name
 
std::string controls_base_selected_name
 
Gtk::Menu * display_menu
 
TimeAxisViewparent
 
ArdourCanvas::Container * selection_group
 
ArdourCanvas::Container * _ghost_group
 
std::list< GhostRegion * > ghosts
 
std::list< SelectionRect * > free_selection_rects
 
std::list< SelectionRect * > used_selection_rects
 
bool _hidden
 
bool in_destructor
 
Gtk::Menu * _size_menu
 
ArdourCanvas::Line * _canvas_separator
 
ArdourCanvas::Container * _canvas_display
 
double _y_position
 
PublicEditor_editor
 
Gtk::Entry * name_entry
 
Children children
 

Private Member Functions

void remove_child (boost::shared_ptr< TimeAxisView >)
 
void update_playlist_tip ()
 
void parameter_changed (std::string const &p)
 
void update_track_number_visibility ()
 

Friends

class StreamView
 

Additional Inherited Members

- Static Public Member Functions inherited from RouteUI
static Gtkmm2ext::ActiveState solo_active_state (boost::shared_ptr< ARDOUR::Route >)
 
static Gtkmm2ext::ActiveState solo_isolate_active_state (boost::shared_ptr< ARDOUR::Route >)
 
static Gtkmm2ext::ActiveState solo_safe_active_state (boost::shared_ptr< ARDOUR::Route >)
 
static Gtkmm2ext::ActiveState mute_active_state (ARDOUR::Session *, boost::shared_ptr< ARDOUR::Route >)
 
- Static Public Member Functions inherited from AxisView
static GUIObjectStategui_object_state ()
 
- Static Public Member Functions inherited from TimeAxisView
static void setup_sizes ()
 
static int max_order ()
 
static uint32_t preset_height (Height)
 
- Public Attributes inherited from RouteUI
boost::shared_ptr< ARDOUR::Route_route
 
bool ignore_toggle
 
bool wait_for_release
 
bool multiple_mute_change
 
bool multiple_solo_change
 
Gtk::HBox _invert_button_box
 
ArdourButtonmute_button
 
ArdourButtonsolo_button
 
ArdourButtonrec_enable_button
 
ArdourButtonshow_sends_button
 
ArdourButtonmonitor_input_button
 
ArdourButtonmonitor_disk_button
 
Glib::RefPtr< Gdk::Pixbuf > solo_safe_pixbuf
 
ArdourButtonsolo_safe_led
 
ArdourButtonsolo_isolated_led
 
Gtk::Label monitor_input_button_label
 
Gtk::Label monitor_disk_button_label
 
sigc::connection send_blink_connection
 
sigc::connection rec_blink_connection
 
Gtk::Menu * mute_menu
 
Gtk::Menu * solo_menu
 
Gtk::Menu * sends_menu
 
boost::shared_ptr
< ARDOUR::Delivery
_current_delivery
 
Gtk::CheckMenuItem * pre_fader_mute_check
 
Gtk::CheckMenuItem * post_fader_mute_check
 
Gtk::CheckMenuItem * listen_mute_check
 
Gtk::CheckMenuItem * main_mute_check
 
Gtk::CheckMenuItem * solo_safe_check
 
Gtk::CheckMenuItem * solo_isolated_check
 
Gtk::Menu * record_menu
 
Gtk::CheckMenuItem * step_edit_item
 
Gtk::CheckMenuItem * denormal_menu_item
 
bool ignore_comment_edit
 
- Public Attributes inherited from AxisView
sigc::signal< void > Hiding
 
- Static Public Attributes inherited from RouteUI
static PBD::Signal1< void,
boost::shared_ptr
< ARDOUR::Route > > 
BusSendDisplayChanged
 
- Static Public Attributes inherited from TimeAxisView
static PBD::Signal1< void,
TimeAxisView * > 
CatchDeletion
 
- Static Protected Member Functions inherited from AxisView
static Gdk::Color unique_random_color ()
 
- Static Protected Attributes inherited from AxisView
static std::list< Gdk::Color > used_colors
 
- Static Protected Attributes inherited from TimeAxisView
static Glib::RefPtr
< Gtk::SizeGroup > 
controls_meters_size_group = Glib::RefPtr<Gtk::SizeGroup>()
 
static Glib::RefPtr
< Gtk::SizeGroup > 
midi_scroomer_size_group = Glib::RefPtr<Gtk::SizeGroup>()
 
static unsigned int name_width_px = 100
 

Detailed Description

Definition at line 75 of file route_time_axis.h.

Member Typedef Documentation

Definition at line 128 of file route_time_axis.h.

typedef std::map<Evoral::Parameter, Gtk::CheckMenuItem*> RouteTimeAxisView::ParameterMenuMap
protected

Definition at line 289 of file route_time_axis.h.

Definition at line 285 of file route_time_axis.h.

typedef std::list<StreamView*> RouteTimeAxisView::UnderlayList
protected

Definition at line 302 of file route_time_axis.h.

Definition at line 304 of file route_time_axis.h.

Constructor & Destructor Documentation

RouteTimeAxisView::RouteTimeAxisView ( PublicEditor ed,
ARDOUR::Session sess,
ArdourCanvas::Canvas &  canvas 
)

Definition at line 95 of file route_time_axis.cc.

RouteTimeAxisView::~RouteTimeAxisView ( )
virtual

Definition at line 322 of file route_time_axis.cc.

Member Function Documentation

void RouteTimeAxisView::add_automation_child ( Evoral::Parameter  param,
boost::shared_ptr< AutomationTimeAxisView track,
bool  show = true 
)
protected

Definition at line 2260 of file route_time_axis.cc.

void RouteTimeAxisView::add_existing_processor_automation_curves ( boost::weak_ptr< ARDOUR::Processor p)
protected

Definition at line 2233 of file route_time_axis.cc.

void RouteTimeAxisView::add_processor_automation_curve ( boost::shared_ptr< ARDOUR::Processor r,
Evoral::Parameter  what 
)
protected

Add an AutomationTimeAxisView to display automation for a processor's parameter

Definition at line 2184 of file route_time_axis.cc.

void RouteTimeAxisView::add_processor_to_subplugin_menu ( boost::weak_ptr< ARDOUR::Processor p)
protectedvirtual

Definition at line 2295 of file route_time_axis.cc.

void RouteTimeAxisView::add_underlay ( StreamView v,
bool  update_xml = true 
)

Definition at line 2650 of file route_time_axis.cc.

virtual void RouteTimeAxisView::append_extra_display_menu_items ( )
inlineprotectedvirtual

Reimplemented in MidiTimeAxisView.

Definition at line 219 of file route_time_axis.h.

boost::shared_ptr< AutomationTimeAxisView > RouteTimeAxisView::automation_child ( Evoral::Parameter  param)

Definition at line 2526 of file route_time_axis.cc.

Gtk::CheckMenuItem * RouteTimeAxisView::automation_child_menu_item ( Evoral::Parameter  param)
virtual

Reimplemented in MidiTimeAxisView.

Definition at line 2739 of file route_time_axis.cc.

void RouteTimeAxisView::automation_click ( )
protected

Definition at line 470 of file route_time_axis.cc.

void RouteTimeAxisView::automation_track_hidden ( Evoral::Parameter  param)
protected

Definition at line 1872 of file route_time_axis.cc.

const AutomationTracks& RouteTimeAxisView::automation_tracks ( ) const
inline

Definition at line 129 of file route_time_axis.h.

void RouteTimeAxisView::blink_rec_display ( bool  onoff)
protectedvirtual

Reimplemented from RouteUI.

Definition at line 2488 of file route_time_axis.cc.

void RouteTimeAxisView::build_automation_action_menu ( bool  for_selection)
protectedvirtual

Reimplemented in MidiTimeAxisView, and AudioTimeAxisView.

Definition at line 478 of file route_time_axis.cc.

virtual Gtk::Menu* RouteTimeAxisView::build_color_mode_menu ( )
inlineprotectedvirtual

Reimplemented in MidiTimeAxisView.

Definition at line 272 of file route_time_axis.h.

void RouteTimeAxisView::build_display_menu ( )
protectedvirtual

Build the standard LHS control menu. Subclasses should extend this method to add their own menu options.

Reimplemented from TimeAxisView.

Definition at line 558 of file route_time_axis.cc.

void RouteTimeAxisView::build_playlist_menu ( )

Definition at line 1641 of file route_time_axis.cc.

void RouteTimeAxisView::build_underlay_menu ( Gtk::Menu *  parent_menu)

Definition at line 2597 of file route_time_axis.cc.

bool RouteTimeAxisView::can_edit_name ( ) const
protectedvirtual

Reimplemented from TimeAxisView.

Definition at line 2480 of file route_time_axis.cc.

void RouteTimeAxisView::clear_meter ( )

Definition at line 2570 of file route_time_axis.cc.

void RouteTimeAxisView::clear_playlist ( )

Definition at line 1265 of file route_time_axis.cc.

void RouteTimeAxisView::color_handler ( )
protected

Definition at line 1827 of file route_time_axis.cc.

RegionView * RouteTimeAxisView::combine_regions ( )

Definition at line 2832 of file route_time_axis.cc.

virtual void RouteTimeAxisView::create_automation_child ( const Evoral::Parameter param,
bool  show 
)
pure virtual

Implemented in MidiTimeAxisView, and AudioTimeAxisView.

void RouteTimeAxisView::create_gain_automation_child ( const Evoral::Parameter param,
bool  show 
)
protected

Definition at line 2755 of file route_time_axis.cc.

void RouteTimeAxisView::create_mute_automation_child ( const Evoral::Parameter param,
bool  show 
)
protected

Definition at line 2802 of file route_time_axis.cc.

void RouteTimeAxisView::create_trim_automation_child ( const Evoral::Parameter param,
bool  show 
)
protected

Definition at line 2779 of file route_time_axis.cc.

void RouteTimeAxisView::cut_copy_clear ( Selection selection,
Editing::CutCopyOp  op 
)
virtual

Reimplemented from TimeAxisView.

Definition at line 1512 of file route_time_axis.cc.

void RouteTimeAxisView::effective_gain_display ( )
inline

Definition at line 146 of file route_time_axis.h.

void RouteTimeAxisView::ensure_pan_views ( bool  show = true)
protected

Ensure that we have the appropriate automation lanes for panners.

Parameters
showtrue to show any new views that we create, otherwise false.

Definition at line 1959 of file route_time_axis.cc.

void RouteTimeAxisView::fade_range ( TimeSelection selection)
virtual

Reimplemented from TimeAxisView.

Definition at line 1477 of file route_time_axis.cc.

void RouteTimeAxisView::fast_update ( )

Definition at line 2537 of file route_time_axis.cc.

boost::shared_ptr< Region > RouteTimeAxisView::find_next_region ( framepos_t  pos,
ARDOUR::RegionPoint  point,
int32_t  dir 
)
virtual

Reimplemented from TimeAxisView.

Definition at line 1453 of file route_time_axis.cc.

framepos_t RouteTimeAxisView::find_next_region_boundary ( framepos_t  pos,
int32_t  dir 
)

Definition at line 1465 of file route_time_axis.cc.

boost::shared_ptr< AutomationLine > RouteTimeAxisView::find_processor_automation_curve ( boost::shared_ptr< ARDOUR::Processor i,
Evoral::Parameter  what 
)
protected

Definition at line 2458 of file route_time_axis.cc.

RouteTimeAxisView::ProcessorAutomationNode * RouteTimeAxisView::find_processor_automation_node ( boost::shared_ptr< ARDOUR::Processor i,
Evoral::Parameter  what 
)
protected

Definition at line 2165 of file route_time_axis.cc.

void RouteTimeAxisView::get_inverted_selectables ( Selection sel,
std::list< Selectable * > &  results 
)
virtual

Reimplemented from TimeAxisView.

Definition at line 1384 of file route_time_axis.cc.

void RouteTimeAxisView::get_selectables ( ARDOUR::framepos_t  start,
ARDOUR::framepos_t  end,
double  top,
double  bot,
std::list< Selectable * > &  results,
bool  within = false 
)
virtual

Add the selectable things that we have to a list.

Parameters
resultsList to add things to.

Reimplemented from TimeAxisView.

Definition at line 1359 of file route_time_axis.cc.

void RouteTimeAxisView::hide_all_automation ( bool  apply_to_selection = false)
protectedvirtual

Reimplemented in AudioTimeAxisView.

Definition at line 2093 of file route_time_axis.cc.

void RouteTimeAxisView::hide_meter ( )

Definition at line 2543 of file route_time_axis.cc.

void RouteTimeAxisView::hide_timestretch ( )
virtual

Reimplemented from TimeAxisView.

Definition at line 939 of file route_time_axis.cc.

void RouteTimeAxisView::io_changed ( ARDOUR::IOChange  ,
void *   
)

Definition at line 2588 of file route_time_axis.cc.

void RouteTimeAxisView::label_view ( )
protectedvirtual

Definition at line 390 of file route_time_axis.cc.

LayerDisplay RouteTimeAxisView::layer_display ( ) const
virtual

Reimplemented from TimeAxisView.

Definition at line 2513 of file route_time_axis.cc.

void RouteTimeAxisView::map_frozen ( )
protectedvirtual

Reimplemented from RouteUI.

Definition at line 1806 of file route_time_axis.cc.

void RouteTimeAxisView::meter_changed ( )

Definition at line 2576 of file route_time_axis.cc.

string RouteTimeAxisView::name ( ) const
virtual

Implements AxisView.

Definition at line 1406 of file route_time_axis.cc.

void RouteTimeAxisView::name_entry_changed ( )
protectedvirtual

Reimplemented from TimeAxisView.

Definition at line 1424 of file route_time_axis.cc.

void RouteTimeAxisView::parameter_changed ( std::string const &  p)
private

Definition at line 438 of file route_time_axis.cc.

bool RouteTimeAxisView::paste ( ARDOUR::framepos_t  pos,
const Selection selection,
PasteContext ctx 
)
virtual

Paste a selection.

Parameters
posPosition to paste to (session frames).
selectionSelection to paste.
ctxPaste context.

Reimplemented from TimeAxisView.

Definition at line 1589 of file route_time_axis.cc.

boost::shared_ptr< Playlist > RouteTimeAxisView::playlist ( ) const
virtual

Reimplemented from TimeAxisView.

Definition at line 1412 of file route_time_axis.cc.

void RouteTimeAxisView::playlist_changed ( )
protected

Definition at line 384 of file route_time_axis.cc.

void RouteTimeAxisView::playlist_click ( )
protected

Definition at line 462 of file route_time_axis.cc.

void RouteTimeAxisView::post_construct ( )
protected

Definition at line 343 of file route_time_axis.cc.

void RouteTimeAxisView::processor_automation_track_hidden ( RouteTimeAxisView::ProcessorAutomationNode pan,
boost::shared_ptr< ARDOUR::Processor  
)
protected

Definition at line 2221 of file route_time_axis.cc.

void RouteTimeAxisView::processor_menu_item_toggled ( RouteTimeAxisView::ProcessorAutomationInfo rai,
RouteTimeAxisView::ProcessorAutomationNode pan 
)
protected

Definition at line 2396 of file route_time_axis.cc.

void RouteTimeAxisView::processors_changed ( ARDOUR::RouteProcessorChange  c)
protectedvirtual

Reimplemented from RouteUI.

Definition at line 2417 of file route_time_axis.cc.

void RouteTimeAxisView::region_view_added ( RegionView rv)
protected

Definition at line 2127 of file route_time_axis.cc.

void RouteTimeAxisView::remove_child ( boost::shared_ptr< TimeAxisView c)
privatevirtual

Reimplemented from TimeAxisView.

Definition at line 2902 of file route_time_axis.cc.

void RouteTimeAxisView::remove_processor_automation_node ( ProcessorAutomationNode pan)
protected

Definition at line 2157 of file route_time_axis.cc.

void RouteTimeAxisView::remove_underlay ( StreamView v)

Definition at line 2684 of file route_time_axis.cc.

void RouteTimeAxisView::rename_current_playlist ( )
protected

Definition at line 1088 of file route_time_axis.cc.

void RouteTimeAxisView::reset_meter ( )

Definition at line 2556 of file route_time_axis.cc.

void RouteTimeAxisView::reset_processor_automation_curves ( )
protected

Definition at line 2472 of file route_time_axis.cc.

void RouteTimeAxisView::reset_samples_per_pixel ( )
protected

Definition at line 1047 of file route_time_axis.cc.

std::string RouteTimeAxisView::resolve_new_group_playlist_name ( std::string &  basename,
std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &  playlists 
)

Definition at line 1123 of file route_time_axis.cc.

void RouteTimeAxisView::route_color_changed ( )
protectedvirtual

Reimplemented from RouteUI.

Definition at line 1037 of file route_time_axis.cc.

RouteGroup * RouteTimeAxisView::route_group ( ) const
virtual

Reimplemented from TimeAxisView.

Definition at line 1400 of file route_time_axis.cc.

gint RouteTimeAxisView::route_group_click ( GdkEventButton *  ev)
protected

Definition at line 365 of file route_time_axis.cc.

void RouteTimeAxisView::route_property_changed ( const PBD::PropertyChange what_changed)
protected

Definition at line 446 of file route_time_axis.cc.

void RouteTimeAxisView::selection_click ( GdkEventButton *  ev)
virtual

Reimplemented from TimeAxisView.

Definition at line 1297 of file route_time_axis.cc.

void RouteTimeAxisView::set_align_choice ( Gtk::RadioMenuItem *  ,
ARDOUR::AlignChoice  ,
bool  apply_to_selection = false 
)
protected

Definition at line 1069 of file route_time_axis.cc.

void RouteTimeAxisView::set_button_names ( )
virtual

Implements RouteUI.

Definition at line 2713 of file route_time_axis.cc.

void RouteTimeAxisView::set_height ( uint32_t  h,
TrackHeightMode  m = OnlySelf 
)
virtual

Reimplemented from TimeAxisView.

Definition at line 969 of file route_time_axis.cc.

void RouteTimeAxisView::set_layer_display ( LayerDisplay  d,
bool  apply_to_selection = false 
)

Definition at line 2494 of file route_time_axis.cc.

void RouteTimeAxisView::set_route ( boost::shared_ptr< ARDOUR::Route rt)
virtual

Reimplemented from RouteUI.

Definition at line 128 of file route_time_axis.cc.

void RouteTimeAxisView::set_samples_per_pixel ( double  fpp)
virtual

Reimplemented from TimeAxisView.

Definition at line 1053 of file route_time_axis.cc.

void RouteTimeAxisView::set_selected_points ( PointSelection points)
virtual

Reimplemented from TimeAxisView.

Definition at line 1340 of file route_time_axis.cc.

void RouteTimeAxisView::set_selected_regionviews ( RegionSelection regions)
virtual

Reimplemented from TimeAxisView.

Definition at line 1348 of file route_time_axis.cc.

int RouteTimeAxisView::set_state ( const XMLNode ,
int  version 
)
void RouteTimeAxisView::set_track_mode ( ARDOUR::TrackMode  mode,
bool  apply_to_selection = false 
)
protected

Definition at line 870 of file route_time_axis.cc.

bool RouteTimeAxisView::set_underlay_state ( )
protected

Definition at line 2617 of file route_time_axis.cc.

void RouteTimeAxisView::setup_processor_menu_and_curves ( )
protected

Set up the processor menu for the current set of processors, and display automation curves for any parameters which have data.

Definition at line 356 of file route_time_axis.cc.

void RouteTimeAxisView::show_all_automation ( bool  apply_to_selection = false)
protectedvirtual

Reimplemented in AudioTimeAxisView, and MidiTimeAxisView.

Definition at line 2015 of file route_time_axis.cc.

void RouteTimeAxisView::show_existing_automation ( bool  apply_to_selection = false)
protectedvirtual

Reimplemented in AudioTimeAxisView, and MidiTimeAxisView.

Definition at line 2056 of file route_time_axis.cc.

void RouteTimeAxisView::show_meter ( )

Definition at line 2550 of file route_time_axis.cc.

void RouteTimeAxisView::show_playlist_selector ( )
protected

Definition at line 1800 of file route_time_axis.cc.

void RouteTimeAxisView::show_selection ( TimeSelection ts)
virtual

Reimplemented from TimeAxisView.

Definition at line 949 of file route_time_axis.cc.

void RouteTimeAxisView::show_timestretch ( framepos_t  start,
framepos_t  end,
int  layers,
int  layer 
)
virtual

Reimplemented from TimeAxisView.

Definition at line 894 of file route_time_axis.cc.

void RouteTimeAxisView::speed_changed ( )
protected

Definition at line 1281 of file route_time_axis.cc.

string RouteTimeAxisView::state_id ( ) const
virtual

Implements AxisView.

Definition at line 2895 of file route_time_axis.cc.

void RouteTimeAxisView::take_name_changed ( void *  src)
protected

Definition at line 454 of file route_time_axis.cc.

void RouteTimeAxisView::timestretch ( framepos_t  start,
framepos_t  end 
)
protected
void RouteTimeAxisView::toggle_automation_track ( const Evoral::Parameter param)

Toggle an automation track for a fully-specified Parameter (type,channel,id) Will add track if necessary.

Definition at line 1845 of file route_time_axis.cc.

void RouteTimeAxisView::uncombine_region ( RegionView )
void RouteTimeAxisView::uncombine_regions ( )

Definition at line 2864 of file route_time_axis.cc.

void RouteTimeAxisView::update_diskstream_display ( )
protected

Definition at line 1287 of file route_time_axis.cc.

void RouteTimeAxisView::update_gain_track_visibility ( )
protected

Definition at line 1894 of file route_time_axis.cc.

void RouteTimeAxisView::update_mute_track_visibility ( )
protected

Definition at line 1926 of file route_time_axis.cc.

void RouteTimeAxisView::update_pan_track_visibility ( )
protected

Definition at line 1942 of file route_time_axis.cc.

void RouteTimeAxisView::update_playlist_tip ( )
private

Definition at line 1769 of file route_time_axis.cc.

void RouteTimeAxisView::update_track_number_visibility ( )
private

Definition at line 405 of file route_time_axis.cc.

void RouteTimeAxisView::update_trim_track_visibility ( )
protected

Definition at line 1910 of file route_time_axis.cc.

void RouteTimeAxisView::use_copy_playlist ( bool  prompt,
std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &  playlists_before_op 
)

Definition at line 1158 of file route_time_axis.cc.

void RouteTimeAxisView::use_new_playlist ( bool  prompt,
std::vector< boost::shared_ptr< ARDOUR::Playlist > > const &  playlists_before_op 
)

Definition at line 1213 of file route_time_axis.cc.

void RouteTimeAxisView::use_playlist ( Gtk::RadioMenuItem *  item,
boost::weak_ptr< ARDOUR::Playlist wpl 
)
protected

Definition at line 1701 of file route_time_axis.cc.

StreamView* RouteTimeAxisView::view ( ) const
inlinevirtual

Reimplemented from TimeAxisView.

Definition at line 135 of file route_time_axis.h.

Friends And Related Function Documentation

friend class StreamView
friend

Definition at line 151 of file route_time_axis.h.

Member Data Documentation

AutomationTracks RouteTimeAxisView::_automation_tracks
protected

Definition at line 288 of file route_time_axis.h.

bool RouteTimeAxisView::_ignore_set_layer_display
protected

Definition at line 307 of file route_time_axis.h.

ParameterMenuMap RouteTimeAxisView::_main_automation_menu_map
protected

parameter -> menu item map for the main automation menu

Definition at line 291 of file route_time_axis.h.

ParameterMenuMap RouteTimeAxisView::_subplugin_menu_map
protected

parameter -> menu item map for the plugin automation menu

Definition at line 293 of file route_time_axis.h.

UnderlayMirrorList RouteTimeAxisView::_underlay_mirrors
protected

Definition at line 305 of file route_time_axis.h.

UnderlayList RouteTimeAxisView::_underlay_streams
protected

Definition at line 303 of file route_time_axis.h.

StreamView* RouteTimeAxisView::_view
protected

Definition at line 252 of file route_time_axis.h.

Gtk::Menu* RouteTimeAxisView::automation_action_menu
protected

Definition at line 264 of file route_time_axis.h.

ArdourButton RouteTimeAxisView::automation_button
protected

Definition at line 260 of file route_time_axis.h.

Gtk::Table RouteTimeAxisView::button_table
protected

Definition at line 257 of file route_time_axis.h.

Gtk::Menu* RouteTimeAxisView::color_mode_menu
protected

Definition at line 270 of file route_time_axis.h.

Gtk::CheckMenuItem* RouteTimeAxisView::gain_automation_item
protected

Definition at line 321 of file route_time_axis.h.

boost::shared_ptr<AutomationTimeAxisView> RouteTimeAxisView::gain_track
protected

Definition at line 248 of file route_time_axis.h.

GainMeterBase RouteTimeAxisView::gm
protected

Definition at line 297 of file route_time_axis.h.

Gtk::Menu* RouteTimeAxisView::mode_menu
protected

Definition at line 269 of file route_time_axis.h.

Gtk::CheckMenuItem* RouteTimeAxisView::mute_automation_item
protected

Definition at line 323 of file route_time_axis.h.

boost::shared_ptr<AutomationTimeAxisView> RouteTimeAxisView::mute_track
protected

Definition at line 250 of file route_time_axis.h.

bool RouteTimeAxisView::no_redraw
protected

Definition at line 254 of file route_time_axis.h.

ArdourButton RouteTimeAxisView::number_label
protected

Definition at line 261 of file route_time_axis.h.

Gtk::HBox RouteTimeAxisView::other_button_hbox
protected

Definition at line 256 of file route_time_axis.h.

Gtk::CheckMenuItem* RouteTimeAxisView::pan_automation_item
protected

Definition at line 325 of file route_time_axis.h.

std::list<boost::shared_ptr<AutomationTimeAxisView> > RouteTimeAxisView::pan_tracks
protected

Definition at line 324 of file route_time_axis.h.

ArdourCanvas::Canvas& RouteTimeAxisView::parent_canvas
protected

Definition at line 253 of file route_time_axis.h.

Gtk::Menu* RouteTimeAxisView::playlist_action_menu
protected

Definition at line 267 of file route_time_axis.h.

ArdourButton RouteTimeAxisView::playlist_button
protected

Definition at line 259 of file route_time_axis.h.

Gtk::MenuItem* RouteTimeAxisView::playlist_item
protected

Definition at line 268 of file route_time_axis.h.

Gtk::MenuItem* RouteTimeAxisView::plugins_submenu_item
protected

Definition at line 265 of file route_time_axis.h.

std::list<ProcessorAutomationInfo*> RouteTimeAxisView::processor_automation
protected

Information about all automatable processor parameters that apply to this route. The Amp processor is not included in this list.

Definition at line 283 of file route_time_axis.h.

ProcessorAutomationCurves RouteTimeAxisView::processor_automation_curves
protected

Definition at line 286 of file route_time_axis.h.

ArdourButton RouteTimeAxisView::route_group_button
protected

Definition at line 258 of file route_time_axis.h.

RouteGroupMenu* RouteTimeAxisView::route_group_menu
protected

Definition at line 266 of file route_time_axis.h.

Gtk::Menu RouteTimeAxisView::subplugin_menu
protected

Definition at line 263 of file route_time_axis.h.

ArdourCanvas::Rectangle* RouteTimeAxisView::timestretch_rect
protected

Definition at line 276 of file route_time_axis.h.

Gtk::CheckMenuItem* RouteTimeAxisView::trim_automation_item
protected

Definition at line 322 of file route_time_axis.h.

boost::shared_ptr<AutomationTimeAxisView> RouteTimeAxisView::trim_track
protected

Definition at line 249 of file route_time_axis.h.

XMLNode* RouteTimeAxisView::underlay_xml_node
protected

Definition at line 299 of file route_time_axis.h.


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