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 --- include/ingen/CommonInterface.hpp | 3 +++ include/ingen/EngineInterface.hpp | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'include/ingen') diff --git a/include/ingen/CommonInterface.hpp b/include/ingen/CommonInterface.hpp index c42a3eea..f67f1d13 100644 --- a/include/ingen/CommonInterface.hpp +++ b/include/ingen/CommonInterface.hpp @@ -60,6 +60,9 @@ public: virtual void disconnect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path) = 0; + virtual void disconnect_all(const Raul::Path& parent_patch_path, + const Raul::Path& path) = 0; + virtual void set_property(const Raul::URI& subject, const Raul::URI& predicate, const Raul::Atom& value) = 0; diff --git a/include/ingen/EngineInterface.hpp b/include/ingen/EngineInterface.hpp index 357ca46b..301a675b 100644 --- a/include/ingen/EngineInterface.hpp +++ b/include/ingen/EngineInterface.hpp @@ -46,11 +46,6 @@ public: virtual void register_client(ClientInterface* client) = 0; virtual void unregister_client(const Raul::URI& uri) = 0; - // Object commands - - virtual void disconnect_all(const Raul::Path& parent_patch_path, - const Raul::Path& path) = 0; - // Requests virtual void ping() = 0; -- cgit v1.2.1