diff options
author | David Robillard <d@drobilla.net> | 2006-06-20 21:56:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-20 21:56:12 +0000 |
commit | 032d526710d174b30e0c9f33ff9f7e60e99fb172 (patch) | |
tree | 21eefe5891ccf7f3bb7bd618c125afd928fc81c5 /src/libs/engine/Node.h | |
parent | 34d46336eeccb2430df4d1ef00097890c400ab05 (diff) | |
download | ingen-032d526710d174b30e0c9f33ff9f7e60e99fb172.tar.gz ingen-032d526710d174b30e0c9f33ff9f7e60e99fb172.tar.bz2 ingen-032d526710d174b30e0c9f33ff9f7e60e99fb172.zip |
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
Diffstat (limited to 'src/libs/engine/Node.h')
-rw-r--r-- | src/libs/engine/Node.h | 10 |
1 files changed, 4 insertions, 6 deletions
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 <string> #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? |