From 032d526710d174b30e0c9f33ff9f7e60e99fb172 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 20 Jun 2006 21:56:12 +0000 Subject: Renamed OmObject GraphObject; Merged Port::prepare_buffers and Node::run into GraphObject::process. git-svn-id: http://svn.drobilla.net/lad/grauph@69 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/Node.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/libs/engine/Node.h') diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h index 27d59e32..b4214f13 100644 --- a/src/libs/engine/Node.h +++ b/src/libs/engine/Node.h @@ -19,7 +19,7 @@ #include #include "types.h" -#include "OmObject.h" +#include "GraphObject.h" #include "Array.h" using std::string; @@ -39,7 +39,7 @@ namespace Shared { /** A Node (or "module") in a Patch (which is also a Node). * - * A Node is a unit with input/output ports, a run() method, and some other + * A Node is a unit with input/output ports, a process() method, and some other * things. * * This is a pure abstract base class for any Node, it contains no @@ -48,10 +48,10 @@ namespace Shared { * * \ingroup engine */ -class Node : public OmObject +class Node : public GraphObject { public: - Node(OmObject* parent, const string& name) : OmObject(parent, name) {} + Node(GraphObject* parent, const string& name) : GraphObject(parent, name) {} virtual ~Node() {} /** Activate this Node. @@ -64,8 +64,6 @@ public: virtual void deactivate() = 0; virtual bool activated() = 0; - virtual void run(size_t nframes) = 0; - virtual void set_port_buffer(size_t voice, size_t port_num, void* buf) = 0; // FIXME: Only used by client senders. Remove? -- cgit v1.2.1