X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Froute_graph.h;h=aae2ba019db5fc1b8f6b32ed1073f35f8fb61d53;hb=7a524285385d4581ad3f1e085629379e32f82fda;hp=e1e1049cd6562d01b20d892ba53c85a9601d9041;hpb=22b07e0233a29d9633ffa825a79503befaf2e16e;p=ardour.git diff --git a/libs/ardour/ardour/route_graph.h b/libs/ardour/ardour/route_graph.h index e1e1049cd6..aae2ba019d 100644 --- a/libs/ardour/ardour/route_graph.h +++ b/libs/ardour/ardour/route_graph.h @@ -44,6 +44,7 @@ public: void add (GraphVertex from, GraphVertex to, bool via_sends_only); bool has (GraphVertex from, GraphVertex to, bool* via_sends_only); + bool feeds (GraphVertex from, GraphVertex to); std::set from (GraphVertex r) const; void remove (GraphVertex from, GraphVertex to); bool has_none_to (GraphVertex to) const; @@ -56,6 +57,7 @@ private: typedef std::multimap > EdgeMapWithSends; EdgeMapWithSends::iterator find_in_from_to_with_sends (GraphVertex, GraphVertex); + EdgeMapWithSends::iterator find_recursively_in_from_to_with_sends (GraphVertex, GraphVertex); /** map of edges with from as `first' and to as `second' */ EdgeMap _from_to;