From 39d5400b39c8089287d5d294becae1268d232d31 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 7 Feb 2007 03:22:42 +0000 Subject: Mad sed-fu for consistent private member naming. git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/events/DSSIControlEvent.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/libs/engine/events/DSSIControlEvent.cpp') diff --git a/src/libs/engine/events/DSSIControlEvent.cpp b/src/libs/engine/events/DSSIControlEvent.cpp index 6c12611c..7867658b 100644 --- a/src/libs/engine/events/DSSIControlEvent.cpp +++ b/src/libs/engine/events/DSSIControlEvent.cpp @@ -25,10 +25,10 @@ namespace Ingen { DSSIControlEvent::DSSIControlEvent(Engine& engine, SharedPtr responder, SampleCount timestamp, const string& node_path, int port_num, Sample val) : QueuedEvent(engine, responder, timestamp), - m_node_path(node_path), - m_port_num(port_num), - m_val(val), - m_node(NULL) + _node_path(node_path), + _port_num(port_num), + _val(val), + _node(NULL) { } @@ -36,12 +36,12 @@ DSSIControlEvent::DSSIControlEvent(Engine& engine, SharedPtr responde void DSSIControlEvent::pre_process() { - Node* node = _engine.object_store()->find_node(m_node_path); + Node* node = _engine.object_store()->find_node(_node_path); if (node->plugin()->type() != Plugin::DSSI) - m_node = NULL; + _node = NULL; else - m_node = (DSSINode*)node; + _node = (DSSINode*)node; QueuedEvent::pre_process(); } @@ -52,16 +52,16 @@ DSSIControlEvent::execute(SampleCount nframes, FrameTime start, FrameTime end) { QueuedEvent::execute(nframes, start, end); - if (m_node != NULL) - m_node->set_control(m_port_num, m_val); + if (_node != NULL) + _node->set_control(_port_num, _val); } void DSSIControlEvent::post_process() { - if (m_node == NULL) - std::cerr << "Unable to find DSSI node " << m_node_path << std::endl; + if (_node == NULL) + std::cerr << "Unable to find DSSI node " << _node_path << std::endl; } -- cgit v1.2.1