+ PortGroupList ();
+ ~PortGroupList();
+
+ typedef std::vector<boost::shared_ptr<PortGroup> > List;
+
+ void add_group (boost::shared_ptr<PortGroup>);
+ void add_group_if_not_empty (boost::shared_ptr<PortGroup>);
+ void gather (ARDOUR::Session *, ARDOUR::DataType, bool, bool, bool);
+ PortGroup::BundleList const & bundles () const;
+ void clear ();
+ void remove_bundle (boost::shared_ptr<ARDOUR::Bundle>);
+ ARDOUR::ChanCount total_channels () const;
+ uint32_t size () const {
+ return _groups.size();
+ }
+ boost::shared_ptr<ARDOUR::IO> io_from_bundle (boost::shared_ptr<ARDOUR::Bundle>) const;
+
+ void suspend_signals ();
+ void resume_signals ();
+
+ List::const_iterator begin () const {
+ return _groups.begin ();
+ }
+
+ List::const_iterator end () const {
+ return _groups.end ();
+ }
+
+ bool empty () const;