summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/InternalNode.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-06 04:16:26 +0000
committerDavid Robillard <d@drobilla.net>2007-01-06 04:16:26 +0000
commit2122a857662203936a04a39df7d0e1ad1db82853 (patch)
treeb31070a9d01ab20da1a03bf8d029dc3ce6ab66bc /src/libs/engine/InternalNode.h
parent9c5f7e9dc2029f97d0baf622165701e7c124b25e (diff)
downloadingen-2122a857662203936a04a39df7d0e1ad1db82853.tar.gz
ingen-2122a857662203936a04a39df7d0e1ad1db82853.tar.bz2
ingen-2122a857662203936a04a39df7d0e1ad1db82853.zip
Work on Port destruction (still broken).
git-svn-id: http://svn.drobilla.net/lad/ingen@233 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/InternalNode.h')
-rw-r--r--src/libs/engine/InternalNode.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/libs/engine/InternalNode.h b/src/libs/engine/InternalNode.h
index 25a453b9..44810871 100644
--- a/src/libs/engine/InternalNode.h
+++ b/src/libs/engine/InternalNode.h
@@ -35,28 +35,17 @@ class InternalNode : public NodeBase
{
public:
InternalNode(const Plugin* plugin, const string& path, size_t poly, Patch* parent, SampleRate srate, size_t buffer_size)
- : NodeBase(plugin, path, poly, parent, srate, buffer_size),
- _is_added(false)
+ : NodeBase(plugin, path, poly, parent, srate, buffer_size)
{
}
virtual ~InternalNode() {}
- virtual void deactivate() { if (_is_added) remove_from_patch(); NodeBase::deactivate(); }
-
virtual void process(SampleCount nframes, FrameTime start, FrameTime end)
{ NodeBase::process(nframes, start, end); }
- virtual void add_to_patch() { assert(!_is_added); _is_added = true; }
- virtual void remove_from_patch() { assert(_is_added); _is_added = false; }
-
- //virtual void send_creation_messages(ClientInterface* client) const
- //{ NodeBase::send_creation_messages(client); }
-
protected:
Plugin* plugin() const { return const_cast<Plugin*>(_plugin); }
-
- bool _is_added;
};