major internal plugin & processor API change:
[ardour.git] / libs / ardour / ardour / graphnode.h
index e5f2a78452f32218885683d1f361960713f2a416..aa04d9b20a0ae72666ab2747c044a9243f581bd5 100644 (file)
@@ -37,10 +37,12 @@ typedef boost::shared_ptr<GraphNode> 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> 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> _graph;
+       boost::shared_ptr<Graph> _graph;
 
        gint _refcount;
+       /** The number of nodes that we directly feed us (one count for each chain) */
        gint _init_refcount[2];
 };