diff options
author | David Robillard <d@drobilla.net> | 2006-06-18 08:06:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-06-18 08:06:14 +0000 |
commit | 172a0119ee0a0bb6d50836c70936907c3eb71c9e (patch) | |
tree | cbcc56285b033bb9857b9be85f5f9be193b6f38f /src/libs/engine/InternalNode.h | |
parent | e6f42fd640dcbad6b2e39cc85bdf307d197278b0 (diff) | |
download | ingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.tar.gz ingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.tar.bz2 ingen-172a0119ee0a0bb6d50836c70936907c3eb71c9e.zip |
More work on new ports implementation;
lots of mass renaming and code removal.
git-svn-id: http://svn.drobilla.net/lad/grauph@52 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/InternalNode.h')
-rw-r--r-- | src/libs/engine/InternalNode.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/engine/InternalNode.h b/src/libs/engine/InternalNode.h index fea2d3ad..14a4bc95 100644 --- a/src/libs/engine/InternalNode.h +++ b/src/libs/engine/InternalNode.h @@ -35,24 +35,24 @@ class InternalNode : public NodeBase public: InternalNode(const string& path, size_t poly, Patch* parent, samplerate srate, size_t buffer_size) : NodeBase(path, poly, parent, srate, buffer_size), - m_is_added(false) + _is_added(false) { - m_plugin.lib_path("/Om"); + _plugin.lib_path("/Om"); } virtual ~InternalNode() {} - virtual void deactivate() { if (m_is_added) remove_from_patch(); NodeBase::deactivate(); } + virtual void deactivate() { if (_is_added) remove_from_patch(); NodeBase::deactivate(); } virtual void run(size_t nframes) { NodeBase::run(nframes); } - virtual void add_to_patch() { assert(!m_is_added); m_is_added = true; } - virtual void remove_from_patch() { assert(m_is_added); m_is_added = false; } + 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); } - virtual const Plugin* plugin() const { return &m_plugin; } + virtual const Plugin* plugin() const { return &_plugin; } virtual void plugin(const Plugin* const) { exit(EXIT_FAILURE); } protected: @@ -60,8 +60,8 @@ protected: InternalNode(const InternalNode&); InternalNode& operator=(const InternalNode&); - Plugin m_plugin; - bool m_is_added; + Plugin _plugin; + bool _is_added; }; |