summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/route_graph.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-06 02:00:17 +0200
committerRobin Gareus <robin@gareus.org>2016-04-06 02:00:17 +0200
commit45019517d7d01d4af974bf0c9ab0a11dec233abb (patch)
tree10b9093bbadf8e848f13161aa100486aba96d7be /libs/ardour/ardour/route_graph.h
parentaa2f94647633004dbcf5d7edc41397289a4ee5ff (diff)
Add an API to traverse the process graph downstream
Diffstat (limited to 'libs/ardour/ardour/route_graph.h')
-rw-r--r--libs/ardour/ardour/route_graph.h2
1 files changed, 2 insertions, 0 deletions
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<GraphVertex> 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<GraphVertex, std::pair<GraphVertex, bool> > 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;