summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-28 07:13:36 +0000
committerDavid Robillard <d@drobilla.net>2008-09-28 07:13:36 +0000
commit97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f (patch)
tree10cffdb4faa3a0faf6e71442ccef3a02bed1fbbf /src/libs/engine/NodeImpl.hpp
parenta4d89248bfaef3af884a1d98f3de182b55726399 (diff)
downloadingen-97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f.tar.gz
ingen-97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f.tar.bz2
ingen-97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f.zip
Update contexts extension.
Update bang plugin and fix UI building (UI instantiates in ingen again). Stubs for a message thread implementation in ingen. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1525 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/NodeImpl.hpp')
-rw-r--r--src/libs/engine/NodeImpl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/engine/NodeImpl.hpp b/src/libs/engine/NodeImpl.hpp
index 3c6c95f3..ac125c13 100644
--- a/src/libs/engine/NodeImpl.hpp
+++ b/src/libs/engine/NodeImpl.hpp
@@ -36,6 +36,7 @@ class Buffer;
class PluginImpl;
class PatchImpl;
class PortImpl;
+class MessageContext;
/** A Node (or "module") in a Patch (which is also a Node).
@@ -112,6 +113,10 @@ public:
/** Parallelism: Return the number of providers that have signalled.
*/
virtual unsigned n_inputs_ready() const = 0;
+
+ /** Run the node for one instant in the message thread.
+ */
+ virtual void message_process(MessageContext& context, uint32_t* output) = 0;
/** Run the node for @a nframes input/output.
*