Ardour  8.12
route_processor_selection.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2009 David Robillard <d@drobilla.net>
3  * Copyright (C) 2007-2017 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2016-2017 Robin Gareus <robin@gareus.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef __ardour_gtk_route_processor_selection_h__
22 #define __ardour_gtk_route_processor_selection_h__
23 
24 #include <vector>
25 #include "pbd/signals.h"
26 
27 #include "processor_selection.h"
28 #include "route_ui_selection.h"
29 
30 namespace ARDOUR {
31  class SessionHandlePtr;
32 }
33 
34 class AxisViewProvider;
35 
37 {
38 public:
40 
42 
43  void clear ();
44  bool empty();
45 
46  void set (AxisView*);
47  void add (AxisView*, bool with_groups = false);
48  void remove (AxisView*, bool with_groups = false);
49  bool selected (AxisView*);
50 
51  void clear_routes ();
52 
53  void presentation_info_changed (PBD::PropertyChange const & what_changed);
54 
55 private:
58  void removed (AxisView*);
59 
62 };
63 
65 
66 #endif /* __ardour_gtk_route_processor_selection_h__ */
bool operator==(const Color &lhs, const Color &rhs)
void set(AxisView *)
RouteProcessorSelection & operator=(const RouteProcessorSelection &other)
ARDOUR::SessionHandlePtr & shp
void presentation_info_changed(PBD::PropertyChange const &what_changed)
bool selected(AxisView *)
RouteProcessorSelection(ARDOUR::SessionHandlePtr &, AxisViewProvider &)
void removed(AxisView *)
RouteProcessorSelection(RouteProcessorSelection const &)
void add(AxisView *, bool with_groups=false)
void remove(AxisView *, bool with_groups=false)