Ardour  9.0-pre0-350-gf17a656217
PluginWindowProxy Class Reference

#include <plugin_window_proxy.h>

Inheritance diagram for PluginWindowProxy:
[legend]

Public Member Functions

 PluginWindowProxy (std::string const &, std::string const &, std::weak_ptr< ARDOUR::PlugInsertBase >)
 
 ~PluginWindowProxy ()
 
Gtk::Windowget (bool create=false)
 
void show_the_right_window ()
 
ARDOUR::SessionHandlePtrsession_handle ()
 
void set_custom_ui_mode (bool use_custom)
 
int set_state (const XMLNode &, int)
 
XMLNodeget_state () const
 
std::string generate_processor_title (std::shared_ptr< ARDOUR::PlugInsertBase >)
 
- Public Member Functions inherited from WM::ProxyBase
 ProxyBase (const std::string &name, const std::string &menu_name)
 
 ProxyBase (const std::string &name, const std::string &menu_name, const XMLNode &)
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 
- 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 PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Private Member Functions

void plugin_going_away ()
 

Private Attributes

std::weak_ptr< ARDOUR::PlugInsertBase_pib
 
std::string _title
 
bool _is_custom
 
bool _want_custom
 

Additional Inherited Members

- Public Types inherited from Gtkmm2ext::WindowProxy
enum  StateMask { Position = 0x1 , Size = 0x2 }
 
- Static Public Member Functions inherited from Gtkmm2ext::WindowProxy
static std::string xml_node_name ()
 
- 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 WM::ProxyBase
void setup ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Member Functions inherited from Gtkmm2ext::WindowProxy
void save_pos_and_size ()
 
void set_pos_and_size ()
 
void set_pos ()
 
virtual bool delete_event_handler (GdkEventAny *ev)
 
virtual bool configure_handler (GdkEventConfigure *)
 
void map_handler ()
 
void unmap_handler ()
 
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 ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 
- 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
 

Detailed Description

Definition at line 37 of file plugin_window_proxy.h.

Constructor & Destructor Documentation

◆ PluginWindowProxy()

PluginWindowProxy::PluginWindowProxy ( std::string const &  ,
std::string const &  ,
std::weak_ptr< ARDOUR::PlugInsertBase  
)

◆ ~PluginWindowProxy()

PluginWindowProxy::~PluginWindowProxy ( )

Member Function Documentation

◆ generate_processor_title()

std::string PluginWindowProxy::generate_processor_title ( std::shared_ptr< ARDOUR::PlugInsertBase )

◆ get()

Gtk::Window* PluginWindowProxy::get ( bool  create = false)
virtual

◆ get_state()

XMLNode& PluginWindowProxy::get_state ( ) const
virtual

Reimplemented from Gtkmm2ext::WindowProxy.

◆ plugin_going_away()

void PluginWindowProxy::plugin_going_away ( )
private

◆ session_handle()

ARDOUR::SessionHandlePtr* PluginWindowProxy::session_handle ( )
inlinevirtual

Implements WM::ProxyBase.

Definition at line 47 of file plugin_window_proxy.h.

◆ set_custom_ui_mode()

void PluginWindowProxy::set_custom_ui_mode ( bool  use_custom)
inline

Definition at line 52 of file plugin_window_proxy.h.

◆ set_state()

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

Reimplemented from Gtkmm2ext::WindowProxy.

◆ show_the_right_window()

void PluginWindowProxy::show_the_right_window ( )

Member Data Documentation

◆ _is_custom

bool PluginWindowProxy::_is_custom
private

Definition at line 68 of file plugin_window_proxy.h.

◆ _pib

std::weak_ptr<ARDOUR::PlugInsertBase> PluginWindowProxy::_pib
private

Definition at line 65 of file plugin_window_proxy.h.

◆ _title

std::string PluginWindowProxy::_title
private

Definition at line 67 of file plugin_window_proxy.h.

◆ _want_custom

bool PluginWindowProxy::_want_custom
private

Definition at line 69 of file plugin_window_proxy.h.


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