20 #ifndef __gtk_ardour_port_group_h__
21 #define __gtk_ardour_port_group_h__
26 #include <boost/shared_ptr.hpp>
29 #include <gtkmm/widget.h>
30 #include <gtkmm/checkbutton.h>
66 bool has_port (std::string
const &)
const;
106 typedef std::vector<boost::shared_ptr<PortGroup> >
List;
123 List::const_iterator
begin ()
const {
127 List::const_iterator
end ()
const {
141 std::string
common_prefix (std::vector<std::string>
const &)
const;
PBD::Signal1< void, ARDOUR::Bundle::Change > BundleChanged
List::const_iterator begin() const
boost::shared_ptr< ARDOUR::Bundle > bundle
void remove_bundle(boost::shared_ptr< ARDOUR::Bundle >)
void gather(ARDOUR::Session *, ARDOUR::DataType, bool, bool, bool)
void add_bundle_internal(boost::shared_ptr< ARDOUR::Bundle >, boost::shared_ptr< ARDOUR::IO >, bool, Gdk::Color, bool)
PBD::ScopedConnectionList _changed_connections
boost::shared_ptr< ARDOUR::Bundle > make_bundle_from_ports(std::vector< std::string > const &, ARDOUR::DataType, bool) const
boost::weak_ptr< ARDOUR::IO > io
std::list< BundleRecord * > BundleList
Representation of the interface of the Editor class.
std::string name
name for the group
void emit_bundle_changed(ARDOUR::Bundle::Change)
PortGroup::BundleList _bundles
void add_group(boost::shared_ptr< PortGroup >)
boost::shared_ptr< ARDOUR::IO > io_from_bundle(boost::shared_ptr< ARDOUR::Bundle >) const
PBD::ScopedConnectionList _bundle_changed_connections
List::const_iterator end() const
std::string common_prefix_before(std::vector< std::string > const &, std::string const &) const
BundleList const & bundles() const
PBD::Signal0< void > Changed
std::string common_prefix(std::vector< std::string > const &) const
void add_bundle(boost::shared_ptr< ARDOUR::Bundle >, bool allow_dups=false)
void maybe_add_processor_to_list(boost::weak_ptr< ARDOUR::Processor >, std::list< boost::shared_ptr< ARDOUR::IO > > *, bool, std::set< boost::shared_ptr< ARDOUR::IO > > &)
std::vector< boost::shared_ptr< PortGroup > > List
bool port_has_prefix(std::string const &, std::string const &) const
PortGroup::BundleList const & bundles() const
PBD::Signal0< void > Changed
boost::shared_ptr< ARDOUR::IO > io_from_bundle(boost::shared_ptr< ARDOUR::Bundle >) const
ARDOUR::ChanCount total_channels() const
ARDOUR::Bundle::Change _pending_bundle_change
PBD::Signal1< void, ARDOUR::Bundle::Change > BundleChanged
ARDOUR::ChanCount total_channels() const
void bundle_changed(ARDOUR::Bundle::Change)
PortGroup(std::string const &n)
PBD::ScopedConnection changed_connection
boost::shared_ptr< ARDOUR::Bundle > only_bundle()
void add_group_if_not_empty(boost::shared_ptr< PortGroup >)
BundleRecord(boost::shared_ptr< ARDOUR::Bundle >, boost::shared_ptr< ARDOUR::IO >, Gdk::Color, bool has_colour)
bool has_port(std::string const &) const
void remove_bundle(boost::shared_ptr< ARDOUR::Bundle >)