summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-27 20:32:47 +0000
committerDavid Robillard <d@drobilla.net>2009-05-27 20:32:47 +0000
commit20ff9af76b21b751ac29b354cf557e86b69c52f7 (patch)
treeec6b366e3f4b54109d9e4d3a28274fbc6adcf6ea /src/engine
parent2d90647f9f6f36ac424a6b8f2e86e110eb0c5fd2 (diff)
downloadingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.tar.gz
ingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.tar.bz2
ingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.zip
Documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2015 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/OSCEngineReceiver.cpp25
1 files changed, 22 insertions, 3 deletions
diff --git a/src/engine/OSCEngineReceiver.cpp b/src/engine/OSCEngineReceiver.cpp
index a5f01c74..21a9b898 100644
--- a/src/engine/OSCEngineReceiver.cpp
+++ b/src/engine/OSCEngineReceiver.cpp
@@ -95,7 +95,7 @@ OSCEngineReceiver::OSCEngineReceiver(Engine& engine, size_t queue_size, uint16_t
lo_server_add_method(_server, "/ingen/set_polyphonic", "isF", set_polyphonic_cb, this);
lo_server_add_method(_server, "/ingen/put", NULL, put_cb, this);
lo_server_add_method(_server, "/ingen/move", "iss", move_cb, this);
- lo_server_add_method(_server, "/ingen/del", "is", del_cb, this);
+ lo_server_add_method(_server, "/ingen/delete", "is", del_cb, this);
lo_server_add_method(_server, "/ingen/connect", "iss", connect_cb, this);
lo_server_add_method(_server, "/ingen/disconnect", "iss", disconnect_cb, this);
lo_server_add_method(_server, "/ingen/disconnect_all", "iss", disconnect_all_cb, this);
@@ -378,12 +378,31 @@ OSCEngineReceiver::_engine_deactivate_cb(const char* path, const char* types, lo
/** \page engine_osc_namespace
+ * <h2>/ingen/put</h2>
+ * \arg \b response-id (integer)
+ * \arg \b path (string) - Path of object
+ * \arg \b predicate
+ * \arg \b value
+ * \arg \b ...
+ *
+ * PUT a set of properties to a path (see \ref methods).
+ */
+int
+OSCEngineReceiver::_put_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)
+{
+ //const char* path = &argv[1]->s;
+
+ return 0;
+}
+
+
+/** \page engine_osc_namespace
* <h2>/ingen/move</h2>
* \arg \b response-id (integer)
* \arg \b old-path - Object's path
* \arg \b new-path - Object's new path
*
- * Move (rename) an Object.
+ * MOVE an object to a new path (see \ref methods).
*/
int
OSCEngineReceiver::_move_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)
@@ -418,7 +437,7 @@ OSCEngineReceiver::_clear_patch_cb(const char* path, const char* types, lo_arg**
* \arg \b response-id (integer)
* \arg \b path (string) - Full path of the object
*
- * Delete a graph object.
+ * DELETE an object (see \ref methods).
*/
int
OSCEngineReceiver::_del_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)