Ardour  8.12
plugin_dspload_window.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Robin Gareus <robin@gareus.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef __ardour_plugin_dspload_window_h__
20 #define __ardour_plugin_dspload_window_h__
21 
22 #include <memory>
23 
24 #include <gtkmm/box.h>
25 #include <gtkmm/scrolledwindow.h>
26 
27 #include "widgets/ardour_button.h"
28 #include "pbd/signals.h"
29 
30 #include "ardour_window.h"
31 
32 namespace ARDOUR {
33  class Processor;
34  class PlugInsertBase;
35 }
36 
37 class PluginLoadStatsGui;
38 
40 {
41 public:
44 
46 
47 protected:
49 
50  void on_show ();
51  void on_hide ();
52 
53 private:
55  void drop_references ();
56  void clear_all_stats ();
57  void sort_by_stats (bool);
58  void add_processor_to_display (std::weak_ptr<ARDOUR::Processor>, std::string const&);
59  void add_pluginsert_to_display (std::shared_ptr<ARDOUR::PlugInsertBase>, std::string const&);
60  void clear_processor_stats (std::weak_ptr<ARDOUR::Processor>);
61  void clear_pluginsert_stats (std::shared_ptr<ARDOUR::PlugInsertBase>);
62 
69 
72 };
73 #endif
74 
void sort_by_stats(bool)
ArdourWidgets::ArdourButton _sort_avg_button
Gtk::ScrolledWindow _scroller
void clear_processor_stats(std::weak_ptr< ARDOUR::Processor >)
PBD::ScopedConnectionList _route_connections
ArdourWidgets::ArdourButton _sort_max_button
void clear_pluginsert_stats(std::shared_ptr< ARDOUR::PlugInsertBase >)
void set_session(ARDOUR::Session *)
ArdourWidgets::ArdourButton _reset_button
void on_hide()
This is a default handler for the signal signal_hide().
void add_pluginsert_to_display(std::shared_ptr< ARDOUR::PlugInsertBase >, std::string const &)
void on_show()
This is a default handler for the signal signal_show().
PBD::ScopedConnectionList _processor_connections
void add_processor_to_display(std::weak_ptr< ARDOUR::Processor >, std::string const &)