ardour
Public Member Functions | Private Attributes | Friends | List of all members
ARDOUR::GraphNode Class Reference

#include <graphnode.h>

Inheritance diagram for ARDOUR::GraphNode:
ARDOUR::Route ARDOUR::Track ARDOUR::AudioTrack ARDOUR::Auditioner ARDOUR::MidiTrack

Public Member Functions

 GraphNode (boost::shared_ptr< Graph > Graph)
 
virtual ~GraphNode ()
 
void prep (int chain)
 
void dec_ref ()
 
void finish (int chain)
 
virtual void process ()
 

Private Attributes

node_set_t _activation_set [2]
 
boost::shared_ptr< Graph_graph
 
gint _refcount
 
gint _init_refcount [2]
 

Friends

class Graph
 

Detailed Description

A node on our processing graph, ie a Route

Definition at line 41 of file graphnode.h.

Constructor & Destructor Documentation

GraphNode::GraphNode ( boost::shared_ptr< Graph Graph)

Definition at line 27 of file graphnode.cc.

GraphNode::~GraphNode ( )
virtual

Definition at line 32 of file graphnode.cc.

Member Function Documentation

void GraphNode::dec_ref ( )

Called by another node to tell us that one of the nodes that feed us has been processed.

Definition at line 47 of file graphnode.cc.

void GraphNode::finish ( int  chain)

Definition at line 58 of file graphnode.cc.

void GraphNode::prep ( int  chain)

Definition at line 37 of file graphnode.cc.

void GraphNode::process ( )
virtual

Definition at line 77 of file graphnode.cc.

Friends And Related Function Documentation

friend class Graph
friend

Definition at line 54 of file graphnode.h.

Member Data Documentation

node_set_t ARDOUR::GraphNode::_activation_set[2]
private

Nodes that we directly feed

Definition at line 57 of file graphnode.h.

boost::shared_ptr<Graph> ARDOUR::GraphNode::_graph
private

Definition at line 59 of file graphnode.h.

gint ARDOUR::GraphNode::_init_refcount[2]
private

The number of nodes that we directly feed us (one count for each chain)

Definition at line 63 of file graphnode.h.

gint ARDOUR::GraphNode::_refcount
private

Definition at line 61 of file graphnode.h.


The documentation for this class was generated from the following files: