summaryrefslogtreecommitdiffstats
path: root/src/server/events/Disconnect.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 20:41:08 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 20:41:08 +0000
commit4ce6781bd6727fca68d4c99337f47a75d849e5ab (patch)
tree8b7fe459778b0a0e7452e3b593c8c77cdcf3d191 /src/server/events/Disconnect.cpp
parent6e416be77892b960bb429cab11cd4effce0033e1 (diff)
downloadingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.tar.gz
ingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.tar.bz2
ingen-4ce6781bd6727fca68d4c99337f47a75d849e5ab.zip
Merge QueuedEvent into Event.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3569 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events/Disconnect.cpp')
-rw-r--r--src/server/events/Disconnect.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp
index 5a6d53e8..5fc723b5 100644
--- a/src/server/events/Disconnect.cpp
+++ b/src/server/events/Disconnect.cpp
@@ -48,7 +48,7 @@ Disconnect::Disconnect(Engine& engine,
SampleCount timestamp,
const Raul::Path& src_port_path,
const Raul::Path& dst_port_path)
- : QueuedEvent(engine, request, timestamp)
+ : Event(engine, request, timestamp)
, _src_port_path(src_port_path)
, _dst_port_path(dst_port_path)
, _patch(NULL)
@@ -119,7 +119,7 @@ Disconnect::pre_process()
&& _src_port_path.parent() != _dst_port_path.parent().parent()
&& _src_port_path.parent().parent() != _dst_port_path.parent()) {
_error = PARENT_PATCH_DIFFERENT;
- QueuedEvent::pre_process();
+ Event::pre_process();
return;
}
@@ -128,7 +128,7 @@ Disconnect::pre_process()
if (_src_port == NULL || _dst_port == NULL) {
_error = PORT_NOT_FOUND;
- QueuedEvent::pre_process();
+ Event::pre_process();
return;
}
@@ -157,13 +157,13 @@ Disconnect::pre_process()
if (!_patch->has_connection(_src_port, _dst_port)) {
_error = NOT_CONNECTED;
- QueuedEvent::pre_process();
+ Event::pre_process();
return;
}
if (src_node == NULL || dst_node == NULL) {
_error = PARENTS_NOT_FOUND;
- QueuedEvent::pre_process();
+ Event::pre_process();
return;
}
@@ -175,7 +175,7 @@ Disconnect::pre_process()
if (_patch->enabled())
_compiled_patch = _patch->compile();
- QueuedEvent::pre_process();
+ Event::pre_process();
}
bool
@@ -210,7 +210,7 @@ Disconnect::Impl::execute(ProcessContext& context, bool set_dst_buffers)
void
Disconnect::execute(ProcessContext& context)
{
- QueuedEvent::execute(context);
+ Event::execute(context);
if (_error == NO_ERROR) {
if (!_impl->execute(context, true)) {