Ardour  9.0-pre0-582-g084a23a80d
TriggerPage Class Reference

#include <trigger_page.h>

Inheritance diagram for TriggerPage:
[legend]

Public Member Functions

 TriggerPage ()
 
 ~TriggerPage ()
 
void set_session (ARDOUR::Session *)
 
XMLNodeget_state () const
 
int set_state (const XMLNode &, int)
 
Gtk::Windowuse_own_window (bool and_fill_it)
 
RouteProcessorSelectionselection ()
 
void focus_on_clock ()
 
- Public Member Functions inherited from ArdourWidgets::Tabbable
 Tabbable (const std::string &user_visible_name, std::string const &untranslated_name, Gtk::Widget *top=NULL, bool tabbed_by_default=true, PaneLayout pl=PaneRight)
 
 ~Tabbable ()
 
void add_to_notebook (Gtk::Notebook &notebook)
 
void make_visible ()
 
void make_invisible ()
 
void change_visibility ()
 
void attach ()
 
void detach ()
 
Gtk::Widgetcontents () const
 
Gtk::EventBoxtab_btn_box ()
 
Gtk::Windowget (bool create=false)
 
Gtk::Windowown_window ()
 
void set_default_tabbed (bool yn)
 
virtual void show_window ()
 
bool window_visible () const
 
bool tabbed () const
 
bool tabbed_by_default () const
 
Gtk::Windowcurrent_toplevel () const
 
Gtk::Notebooktab_root_drop ()
 
int set_state (const XMLNode &, int version)
 
XMLNodeget_state () const
 
void att_left_button_toggled ()
 
void att_right_button_toggled ()
 
void att_bottom_button_toggled ()
 
- Public Member Functions inherited from Gtkmm2ext::WindowProxy
 WindowProxy (const std::string &name, const std::string &menu_name)
 
 WindowProxy (const std::string &name, const std::string &menu_name, const XMLNode &)
 
virtual ~WindowProxy ()
 
void show ()
 
void show_all ()
 
void hide ()
 
void present ()
 
void maybe_show ()
 
virtual bool visible () const
 
virtual bool fully_visible () const
 
const std::string & name () const
 
const std::string & menu_name () const
 
std::string action_name () const
 
void set_action (Glib::RefPtr< Gtk::Action >)
 
Glib::RefPtr< Gtk::Actionaction () const
 
void drop_window ()
 
void use_window (Gtk::Window &)
 
void set_transient_for (Gtk::Window &)
 
void set_state_mask (StateMask)
 
StateMask state_mask () const
 
 operator bool () const
 
- 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::Destructible
virtual ~Destructible ()
 
virtual void drop_references ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 
- Public Member Functions inherited from AxisViewProvider
virtual ~AxisViewProvider ()
 

Private Member Functions

void load_bindings ()
 
void register_actions ()
 
void update_title ()
 
void session_going_away ()
 
void parameter_changed (std::string const &)
 
void initial_track_display ()
 
void add_routes (ARDOUR::RouteList &)
 
void remove_route (TriggerStrip *)
 
void clear_selected_slot ()
 
void redisplay_track_list ()
 
void pi_property_changed (PBD::PropertyChange const &)
 
void stripable_property_changed (PBD::PropertyChange const &, std::weak_ptr< ARDOUR::Stripable >)
 
void showhide_att_bottom (bool)
 
void rec_state_changed ()
 
void rec_state_clicked ()
 
void add_sidebar_page (std::string const &, Gtk::Widget &)
 
bool strip_button_release_event (GdkEventButton *, TriggerStrip *)
 
bool no_strip_button_event (GdkEventButton *)
 
bool no_strip_drag_motion (Glib::RefPtr< Gdk::DragContext > const &, int, int, guint)
 
void no_strip_drag_data_received (Glib::RefPtr< Gdk::DragContext > const &, int, int, Gtk::SelectionData const &, guint, guint)
 
bool idle_drop_paths (std::vector< std::string >)
 
void drop_paths_part_two (std::vector< std::string >)
 
AxisViewaxis_view_by_stripable (std::shared_ptr< ARDOUR::Stripable >) const
 
AxisViewaxis_view_by_control (std::shared_ptr< ARDOUR::AutomationControl >) const
 
void selection_changed ()
 
void rec_enable_changed (ARDOUR::Trigger const *)
 
gint start_updating ()
 
gint stop_updating ()
 
void fast_update_strips ()
 

Private Attributes

PBD::ScopedConnectionList editor_connections
 
ApplicationBar _application_bar
 
Gtkmm2ext::Bindingsbindings
 
Gtk::HBox _strip_group_box
 
Gtk::ScrolledWindow _strip_scroller
 
Gtk::HBox _strip_packer
 
Gtk::EventBox _no_strips
 
Gtk::Alignment _cue_area_frame
 
Gtk::VBox _cue_area_box
 
Gtk::HBox _parameter_box
 
Gtk::Notebook _sidebar_notebook
 
TriggerClipPicker _trigger_clip_picker
 
TriggerSourceList _trigger_source_list
 
TriggerRegionList _trigger_region_list
 
TriggerRouteList _trigger_route_list
 
CueBoxWidget _cue_box
 
FittedCanvasWidget _master_widget
 
CueMaster _master
 
bool _show_bottom_pane
 
SlotPropertiesBox _slot_prop_box
 
AudioTriggerPropertiesBox _audio_trig_box
 
MidiTriggerPropertiesBox _midi_trig_box
 
MidiCueEditor_midi_editor
 
RouteProcessorSelection _selection
 
std::list< TriggerStrip * > _strips
 
sigc::connection _fast_screen_update_connection
 

Additional Inherited Members

- Public Types inherited from ArdourWidgets::Tabbable
enum  PaneLayout {
  NoPanes = 0x00 , PaneLeft = 0x01 , PaneRight = 0x02 , PaneBottom = 0x04 ,
  AttLeft = 0x08 , AttBottom = 0x10
}
 
- Public Types inherited from Gtkmm2ext::WindowProxy
enum  StateMask { Position = 0x1 , Size = 0x2 }
 
- Static Public Member Functions inherited from ArdourWidgets::Tabbable
static std::string xml_node_name ()
 
- Static Public Member Functions inherited from Gtkmm2ext::WindowProxy
static std::string xml_node_name ()
 
- Public Attributes inherited from ArdourWidgets::Tabbable
sigc::signal1< void, Tabbable & > StateChange
 
- Public Attributes inherited from Gtkmm2ext::WindowProxy
sigc::signal0< void > signal_map
 
sigc::signal0< void > signal_unmap
 
- Public Attributes inherited from PBD::Stateful
PBD::Signal< void(const PropertyChange &)> PropertyChanged
 
- Public Attributes inherited from PBD::Destructible
PBD::Signal< void()> Destroyed
 
PBD::Signal< void()> DropReferences
 
- Static Public Attributes inherited from PBD::Stateful
static int current_state_version
 
static int loading_state_version
 
- Protected Member Functions inherited from ArdourWidgets::Tabbable
virtual void showhide_att_left (bool yn)
 
virtual void showhide_att_right (bool yn)
 
bool delete_event_handler (GdkEventAny *ev)
 
- Protected Member Functions inherited from Gtkmm2ext::WindowProxy
void save_pos_and_size ()
 
void set_pos_and_size ()
 
void set_pos ()
 
virtual bool configure_handler (GdkEventConfigure *)
 
void map_handler ()
 
void unmap_handler ()
 
virtual void setup ()
 
void toggle ()
 
- 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 Attributes inherited from ArdourWidgets::Tabbable
Gtk::HBox content_header_hbox
 
EventBoxExt content_app_bar
 
Gtk::EventBox content_attachments
 
Gtk::HBox content_attachment_hbox
 
EventBoxExt content_tabbables
 
HPane content_left_pane
 
Gtk::HBox content_hbox
 
EventBoxExt content_att_left
 
VPane content_midlevel_vpane
 
Gtk::VBox content_midlevel_vbox
 
HPane content_right_pane
 
Gtk::VBox content_inner_vbox
 
EventBoxExt content_main_top
 
EventBoxExt content_main
 
Gtk::VBox content_right_vbox
 
EventBoxExt content_att_right
 
EventBoxExt content_att_bottom
 
ArdourWidgets::ArdourButton left_attachment_button
 
ArdourWidgets::ArdourButton right_attachment_button
 
ArdourWidgets::ArdourButton bottom_attachment_button
 
- Protected Attributes inherited from Gtkmm2ext::WindowProxy
std::string _name
 
std::string _menu_name
 
Glib::RefPtr< Gtk::Action_action
 
Gtk::Window_window
 
bool _visible
 true if the window should be visible on startup More...
 
int _x_off
 x position More...
 
int _y_off
 y position More...
 
int _width
 width More...
 
int _height
 height More...
 
Gtkmm2ext::VisibilityTrackervistracker
 
StateMask _state_mask
 
sigc::connection delete_connection
 
sigc::connection configure_connection
 
sigc::connection map_connection
 
sigc::connection unmap_connection
 
- 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 ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

Definition at line 49 of file trigger_page.h.

Constructor & Destructor Documentation

◆ TriggerPage()

TriggerPage::TriggerPage ( )

◆ ~TriggerPage()

TriggerPage::~TriggerPage ( )

Member Function Documentation

◆ add_routes()

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

◆ add_sidebar_page()

void TriggerPage::add_sidebar_page ( std::string const &  ,
Gtk::Widget  
)
private

◆ axis_view_by_control()

AxisView* TriggerPage::axis_view_by_control ( std::shared_ptr< ARDOUR::AutomationControl ) const
privatevirtual

Implements AxisViewProvider.

◆ axis_view_by_stripable()

AxisView* TriggerPage::axis_view_by_stripable ( std::shared_ptr< ARDOUR::Stripable ) const
privatevirtual

Implements AxisViewProvider.

◆ clear_selected_slot()

void TriggerPage::clear_selected_slot ( )
private

◆ drop_paths_part_two()

void TriggerPage::drop_paths_part_two ( std::vector< std::string >  )
private

◆ fast_update_strips()

void TriggerPage::fast_update_strips ( )
private

◆ focus_on_clock()

void TriggerPage::focus_on_clock ( )

◆ get_state()

XMLNode& TriggerPage::get_state ( ) const
virtual

Reimplemented from Gtkmm2ext::WindowProxy.

◆ idle_drop_paths()

bool TriggerPage::idle_drop_paths ( std::vector< std::string >  )
private

◆ initial_track_display()

void TriggerPage::initial_track_display ( )
private

◆ load_bindings()

void TriggerPage::load_bindings ( )
private

◆ no_strip_button_event()

bool TriggerPage::no_strip_button_event ( GdkEventButton )
private

◆ no_strip_drag_data_received()

void TriggerPage::no_strip_drag_data_received ( Glib::RefPtr< Gdk::DragContext > const &  ,
int  ,
int  ,
Gtk::SelectionData const &  ,
guint  ,
guint   
)
private

◆ no_strip_drag_motion()

bool TriggerPage::no_strip_drag_motion ( Glib::RefPtr< Gdk::DragContext > const &  ,
int  ,
int  ,
guint   
)
private

◆ parameter_changed()

void TriggerPage::parameter_changed ( std::string const &  )
private

◆ pi_property_changed()

void TriggerPage::pi_property_changed ( PBD::PropertyChange const &  )
private

◆ rec_enable_changed()

void TriggerPage::rec_enable_changed ( ARDOUR::Trigger const *  )
private

◆ rec_state_changed()

void TriggerPage::rec_state_changed ( )
private

◆ rec_state_clicked()

void TriggerPage::rec_state_clicked ( )
private

◆ redisplay_track_list()

void TriggerPage::redisplay_track_list ( )
private

◆ register_actions()

void TriggerPage::register_actions ( )
private

◆ remove_route()

void TriggerPage::remove_route ( TriggerStrip )
private

◆ selection()

RouteProcessorSelection& TriggerPage::selection ( )
inline

Definition at line 62 of file trigger_page.h.

◆ selection_changed()

void TriggerPage::selection_changed ( )
private

◆ session_going_away()

void TriggerPage::session_going_away ( )
privatevirtual

Reimplemented from ARDOUR::SessionHandlePtr.

◆ set_session()

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

Reimplemented from ARDOUR::SessionHandlePtr.

◆ set_state()

int TriggerPage::set_state ( const XMLNode ,
int   
)
virtual

Reimplemented from Gtkmm2ext::WindowProxy.

◆ showhide_att_bottom()

void TriggerPage::showhide_att_bottom ( bool  )
privatevirtual

Reimplemented from ArdourWidgets::Tabbable.

◆ start_updating()

gint TriggerPage::start_updating ( )
private

◆ stop_updating()

gint TriggerPage::stop_updating ( )
private

◆ strip_button_release_event()

bool TriggerPage::strip_button_release_event ( GdkEventButton ,
TriggerStrip  
)
private

◆ stripable_property_changed()

void TriggerPage::stripable_property_changed ( PBD::PropertyChange const &  ,
std::weak_ptr< ARDOUR::Stripable  
)
private

◆ update_title()

void TriggerPage::update_title ( )
private

◆ use_own_window()

Gtk::Window* TriggerPage::use_own_window ( bool  and_fill_it)
virtual

Reimplemented from ArdourWidgets::Tabbable.

Member Data Documentation

◆ _application_bar

ApplicationBar TriggerPage::_application_bar
private

Definition at line 109 of file trigger_page.h.

◆ _audio_trig_box

AudioTriggerPropertiesBox TriggerPage::_audio_trig_box
private

Definition at line 134 of file trigger_page.h.

◆ _cue_area_box

Gtk::VBox TriggerPage::_cue_area_box
private

Definition at line 118 of file trigger_page.h.

◆ _cue_area_frame

Gtk::Alignment TriggerPage::_cue_area_frame
private

Definition at line 117 of file trigger_page.h.

◆ _cue_box

CueBoxWidget TriggerPage::_cue_box
private

Definition at line 126 of file trigger_page.h.

◆ _fast_screen_update_connection

sigc::connection TriggerPage::_fast_screen_update_connection
private

Definition at line 146 of file trigger_page.h.

◆ _master

CueMaster TriggerPage::_master
private

Definition at line 128 of file trigger_page.h.

◆ _master_widget

FittedCanvasWidget TriggerPage::_master_widget
private

Definition at line 127 of file trigger_page.h.

◆ _midi_editor

MidiCueEditor* TriggerPage::_midi_editor
private

Definition at line 142 of file trigger_page.h.

◆ _midi_trig_box

MidiTriggerPropertiesBox TriggerPage::_midi_trig_box
private

Definition at line 135 of file trigger_page.h.

◆ _no_strips

Gtk::EventBox TriggerPage::_no_strips
private

Definition at line 116 of file trigger_page.h.

◆ _parameter_box

Gtk::HBox TriggerPage::_parameter_box
private

Definition at line 119 of file trigger_page.h.

◆ _selection

RouteProcessorSelection TriggerPage::_selection
private

Definition at line 144 of file trigger_page.h.

◆ _show_bottom_pane

bool TriggerPage::_show_bottom_pane
private

Definition at line 130 of file trigger_page.h.

◆ _sidebar_notebook

Gtk::Notebook TriggerPage::_sidebar_notebook
private

Definition at line 120 of file trigger_page.h.

◆ _slot_prop_box

SlotPropertiesBox TriggerPage::_slot_prop_box
private

Definition at line 132 of file trigger_page.h.

◆ _strip_group_box

Gtk::HBox TriggerPage::_strip_group_box
private

Definition at line 113 of file trigger_page.h.

◆ _strip_packer

Gtk::HBox TriggerPage::_strip_packer
private

Definition at line 115 of file trigger_page.h.

◆ _strip_scroller

Gtk::ScrolledWindow TriggerPage::_strip_scroller
private

Definition at line 114 of file trigger_page.h.

◆ _strips

std::list<TriggerStrip*> TriggerPage::_strips
private

Definition at line 145 of file trigger_page.h.

◆ _trigger_clip_picker

TriggerClipPicker TriggerPage::_trigger_clip_picker
private

Definition at line 121 of file trigger_page.h.

◆ _trigger_region_list

TriggerRegionList TriggerPage::_trigger_region_list
private

Definition at line 123 of file trigger_page.h.

◆ _trigger_route_list

TriggerRouteList TriggerPage::_trigger_route_list
private

Definition at line 124 of file trigger_page.h.

◆ _trigger_source_list

TriggerSourceList TriggerPage::_trigger_source_list
private

Definition at line 122 of file trigger_page.h.

◆ bindings

Gtkmm2ext::Bindings* TriggerPage::bindings
private

Definition at line 111 of file trigger_page.h.

◆ editor_connections

PBD::ScopedConnectionList TriggerPage::editor_connections
private

Definition at line 103 of file trigger_page.h.


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