X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fgraphnode.h;h=aa04d9b20a0ae72666ab2747c044a9243f581bd5;hb=e9a8ccc7e2826d8fe91eff34ee8a0683a7f7aac6;hp=e5f2a78452f32218885683d1f361960713f2a416;hpb=357cf39470e485415aeee8270fe3a786cb0b6ec6;p=ardour.git diff --git a/libs/ardour/ardour/graphnode.h b/libs/ardour/ardour/graphnode.h index e5f2a78452..aa04d9b20a 100644 --- a/libs/ardour/ardour/graphnode.h +++ b/libs/ardour/ardour/graphnode.h @@ -37,10 +37,12 @@ typedef boost::shared_ptr node_ptr_t; typedef std::set< node_ptr_t > node_set_t; typedef std::list< node_ptr_t > node_list_t; -class GraphNode +/** A node on our processing graph, ie a Route */ +class LIBARDOUR_API GraphNode { public: GraphNode( boost::shared_ptr Graph ); + virtual ~GraphNode(); void prep( int chain ); void dec_ref(); @@ -51,11 +53,13 @@ class GraphNode private: friend class Graph; + /** Nodes that we directly feed */ node_set_t _activation_set[2]; - boost::shared_ptr _graph; + boost::shared_ptr _graph; gint _refcount; + /** The number of nodes that we directly feed us (one count for each chain) */ gint _init_refcount[2]; };