summaryrefslogtreecommitdiffstats
path: root/src/libs/client/ThreadedSigClientInterface.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-09-09 14:24:56 +0000
committerDavid Robillard <d@drobilla.net>2006-09-09 14:24:56 +0000
commitfca95e5d454d37bd74b98f5bce35cfcbaee86c3f (patch)
tree97fcf6e8afaf4356d46a24236e9aa2451ab55698 /src/libs/client/ThreadedSigClientInterface.h
parentb853b3dde1f7028dd275f78433a6ad9b5b9f61c7 (diff)
downloadingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.tar.gz
ingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.tar.bz2
ingen-fca95e5d454d37bd74b98f5bce35cfcbaee86c3f.zip
Drove 'er home! Working monolothic Ingenuity (ie. in-process engine).
Countless bugfixes. git-svn-id: http://svn.drobilla.net/lad/ingen@123 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ThreadedSigClientInterface.h')
-rw-r--r--src/libs/client/ThreadedSigClientInterface.h43
1 files changed, 24 insertions, 19 deletions
diff --git a/src/libs/client/ThreadedSigClientInterface.h b/src/libs/client/ThreadedSigClientInterface.h
index afc756c4..5a677034 100644
--- a/src/libs/client/ThreadedSigClientInterface.h
+++ b/src/libs/client/ThreadedSigClientInterface.h
@@ -39,7 +39,7 @@ namespace Client {
* function, which fires all enqueued signals up until the present. You can
* use this in a GTK idle callback for receiving thread safe engine signals.
*/
-class ThreadedSigClientInterface : virtual public SigClientInterface
+class ThreadedSigClientInterface : public SigClientInterface
{
public:
ThreadedSigClientInterface(uint32_t queue_size)
@@ -64,61 +64,66 @@ public:
{}
- // FIXME
+ // FIXME: make this insert bundle-boundary-events, where the GTK thread
+ // process all events between start and finish in one cycle, guaranteed
+ // (no more node jumping)
void bundle_begin() {}
void bundle_end() {}
+
+ void transfer_begin() {}
+ void transfer_end() {}
void num_plugins(uint32_t num) { _num_plugins = num; }
- void response(int32_t id, bool success, const string& msg)
+ void response(int32_t id, bool success, string msg)
{ push_sig(sigc::bind(response_slot, id, success, msg)); }
- void error(const string& msg)
+ void error(string msg)
{ push_sig(sigc::bind(error_slot, msg)); }
- void new_plugin(const string& type, const string& uri, const string& name)
+ void new_plugin(string type, string uri, string name)
{ push_sig(sigc::bind(new_plugin_slot, type, uri, name)); }
- void new_patch(const string& path, uint32_t poly)
+ void new_patch(string path, uint32_t poly)
{ push_sig(sigc::bind(new_patch_slot, path, poly)); }
- void new_node(const string& plugin_type, const string& plugin_uri, const string& node_path, bool is_polyphonic, uint32_t num_ports)
+ void new_node(string plugin_type, string plugin_uri, string node_path, bool is_polyphonic, uint32_t num_ports)
{ push_sig(sigc::bind(new_node_slot, plugin_type, plugin_uri, node_path, is_polyphonic, num_ports)); }
- void new_port(const string& path, const string& data_type, bool is_output)
+ void new_port(string path, string data_type, bool is_output)
{ push_sig(sigc::bind(new_port_slot, path, data_type, is_output)); }
- void connection(const string& src_port_path, const string& dst_port_path)
+ void connection(string src_port_path, string dst_port_path)
{ push_sig(sigc::bind(connection_slot, src_port_path, dst_port_path)); }
- void object_destroyed(const string& path)
+ void object_destroyed(string path)
{ push_sig(sigc::bind(object_destroyed_slot, path)); }
- void patch_enabled(const string& path)
+ void patch_enabled(string path)
{ push_sig(sigc::bind(patch_enabled_slot, path)); }
- void patch_disabled(const string& path)
+ void patch_disabled(string path)
{ push_sig(sigc::bind(patch_disabled_slot, path)); }
- void patch_cleared(const string& path)
+ void patch_cleared(string path)
{ push_sig(sigc::bind(patch_cleared_slot, path)); }
- void object_renamed(const string& old_path, const string& new_path)
+ void object_renamed(string old_path, string new_path)
{ push_sig(sigc::bind(object_renamed_slot, old_path, new_path)); }
- void disconnection(const string& src_port_path, const string& dst_port_path)
+ void disconnection(string src_port_path, string dst_port_path)
{ push_sig(sigc::bind(disconnection_slot, src_port_path, dst_port_path)); }
- void metadata_update(const string& path, const string& key, const string& value)
+ void metadata_update(string path, string key, string value)
{ push_sig(sigc::bind(metadata_update_slot, path, key, value)); }
- void control_change(const string& port_path, float value)
+ void control_change(string port_path, float value)
{ push_sig(sigc::bind(control_change_slot, port_path, value)); }
- void program_add(const string& path, uint32_t bank, uint32_t program, const string& name)
+ void program_add(string path, uint32_t bank, uint32_t program, string name)
{ push_sig(sigc::bind(program_add_slot, path, bank, program, name)); }
- void program_remove(const string& path, uint32_t bank, uint32_t program)
+ void program_remove(string path, uint32_t bank, uint32_t program)
{ push_sig(sigc::bind(program_remove_slot, path, bank, program)); }
/** Process all queued events - Called from GTK thread to emit signals. */