towards export latency compensation
[ardour.git] / libs / ardour / ardour / route_graph.h
index 77e74ceafd848f5fe145ceabe470b87330a1219a..aae2ba019db5fc1b8f6b32ed1073f35f8fb61d53 100644 (file)
@@ -41,21 +41,23 @@ class LIBARDOUR_API GraphEdges
 {
 public:
        typedef std::map<GraphVertex, std::set<GraphVertex> > EdgeMap;
-       
+
        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;
        bool empty () const;
        void dump () const;
-       
+
 private:
        void insert (EdgeMap& e, GraphVertex a, GraphVertex b);
-       
+
        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;