21 #ifndef __gtk_ardour_port_group_h__
22 #define __gtk_ardour_port_group_h__
56 void add_bundle (std::shared_ptr<ARDOUR::Bundle>,
bool allow_dups =
false);
57 void add_bundle (std::shared_ptr<ARDOUR::Bundle>, std::shared_ptr<ARDOUR::IO> io);
63 std::shared_ptr<ARDOUR::IO>
io_from_bundle (std::shared_ptr<ARDOUR::Bundle>)
const;
77 std::shared_ptr<ARDOUR::Bundle>
bundle;
80 std::weak_ptr<ARDOUR::IO>
io;
108 typedef std::vector<std::shared_ptr<PortGroup> >
List;
120 std::shared_ptr<ARDOUR::IO>
io_from_bundle (std::shared_ptr<ARDOUR::Bundle>)
const;
125 List::const_iterator
begin ()
const {
129 List::const_iterator
end ()
const {
149 void maybe_add_processor_to_list (std::weak_ptr<ARDOUR::Processor>, std::list<std::shared_ptr<ARDOUR::IO> > *,
bool, std::set<std::shared_ptr<ARDOUR::IO> > &);
PBD::Signal0< void > Changed
std::shared_ptr< ARDOUR::IO > io_from_bundle(std::shared_ptr< ARDOUR::Bundle >) const
void emit_bundle_changed(ARDOUR::Bundle::Change)
void add_bundles_for_ports(std::vector< std::string > const &, ARDOUR::DataType, bool, bool, std::shared_ptr< PortGroup >) const
PBD::ScopedConnectionList _bundle_changed_connections
List::const_iterator end() const
void add_group_if_not_empty(std::shared_ptr< PortGroup >)
void maybe_add_processor_to_list(std::weak_ptr< ARDOUR::Processor >, std::list< std::shared_ptr< ARDOUR::IO > > *, bool, std::set< std::shared_ptr< ARDOUR::IO > > &)
std::vector< std::shared_ptr< PortGroup > > List
std::string common_prefix(std::vector< std::string > const &) const
ARDOUR::Bundle::Change _pending_bundle_change
PBD::ScopedConnectionList _changed_connections
PortGroup::BundleList _bundles
std::string common_prefix_before(std::vector< std::string > const &, std::string const &) const
List::const_iterator begin() const
void remove_bundle(std::shared_ptr< ARDOUR::Bundle >)
void add_group(std::shared_ptr< PortGroup >)
PortGroup::BundleList const & bundles() const
bool port_has_prefix(std::string const &, std::string const &) const
ARDOUR::ChanCount total_channels() const
PBD::Signal1< void, ARDOUR::Bundle::Change > BundleChanged
void gather(ARDOUR::Session *, ARDOUR::DataType, bool, bool, bool)
std::shared_ptr< ARDOUR::Bundle > make_bundle_from_ports(std::vector< std::string > const &, ARDOUR::DataType, bool, std::string const &bundle_name=std::string()) const
void add_bundle_internal(std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO >, bool, Gdk::Color, bool)
std::shared_ptr< ARDOUR::Bundle > only_bundle()
std::string name
name for the group
ARDOUR::ChanCount total_channels() const
std::list< BundleRecord * > BundleList
void remove_bundle(std::shared_ptr< ARDOUR::Bundle >)
void add_bundle(std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO > io)
void bundle_changed(ARDOUR::Bundle::Change)
std::shared_ptr< ARDOUR::IO > io_from_bundle(std::shared_ptr< ARDOUR::Bundle >) const
PBD::Signal0< void > Changed
void add_bundle(std::shared_ptr< ARDOUR::Bundle >, bool allow_dups=false)
PortGroup(std::string const &n)
PBD::Signal1< void, ARDOUR::Bundle::Change > BundleChanged
bool has_port(std::string const &) const
BundleList const & bundles() const
void add_bundle(std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO >, Gdk::Color)
Representation of the interface of the Editor class.
std::shared_ptr< ARDOUR::Bundle > bundle
std::weak_ptr< ARDOUR::IO > io
PBD::ScopedConnection changed_connection
BundleRecord(std::shared_ptr< ARDOUR::Bundle >, std::shared_ptr< ARDOUR::IO >, Gdk::Color, bool has_colour)