diff options
author | David Robillard <d@drobilla.net> | 2006-10-15 20:46:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-15 20:46:26 +0000 |
commit | 4174fb8f94139e0a38da150ffb0874b636497dfe (patch) | |
tree | 7170dd4b13ee0fe42c67aeabeef3f95437f146b2 /src/common/interface | |
parent | 14542a4634cb211be5bdf590574ae3b8e1715486 (diff) | |
download | ingen-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')
-rw-r--r-- | src/common/interface/ClientInterface.h | 7 |
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. |