From 1119a2c71a5f6b4e23ac0a19784705002ca9cefd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Apr 2011 03:30:03 +0000 Subject: Move disconnect_all to CommonInterface and implement in clients. Factor out process thread implementation of Disconnect into Disconnect::Impl. Implement DisconnectAll in terms of DisconnectImpl rather than abusing Disconnect. Dramatically reduce notification communication overhead of DisconnectAll. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3179 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/DisconnectAll.hpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/engine/events/DisconnectAll.hpp') diff --git a/src/engine/events/DisconnectAll.hpp b/src/engine/events/DisconnectAll.hpp index ee8fbade..65c9599f 100644 --- a/src/engine/events/DisconnectAll.hpp +++ b/src/engine/events/DisconnectAll.hpp @@ -20,6 +20,8 @@ #include "raul/List.hpp" #include "raul/Path.hpp" + +#include "Disconnect.hpp" #include "QueuedEvent.hpp" namespace Ingen { @@ -69,16 +71,17 @@ private: void remove_connection(ConnectionImpl* c); - Raul::Path _parent_path; - Raul::Path _path; - PatchImpl* _parent; - NodeImpl* _node; - PortImpl* _port; - Raul::List _disconnect_events; + Raul::Path _parent_path; + Raul::Path _path; + PatchImpl* _parent; + NodeImpl* _node; + PortImpl* _port; + + Raul::List _disconnect_events; CompiledPatch* _compiled_patch; ///< New process order for Patch - bool _deleting; + bool _deleting; }; } // namespace Engine -- cgit v1.2.1