summaryrefslogtreecommitdiffstats
path: root/src/common/interface/ClientInterface.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-15 20:46:26 +0000
committerDavid Robillard <d@drobilla.net>2006-10-15 20:46:26 +0000
commit4174fb8f94139e0a38da150ffb0874b636497dfe (patch)
tree7170dd4b13ee0fe42c67aeabeef3f95437f146b2 /src/common/interface/ClientInterface.h
parent14542a4634cb211be5bdf590574ae3b8e1715486 (diff)
downloadingen-4174fb8f94139e0a38da150ffb0874b636497dfe.tar.gz
ingen-4174fb8f94139e0a38da150ffb0874b636497dfe.tar.bz2
ingen-4174fb8f94139e0a38da150ffb0874b636497dfe.zip
Fixed feedback problems (CPU chewing) with port controls.
git-svn-id: http://svn.drobilla.net/lad/ingen@176 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface/ClientInterface.h')
-rw-r--r--src/common/interface/ClientInterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/interface/ClientInterface.h b/src/common/interface/ClientInterface.h
index 9ff19609..033021b1 100644
--- a/src/common/interface/ClientInterface.h
+++ b/src/common/interface/ClientInterface.h
@@ -38,6 +38,13 @@ public:
virtual void response(int32_t id, bool success, string msg) = 0;
+ virtual void enable() = 0;
+
+ /** Signifies the client does not wish to receive any messages until
+ * enable is called. Useful for performance and avoiding feedback.
+ */
+ virtual void disable() = 0;
+
/** Bundles are a group of messages that are guaranteed to be in an
* atomic unit with guaranteed order (eg a packet). For datagram
* protocols (like UDP) there is likely an upper limit on bundle size.