summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Node.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
committerDavid Robillard <d@drobilla.net>2006-09-08 03:58:00 +0000
commit48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa (patch)
tree9da4b4b075791ac1ec78b499dbcbec6101f54690 /src/libs/engine/Node.h
parentacbe9a26ec3ab689e430225d15e95e73a7378aa9 (diff)
downloadingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.gz
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.tar.bz2
ingen-48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa.zip
De-singleton-ified Engine
Slight rework of Responder/ClientKey/ClientInterface for Requests git-svn-id: http://svn.drobilla.net/lad/ingen@119 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Node.h')
-rw-r--r--src/libs/engine/Node.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h
index 6d1158b0..beabb7da 100644
--- a/src/libs/engine/Node.h
+++ b/src/libs/engine/Node.h
@@ -63,6 +63,13 @@ public:
virtual void activate() = 0;
virtual void deactivate() = 0;
virtual bool activated() = 0;
+
+ /** Run the node for @a nframes input/output.
+ *
+ * @a start and @a end are transport times: end is not redundant in the case
+ * of varispeed, where end-start != nframes.
+ */
+ virtual void process(SampleCount nframes, FrameTime start, FrameTime end) = 0;
virtual void set_port_buffer(size_t voice, size_t port_num, void* buf) = 0;
@@ -91,7 +98,7 @@ public:
/** The Patch this Node belongs to. */
virtual Patch* parent_patch() const = 0;
- /** Information about what 'plugin' this Node is an instance of.
+ /** Information about the Plugin this Node is an instance of.
* Not the best name - not all nodes come from plugins (ie Patch)
*/
virtual const Plugin* plugin() const = 0;