summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/ObjectSender.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 17:59:56 +0000
commit91ca84684151a67b8e3e1e859b3167e9f687d4d4 (patch)
tree1751b6e4949b47d1880b4c569b6192fef392bfaf /src/libs/engine/ObjectSender.cpp
parent507d9ffa4771978b6964b4c4b261ee923ba7e324 (diff)
downloadingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.gz
ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.tar.bz2
ingen-91ca84684151a67b8e3e1e859b3167e9f687d4d4.zip
s/MetadataMap/Variables/ etc.
Removed ancient/unused Controller.hpp. git-svn-id: http://svn.drobilla.net/lad/ingen@852 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/ObjectSender.cpp')
-rw-r--r--src/libs/engine/ObjectSender.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/libs/engine/ObjectSender.cpp b/src/libs/engine/ObjectSender.cpp
index 87f35b2c..55dafaf4 100644
--- a/src/libs/engine/ObjectSender.cpp
+++ b/src/libs/engine/ObjectSender.cpp
@@ -60,10 +60,10 @@ ObjectSender::send_patch(ClientInterface* client, const PatchImpl* patch, bool r
}
- // Send metadata
- const GraphObjectImpl::MetadataMap& data = patch->metadata();
- for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j)
- client->metadata_update(patch->path(), (*j).first, (*j).second);
+ // Send variable
+ const GraphObjectImpl::Variables& data = patch->variables();
+ for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j)
+ client->variable_change(patch->path(), (*j).first, (*j).second);
if (patch->enabled())
client->patch_enabled(patch->path());
@@ -92,10 +92,10 @@ ObjectSender::send_node(ClientInterface* client, const NodeImpl* node, bool recu
client->new_node(node->plugin()->uri(), node->path(), node->polyphonic(), node->num_ports());
- // Send metadata
- const GraphObjectImpl::MetadataMap& data = node->metadata();
- for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j)
- client->metadata_update(node->path(), (*j).first, (*j).second);
+ // Send variable
+ const GraphObjectImpl::Variables& data = node->variables();
+ for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j)
+ client->variable_change(node->path(), (*j).first, (*j).second);
client->bundle_end();
@@ -116,10 +116,10 @@ ObjectSender::send_port(ClientInterface* client, const PortImpl* port)
client->new_port(port->path(), port->type().uri(), port->is_output());
- // Send metadata
- const GraphObjectImpl::MetadataMap& data = port->metadata();
- for (GraphObjectImpl::MetadataMap::const_iterator j = data.begin(); j != data.end(); ++j)
- client->metadata_update(port->path(), (*j).first, (*j).second);
+ // Send variable
+ const GraphObjectImpl::Variables& data = port->variables();
+ for (GraphObjectImpl::Variables::const_iterator j = data.begin(); j != data.end(); ++j)
+ client->variable_change(port->path(), (*j).first, (*j).second);
// Send control value
if (port->type() == DataType::CONTROL) {