From 6ae2018e81e7e81e4906e62dc6224ad34298d9c2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 14 Nov 2009 20:44:40 +0000 Subject: Object extension. Port resize extension. Sensible extension(s) implementation design for Ingen. Replace string port extension support in Ingen with Object port extension. Implement port resize extension in Ingen. Some test plugins for this stuff. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2260 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/NodeImpl.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/engine/NodeImpl.hpp') diff --git a/src/engine/NodeImpl.hpp b/src/engine/NodeImpl.hpp index 7f3e243a..67ab0898 100644 --- a/src/engine/NodeImpl.hpp +++ b/src/engine/NodeImpl.hpp @@ -33,6 +33,7 @@ class PluginImpl; class PatchImpl; class PortImpl; class MessageContext; +class ProcessContext; /** A Node (or "module") in a Patch (which is also a Node). @@ -112,7 +113,16 @@ public: /** Run the node for one instant in the message thread. */ - virtual void message_process(MessageContext& context, uint32_t* ins, uint32_t* outs) = 0; + virtual void message_run(MessageContext& context) = 0; + + /** Flag a port as valid (for message context) */ + virtual void set_port_valid(uint32_t index) = 0; + + /** Return a bit vector of which ports are valid */ + virtual void* valid_ports() = 0; + + /** Clear all bits in valid_ports() */ + virtual void reset_valid_ports() = 0; /** Run the node for @a nframes input/output. * -- cgit v1.2.1