diff options
author | David Robillard <d@drobilla.net> | 2016-03-14 19:03:10 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-03-14 19:03:10 -0400 |
commit | 4ffc37f349871bc54373846ed9fc759f06c20294 (patch) | |
tree | c2710e9f7848cb09aa491f83f5134c4085df798f /src | |
parent | 05def9fc79404a032709e955fb0f8f3abf440398 (diff) | |
download | ingen-4ffc37f349871bc54373846ed9fc759f06c20294.tar.gz ingen-4ffc37f349871bc54373846ed9fc759f06c20294.tar.bz2 ingen-4ffc37f349871bc54373846ed9fc759f06c20294.zip |
Add missing client store debug dumps
Diffstat (limited to 'src')
-rw-r--r-- | src/client/ClientStore.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 1061fb6b..12674981 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -209,6 +209,10 @@ ClientStore::add_plugin(SPtr<PluginModel> pm) void ClientStore::del(const Raul::URI& uri) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client del " << uri << std::endl; +#endif + if (Node::uri_is_path(uri)) { remove_object(Node::uri_to_path(uri)); } else { @@ -230,6 +234,11 @@ ClientStore::copy(const Raul::URI& old_uri, void ClientStore::move(const Raul::Path& old_path, const Raul::Path& new_path) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client move " << old_path + << " => " << new_path << endl; +#endif + const iterator top = find(old_path); if (top != end()) { rename(top, new_path); @@ -510,6 +519,10 @@ void ClientStore::disconnect_all(const Raul::Path& parent_graph, const Raul::Path& path) { +#ifdef INGEN_CLIENT_STORE_DUMP + std::cerr << "Client disconnect all " << path << " in " << parent_graph << std::endl; +#endif + SPtr<GraphModel> graph = dynamic_ptr_cast<GraphModel>(_object(parent_graph)); SPtr<ObjectModel> object = _object(path); |