summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/CompiledPatch.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-07 18:14:01 +0000
committerDavid Robillard <d@drobilla.net>2007-10-07 18:14:01 +0000
commit299f075679fc7ea6a67001c2cc0442511e167cbc (patch)
tree1fa210526bb92ceafa057b423e466686d55d00bd /src/libs/engine/CompiledPatch.hpp
parent91031b8f5a4bf86b39e4c4a02412a16e247f8b15 (diff)
downloadingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.gz
ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.tar.bz2
ingen-299f075679fc7ea6a67001c2cc0442511e167cbc.zip
Shared abstract Node interface.
git-svn-id: http://svn.drobilla.net/lad/ingen@835 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/CompiledPatch.hpp')
-rw-r--r--src/libs/engine/CompiledPatch.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/CompiledPatch.hpp b/src/libs/engine/CompiledPatch.hpp
index 953d94d6..9ca1d6e9 100644
--- a/src/libs/engine/CompiledPatch.hpp
+++ b/src/libs/engine/CompiledPatch.hpp
@@ -34,25 +34,25 @@ namespace Ingen {
/** All information required about a node to execute it in an audio thread.
*/
struct CompiledNode {
- CompiledNode(Node* n, size_t np, List<Node*>* d)
+ CompiledNode(NodeImpl* n, size_t np, List<NodeImpl*>* d)
: _node(n), _n_providers(np)
{
// Copy to a vector for maximum iteration speed and cache optimization
// (Need to take a copy anyway)
_dependants.reserve(d->size());
- for (List<Node*>::iterator i = d->begin(); i != d->end(); ++i)
+ for (List<NodeImpl*>::iterator i = d->begin(); i != d->end(); ++i)
_dependants.push_back(*i);
}
- Node* node() const { return _node; }
- size_t n_providers() const { return _n_providers; }
- const vector<Node*>& dependants() const { return _dependants; }
+ NodeImpl* node() const { return _node; }
+ size_t n_providers() const { return _n_providers; }
+ const vector<NodeImpl*>& dependants() const { return _dependants; }
private:
- Node* _node;
- size_t _n_providers; ///< Number of input ready signals to trigger run
- vector<Node*> _dependants; ///< Nodes this one's output ports are connected to
+ NodeImpl* _node;
+ size_t _n_providers; ///< Number of input ready signals to trigger run
+ vector<NodeImpl*> _dependants; ///< Nodes this one's output ports are connected to
};