From 97c3b4ba12052b47ec41dc6aded5f1fc84e67c8f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 28 Sep 2008 07:13:36 +0000 Subject: 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 --- src/libs/engine/NodeImpl.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libs/engine/NodeImpl.hpp') 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. * -- cgit v1.2.1