summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-15 17:50:17 +0000
committerDavid Robillard <d@drobilla.net>2012-08-15 17:50:17 +0000
commitf2abde60ca210ca3cbaa019b351c1cb22e4c1d1c (patch)
treeb87fa7dbe4b74d801f99e4a4858c4d7d8d69b670 /src/server/events
parenta3d2709ee6f9595137df0865f857e0a90dd3a585 (diff)
downloadingen-f2abde60ca210ca3cbaa019b351c1cb22e4c1d1c.tar.gz
ingen-f2abde60ca210ca3cbaa019b351c1cb22e4c1d1c.tar.bz2
ingen-f2abde60ca210ca3cbaa019b351c1cb22e4c1d1c.zip
Rewrite Raul::Maid and eliminate Raul:List.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4702 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Connect.cpp4
-rw-r--r--src/server/events/CreateNode.cpp2
-rw-r--r--src/server/events/CreatePatch.cpp2
-rw-r--r--src/server/events/Delete.cpp4
-rw-r--r--src/server/events/Delta.cpp2
-rw-r--r--src/server/events/Disconnect.cpp4
-rw-r--r--src/server/events/DisconnectAll.cpp2
7 files changed, 10 insertions, 10 deletions
diff --git a/src/server/events/Connect.cpp b/src/server/events/Connect.cpp
index f3a736ad..2403b327 100644
--- a/src/server/events/Connect.cpp
+++ b/src/server/events/Connect.cpp
@@ -144,9 +144,9 @@ Connect::execute(ProcessContext& context)
{
if (!_status) {
_head->add_edge(context, _edge.get());
- _engine.maid()->push(_head->set_buffers(context, _buffers));
+ _engine.maid()->dispose(_head->set_buffers(context, _buffers));
_head->connect_buffers();
- _engine.maid()->push(_patch->compiled_patch());
+ _engine.maid()->dispose(_patch->compiled_patch());
_patch->compiled_patch(_compiled_patch);
}
}
diff --git a/src/server/events/CreateNode.cpp b/src/server/events/CreateNode.cpp
index 02902db5..ca2be305 100644
--- a/src/server/events/CreateNode.cpp
+++ b/src/server/events/CreateNode.cpp
@@ -124,7 +124,7 @@ void
CreateNode::execute(ProcessContext& context)
{
if (_node) {
- _engine.maid()->push(_patch->compiled_patch());
+ _engine.maid()->dispose(_patch->compiled_patch());
_patch->compiled_patch(_compiled_patch);
}
}
diff --git a/src/server/events/CreatePatch.cpp b/src/server/events/CreatePatch.cpp
index 25f90d5d..4f14ade5 100644
--- a/src/server/events/CreatePatch.cpp
+++ b/src/server/events/CreatePatch.cpp
@@ -105,7 +105,7 @@ CreatePatch::execute(ProcessContext& context)
if (_patch) {
assert(_parent);
assert(!_path.is_root());
- _engine.maid()->push(_parent->compiled_patch());
+ _engine.maid()->dispose(_parent->compiled_patch());
_parent->compiled_patch(_compiled_patch);
}
}
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index e7001287..d2e3e58e 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -124,7 +124,7 @@ Delete::execute(ProcessContext& context)
PatchImpl* parent = _node ? _node->parent_patch() : _port->parent_patch();
if (_port) {
- _engine.maid()->push(parent->external_ports());
+ _engine.maid()->dispose(parent->external_ports());
parent->external_ports(_ports_array);
if (_engine_port) {
@@ -133,7 +133,7 @@ Delete::execute(ProcessContext& context)
}
if (parent) {
- _engine.maid()->push(parent->compiled_patch());
+ _engine.maid()->dispose(parent->compiled_patch());
parent->compiled_patch(_compiled_patch);
}
}
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp
index 41ff8f8b..17ef8d45 100644
--- a/src/server/events/Delta.cpp
+++ b/src/server/events/Delta.cpp
@@ -287,7 +287,7 @@ Delta::execute(ProcessContext& context)
case ENABLE:
if (value.get_bool()) {
if (_compiled_patch) {
- _engine.maid()->push(_patch->compiled_patch());
+ _engine.maid()->dispose(_patch->compiled_patch());
_patch->compiled_patch(_compiled_patch);
}
_patch->enable();
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp
index 1726846a..5b756d84 100644
--- a/src/server/events/Disconnect.cpp
+++ b/src/server/events/Disconnect.cpp
@@ -182,7 +182,7 @@ Disconnect::Impl::execute(ProcessContext& context, bool set_dst_buffers)
if (set_dst_buffers) {
if (_buffers) {
- _engine.maid()->push(_dst_input_port->set_buffers(context, _buffers));
+ _engine.maid()->dispose(_dst_input_port->set_buffers(context, _buffers));
} else {
_dst_input_port->setup_buffers(*_engine.buffer_factory(),
_dst_input_port->poly(),
@@ -208,7 +208,7 @@ Disconnect::execute(ProcessContext& context)
return;
}
- _engine.maid()->push(_patch->compiled_patch());
+ _engine.maid()->dispose(_patch->compiled_patch());
_patch->compiled_patch(_compiled_patch);
}
}
diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp
index 417b6154..693c8784 100644
--- a/src/server/events/DisconnectAll.cpp
+++ b/src/server/events/DisconnectAll.cpp
@@ -153,7 +153,7 @@ DisconnectAll::execute(ProcessContext& context)
}
}
- _engine.maid()->push(_parent->compiled_patch());
+ _engine.maid()->dispose(_parent->compiled_patch());
_parent->compiled_patch(_compiled_patch);
}