summaryrefslogtreecommitdiffstats
path: root/src/engine/PatchImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-24 23:37:26 +0000
committerDavid Robillard <d@drobilla.net>2010-02-24 23:37:26 +0000
commit313af960a340f8539214d53252e3186fe3dc8f40 (patch)
tree49453be1a8f2eb9024498d1f64c3baffeb84f05b /src/engine/PatchImpl.cpp
parente853d3dfcf450f6160e19f20b6b67e251c906169 (diff)
downloadingen-313af960a340f8539214d53252e3186fe3dc8f40.tar.gz
ingen-313af960a340f8539214d53252e3186fe3dc8f40.tar.bz2
ingen-313af960a340f8539214d53252e3186fe3dc8f40.zip
Merge NodeBase and NodeImpl.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2486 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PatchImpl.cpp')
-rw-r--r--src/engine/PatchImpl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/PatchImpl.cpp b/src/engine/PatchImpl.cpp
index a7b9c699..6b31532a 100644
--- a/src/engine/PatchImpl.cpp
+++ b/src/engine/PatchImpl.cpp
@@ -39,7 +39,7 @@ using namespace Shared;
PatchImpl::PatchImpl(Engine& engine, const Raul::Symbol& symbol, uint32_t poly, PatchImpl* parent, SampleRate srate, uint32_t internal_poly)
- : NodeBase(new PatchPlugin("http://example.org/FIXME", "patch", "Ingen Patch"),
+ : NodeImpl(new PatchPlugin("http://example.org/FIXME", "patch", "Ingen Patch"),
symbol, poly, parent, srate)
, _engine(engine)
, _internal_poly(internal_poly)
@@ -62,7 +62,7 @@ PatchImpl::~PatchImpl()
void
PatchImpl::activate(BufferFactory& bufs)
{
- NodeBase::activate(bufs);
+ NodeImpl::activate(bufs);
for (List<NodeImpl*>::iterator i = _nodes.begin(); i != _nodes.end(); ++i)
(*i)->activate(bufs);
@@ -76,7 +76,7 @@ PatchImpl::deactivate()
{
if (_activated) {
- NodeBase::deactivate();
+ NodeImpl::deactivate();
for (List<NodeImpl*>::iterator i = _nodes.begin(); i != _nodes.end(); ++i) {
if ((*i)->activated())
@@ -160,7 +160,7 @@ PatchImpl::process(ProcessContext& context)
if (!_process)
return;
- NodeBase::pre_process(context);
+ NodeImpl::pre_process(context);
// Run all nodes
if (_compiled_patch && _compiled_patch->size() > 0) {
@@ -180,7 +180,7 @@ PatchImpl::process(ProcessContext& context)
}
}
- NodeBase::post_process(context);
+ NodeImpl::post_process(context);
}
@@ -263,7 +263,7 @@ PatchImpl::process_single(ProcessContext& context)
void
PatchImpl::set_buffer_size(Context& context, BufferFactory& bufs, PortType type, size_t size)
{
- NodeBase::set_buffer_size(context, bufs, type, size);
+ NodeImpl::set_buffer_size(context, bufs, type, size);
for (size_t i = 0; i < _compiled_patch->size(); ++i)
(*_compiled_patch)[i].node()->set_buffer_size(context, bufs, type, size);
@@ -349,7 +349,7 @@ PatchImpl::num_ports() const
ThreadID context = ThreadManager::current_thread_id();
if (context == THREAD_PROCESS)
- return NodeBase::num_ports();
+ return NodeImpl::num_ports();
else
return _input_ports.size() + _output_ports.size();
}