Ardour  9.0-pre0-582-g084a23a80d
ProcessorEntry Class Reference

#include <processor_box.h>

Inheritance diagram for ProcessorEntry:
[legend]

Classes

class  Control
 
class  LuaPluginDisplay
 
class  PluginInlineDisplay
 
class  PortIcon
 
class  RoutingIcon
 

Public Types

enum  ProcessorPosition { PreFader , Fader , PostFader }
 

Public Member Functions

 ProcessorEntry (ProcessorBox *, std::shared_ptr< ARDOUR::Processor >, Width)
 
 ~ProcessorEntry ()
 
Gtk::EventBoxaction_widget ()
 
Gtk::Widgetwidget ()
 
std::string drag_text () const
 
void set_visual_state (Gtkmm2ext::VisualState, bool)
 
bool is_selectable () const
 
void set_selectable (bool s)
 
bool drag_data_get (Glib::RefPtr< Gdk::DragContext > const, Gtk::SelectionData &)
 
bool can_copy_state (Gtkmm2ext::DnDVBoxChild *) const
 
void set_position (ProcessorPosition, uint32_t)
 
bool unknown_processor () const
 
std::shared_ptr< ARDOUR::Processorprocessor () const
 
void set_enum_width (Width)
 
virtual void hide_things ()
 
void toggle_inline_display_visibility ()
 
void show_all_controls ()
 
void hide_all_controls ()
 
void add_control_state (XMLNode *) const
 
void set_control_state (XMLNode const *)
 
std::string state_id () const
 
Gtk::Menubuild_controls_menu ()
 
Gtk::Menubuild_send_options_menu ()
 
Gtk::Menubuild_presets_menu ()
 
- Public Member Functions inherited from Gtkmm2ext::DnDVBoxChild
virtual ~DnDVBoxChild ()
 

Public Attributes

PortIcon input_icon
 
PortIcon output_icon
 
RoutingIcon routing_icon
 
RoutingIcon output_routing_icon
 

Protected Member Functions

virtual void setup_visuals ()
 

Protected Attributes

ArdourWidgets::ArdourButton _button
 
Gtk::VBox _vbox
 
ProcessorPosition _position
 
uint32_t _position_num
 
ProcessorBox_parent
 
PluginDisplay_plugin_display
 

Private Member Functions

void led_clicked (GdkEventButton *)
 
void processor_active_changed ()
 
void processor_property_changed (const PBD::PropertyChange &)
 
void processor_configuration_changed (const ARDOUR::ChanCount in, const ARDOUR::ChanCount out)
 
std::string name (Width) const
 
void setup_tooltip ()
 
void toggle_control_visibility (Control *)
 
void toggle_panner_link ()
 
void toggle_allow_feedback ()
 
void plugin_preset_selected (ARDOUR::Plugin::PresetRecord)
 
void plugin_preset_add ()
 
void plugin_preset_delete ()
 
void reset_plugin ()
 

Private Attributes

bool _selectable
 
bool _unknown_processor
 
bool _ignore_preset_select
 
std::shared_ptr< ARDOUR::Processor_processor
 
Width _width
 
PBD::ScopedConnection active_connection
 
PBD::ScopedConnection name_connection
 
PBD::ScopedConnection config_connection
 
ARDOUR::PluginPresetPtr _plugin_preset_pointer
 
std::list< Control * > _controls
 

Friends

class Control
 

Detailed Description

Definition at line 142 of file processor_box.h.

Member Enumeration Documentation

◆ ProcessorPosition

Enumerator
PreFader 
Fader 
PostFader 

Definition at line 159 of file processor_box.h.

Constructor & Destructor Documentation

◆ ProcessorEntry()

ProcessorEntry::ProcessorEntry ( ProcessorBox ,
std::shared_ptr< ARDOUR::Processor ,
Width   
)

◆ ~ProcessorEntry()

ProcessorEntry::~ProcessorEntry ( )

Member Function Documentation

◆ action_widget()

Gtk::EventBox& ProcessorEntry::action_widget ( )
virtual
Returns
An EventBox containing the widget that should be used for selection, dragging etc.

Implements Gtkmm2ext::DnDVBoxChild.

◆ add_control_state()

void ProcessorEntry::add_control_state ( XMLNode ) const

◆ build_controls_menu()

Gtk::Menu* ProcessorEntry::build_controls_menu ( )

◆ build_presets_menu()

Gtk::Menu* ProcessorEntry::build_presets_menu ( )

◆ build_send_options_menu()

Gtk::Menu* ProcessorEntry::build_send_options_menu ( )

◆ can_copy_state()

bool ProcessorEntry::can_copy_state ( Gtkmm2ext::DnDVBoxChild ) const
virtual

◆ drag_data_get()

bool ProcessorEntry::drag_data_get ( Glib::RefPtr< Gdk::DragContext > const  ,
Gtk::SelectionData  
)
virtual

Reimplemented from Gtkmm2ext::DnDVBoxChild.

◆ drag_text()

std::string ProcessorEntry::drag_text ( ) const
virtual
Returns
Text to use in the icon that is dragged

Implements Gtkmm2ext::DnDVBoxChild.

◆ hide_all_controls()

void ProcessorEntry::hide_all_controls ( )

◆ hide_things()

virtual void ProcessorEntry::hide_things ( )
virtual

Hide any widgets that should be hidden

Reimplemented in PluginInsertProcessorEntry.

◆ is_selectable()

bool ProcessorEntry::is_selectable ( ) const
inlinevirtual
Returns
True if the child can be selected in the list ( if you don't want it to copy/paste/drag then turn this off )

Implements Gtkmm2ext::DnDVBoxChild.

Definition at line 153 of file processor_box.h.

◆ led_clicked()

void ProcessorEntry::led_clicked ( GdkEventButton )
private

◆ name()

std::string ProcessorEntry::name ( Width  ) const
private

◆ plugin_preset_add()

void ProcessorEntry::plugin_preset_add ( )
private

◆ plugin_preset_delete()

void ProcessorEntry::plugin_preset_delete ( )
private

◆ plugin_preset_selected()

void ProcessorEntry::plugin_preset_selected ( ARDOUR::Plugin::PresetRecord  )
private

◆ processor()

std::shared_ptr<ARDOUR::Processor> ProcessorEntry::processor ( ) const

◆ processor_active_changed()

void ProcessorEntry::processor_active_changed ( )
private

◆ processor_configuration_changed()

void ProcessorEntry::processor_configuration_changed ( const ARDOUR::ChanCount  in,
const ARDOUR::ChanCount  out 
)
private

◆ processor_property_changed()

void ProcessorEntry::processor_property_changed ( const PBD::PropertyChange )
private

◆ reset_plugin()

void ProcessorEntry::reset_plugin ( )
private

◆ set_control_state()

void ProcessorEntry::set_control_state ( XMLNode const *  )

◆ set_enum_width()

void ProcessorEntry::set_enum_width ( Width  )

◆ set_position()

void ProcessorEntry::set_position ( ProcessorPosition  ,
uint32_t   
)

◆ set_selectable()

void ProcessorEntry::set_selectable ( bool  s)
inline

Definition at line 154 of file processor_box.h.

◆ set_visual_state()

void ProcessorEntry::set_visual_state ( Gtkmm2ext::VisualState  ,
bool  onoff 
)
virtual

Set the child's visual state

Implements Gtkmm2ext::DnDVBoxChild.

◆ setup_tooltip()

void ProcessorEntry::setup_tooltip ( )
private

◆ setup_visuals()

virtual void ProcessorEntry::setup_visuals ( )
protectedvirtual

◆ show_all_controls()

void ProcessorEntry::show_all_controls ( )

◆ state_id()

std::string ProcessorEntry::state_id ( ) const

◆ toggle_allow_feedback()

void ProcessorEntry::toggle_allow_feedback ( )
private

◆ toggle_control_visibility()

void ProcessorEntry::toggle_control_visibility ( Control )
private

◆ toggle_inline_display_visibility()

void ProcessorEntry::toggle_inline_display_visibility ( )

◆ toggle_panner_link()

void ProcessorEntry::toggle_panner_link ( )
private

◆ unknown_processor()

bool ProcessorEntry::unknown_processor ( ) const
inline

Definition at line 166 of file processor_box.h.

◆ widget()

Gtk::Widget& ProcessorEntry::widget ( )
virtual
Returns
The widget that is to be put into the DnDVBox

Implements Gtkmm2ext::DnDVBoxChild.

Friends And Related Function Documentation

◆ Control

friend class Control
friend

Definition at line 260 of file processor_box.h.

Member Data Documentation

◆ _button

ArdourWidgets::ArdourButton ProcessorEntry::_button
protected

Definition at line 184 of file processor_box.h.

◆ _controls

std::list<Control*> ProcessorEntry::_controls
private

Definition at line 258 of file processor_box.h.

◆ _ignore_preset_select

bool ProcessorEntry::_ignore_preset_select
private

Definition at line 195 of file processor_box.h.

◆ _parent

ProcessorBox* ProcessorEntry::_parent
protected

Definition at line 188 of file processor_box.h.

◆ _plugin_display

PluginDisplay* ProcessorEntry::_plugin_display
protected

Definition at line 400 of file processor_box.h.

◆ _plugin_preset_pointer

ARDOUR::PluginPresetPtr ProcessorEntry::_plugin_preset_pointer
private

Definition at line 208 of file processor_box.h.

◆ _position

ProcessorPosition ProcessorEntry::_position
protected

Definition at line 186 of file processor_box.h.

◆ _position_num

uint32_t ProcessorEntry::_position_num
protected

Definition at line 187 of file processor_box.h.

◆ _processor

std::shared_ptr<ARDOUR::Processor> ProcessorEntry::_processor
private

Definition at line 203 of file processor_box.h.

◆ _selectable

bool ProcessorEntry::_selectable
private

Definition at line 193 of file processor_box.h.

◆ _unknown_processor

bool ProcessorEntry::_unknown_processor
private

Definition at line 194 of file processor_box.h.

◆ _vbox

Gtk::VBox ProcessorEntry::_vbox
protected

Definition at line 185 of file processor_box.h.

◆ _width

Width ProcessorEntry::_width
private

Definition at line 204 of file processor_box.h.

◆ active_connection

PBD::ScopedConnection ProcessorEntry::active_connection
private

Definition at line 205 of file processor_box.h.

◆ config_connection

PBD::ScopedConnection ProcessorEntry::config_connection
private

Definition at line 207 of file processor_box.h.

◆ input_icon

PortIcon ProcessorEntry::input_icon

Definition at line 394 of file processor_box.h.

◆ name_connection

PBD::ScopedConnection ProcessorEntry::name_connection
private

Definition at line 206 of file processor_box.h.

◆ output_icon

PortIcon ProcessorEntry::output_icon

Definition at line 395 of file processor_box.h.

◆ output_routing_icon

RoutingIcon ProcessorEntry::output_routing_icon

Definition at line 397 of file processor_box.h.

◆ routing_icon

RoutingIcon ProcessorEntry::routing_icon

Definition at line 396 of file processor_box.h.


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