diff options
author | David Robillard <d@drobilla.net> | 2006-09-08 03:58:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-08 03:58:00 +0000 |
commit | 48f87f1f1649fb7e169fdaac2cd38370e8a4a1fa (patch) | |
tree | 9da4b4b075791ac1ec78b499dbcbec6101f54690 /src/libs/engine/NodeBase.h | |
parent | acbe9a26ec3ab689e430225d15e95e73a7378aa9 (diff) | |
download | ingen-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/NodeBase.h')
-rw-r--r-- | src/libs/engine/NodeBase.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libs/engine/NodeBase.h b/src/libs/engine/NodeBase.h index df9c6e7c..78a8cab5 100644 --- a/src/libs/engine/NodeBase.h +++ b/src/libs/engine/NodeBase.h @@ -28,6 +28,8 @@ namespace Ingen { class Plugin; class Patch; +class ObjectStore; + namespace Shared { class ClientInterface; } using Shared::ClientInterface; @@ -50,14 +52,14 @@ public: virtual void deactivate(); bool activated() { return _activated; } - virtual void process(SampleCount nframes); + virtual void process(SampleCount nframes, FrameTime start, FrameTime end); virtual void set_port_buffer(size_t voice, size_t port_num, void* buf) {} virtual void add_to_patch() {} virtual void remove_from_patch() {} - void add_to_store(); + void add_to_store(ObjectStore* store); void remove_from_store(); //void send_creation_messages(ClientInterface* client) const; @@ -89,6 +91,8 @@ protected: NodeBase(const NodeBase&); NodeBase& operator=(const NodeBase&); + ObjectStore* _store; + const Plugin* _plugin; size_t _poly; |