summaryrefslogtreecommitdiffstats
path: root/src/client/OSCEngineSender.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/client/OSCEngineSender.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/OSCEngineSender.cpp')
-rw-r--r--src/client/OSCEngineSender.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/client/OSCEngineSender.cpp b/src/client/OSCEngineSender.cpp
index 70b40e7d..ee45f6b8 100644
--- a/src/client/OSCEngineSender.cpp
+++ b/src/client/OSCEngineSender.cpp
@@ -33,7 +33,6 @@ using namespace Raul;
namespace Ingen {
namespace Client {
-
/** Note the sending port is implicitly set by liblo, lo_send by default sends
* from the most recently created server, so create the OSC listener before
* this to have it all happen on the same port. Yeah, this is a big magic :/
@@ -45,13 +44,11 @@ OSCEngineSender::OSCEngineSender(const URI& engine_url)
_address = lo_address_new_from_url(engine_url.c_str());
}
-
OSCEngineSender::~OSCEngineSender()
{
lo_address_free(_address);
}
-
/** Attempt to connect to the engine (by pinging it).
*
* This doesn't register a client (or otherwise affect the client/engine state).
@@ -81,7 +78,6 @@ OSCEngineSender::attach(int32_t ping_id, bool block)
/* *** EngineInterface implementation below here *** */
-
/** Register with the engine via OSC.
*
* Note that this does not actually use 'client', since the engine creates
@@ -94,14 +90,12 @@ OSCEngineSender::register_client(Shared::ClientInterface* client)
send("/register_client", "i", next_id(), LO_ARGS_END);
}
-
void
OSCEngineSender::unregister_client(const URI& uri)
{
send("/unregister_client", "i", next_id(), LO_ARGS_END);
}
-
// Engine commands
void
OSCEngineSender::load_plugins()
@@ -109,32 +103,26 @@ OSCEngineSender::load_plugins()
send("/load_plugins", "i", next_id(), LO_ARGS_END);
}
-
void
OSCEngineSender::activate()
{
send("/activate", "i", next_id(), LO_ARGS_END);
}
-
void
OSCEngineSender::deactivate()
{
send("/deactivate", "i", next_id(), LO_ARGS_END);
}
-
void
OSCEngineSender::quit()
{
send("/quit", "i", next_id(), LO_ARGS_END);
}
-
-
// Object commands
-
void
OSCEngineSender::put(const Raul::URI& path,
const Shared::Resource::Properties& properties,
@@ -151,7 +139,6 @@ OSCEngineSender::put(const Raul::URI& path,
send_message("/put", m);
}
-
void
OSCEngineSender::delta(const Raul::URI& path,
const Shared::Resource::Properties& remove,
@@ -160,7 +147,6 @@ OSCEngineSender::delta(const Raul::URI& path,
warn << "FIXME: OSC DELTA" << endl;
}
-
void
OSCEngineSender::move(const Path& old_path,
const Path& new_path)
@@ -172,7 +158,6 @@ OSCEngineSender::move(const Path& old_path,
LO_ARGS_END);
}
-
void
OSCEngineSender::del(const Path& path)
{
@@ -182,7 +167,6 @@ OSCEngineSender::del(const Path& path)
LO_ARGS_END);
}
-
void
OSCEngineSender::connect(const Path& src_port_path,
const Path& dst_port_path)
@@ -194,7 +178,6 @@ OSCEngineSender::connect(const Path& src_port_path,
LO_ARGS_END);
}
-
void
OSCEngineSender::disconnect(const Path& src_port_path,
const Path& dst_port_path)
@@ -206,7 +189,6 @@ OSCEngineSender::disconnect(const Path& src_port_path,
LO_ARGS_END);
}
-
void
OSCEngineSender::disconnect_all(const Path& parent_patch_path,
const Path& path)
@@ -218,7 +200,6 @@ OSCEngineSender::disconnect_all(const Path& parent_patch_path,
LO_ARGS_END);
}
-
void
OSCEngineSender::set_property(const URI& subject,
const URI& predicate,
@@ -232,8 +213,6 @@ OSCEngineSender::set_property(const URI& subject,
send_message("/set_property", m);
}
-
-
// Requests //
void
@@ -242,7 +221,6 @@ OSCEngineSender::ping()
send("/ping", "i", next_id(), LO_ARGS_END);
}
-
void
OSCEngineSender::get(const URI& uri)
{
@@ -252,7 +230,6 @@ OSCEngineSender::get(const URI& uri)
LO_ARGS_END);
}
-
void
OSCEngineSender::request_property(const URI& object_path, const URI& key)
{
@@ -263,7 +240,6 @@ OSCEngineSender::request_property(const URI& object_path, const URI& key)
LO_ARGS_END);
}
-
} // namespace Client
} // namespace Ingen