19 #ifndef __ardour_io_vector_h__
20 #define __ardour_io_vector_h__
29 class IOVector :
public std::vector<std::weak_ptr<ARDOUR::IO> >
33 bool connected_to (
const IOVector& other)
const {
34 for (IOVector::const_iterator i = other.begin(); i != other.end(); ++i) {
35 std::shared_ptr<const IO> io = i->lock();
37 if (connected_to (io)) {
44 bool connected_to (std::shared_ptr<const IO> other)
const {
45 for (IOVector::const_iterator i = begin(); i != end(); ++i) {
46 std::shared_ptr<const IO> io = i->lock();
48 if (io->connected_to (other)) {
56 bool fed_by (std::shared_ptr<const IO> other)
const {
57 for (IOVector::const_iterator i = begin(); i != end(); ++i) {
58 std::shared_ptr<const IO> io = i->lock();
60 if (other->connected_to (io)) {
bool fed_by(std::shared_ptr< const IO > other) const