summaryrefslogtreecommitdiffstats
path: root/src/engine/NodeImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-11-14 20:44:40 +0000
committerDavid Robillard <d@drobilla.net>2009-11-14 20:44:40 +0000
commit6ae2018e81e7e81e4906e62dc6224ad34298d9c2 (patch)
tree11286438977c4f975b5148dc93b5f4dfafabdbdc /src/engine/NodeImpl.hpp
parentcfec427867f42d7aa7bea6dfbb0736b5ce99e9e2 (diff)
downloadingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.tar.gz
ingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.tar.bz2
ingen-6ae2018e81e7e81e4906e62dc6224ad34298d9c2.zip
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
Diffstat (limited to 'src/engine/NodeImpl.hpp')
-rw-r--r--src/engine/NodeImpl.hpp12
1 files changed, 11 insertions, 1 deletions
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.
*