diff options
Diffstat (limited to 'src/engine/OSCClientSender.cpp')
-rw-r--r-- | src/engine/OSCClientSender.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/engine/OSCClientSender.cpp b/src/engine/OSCClientSender.cpp index 13147a42..f07668ca 100644 --- a/src/engine/OSCClientSender.cpp +++ b/src/engine/OSCClientSender.cpp @@ -20,6 +20,7 @@ #include "raul/log.hpp" #include "raul/AtomLiblo.hpp" #include "interface/ClientInterface.hpp" +#include "interface/MessageType.hpp" #include "EngineStore.hpp" #include "NodeImpl.hpp" #include "OSCClientSender.hpp" @@ -246,4 +247,23 @@ OSCClientSender::activity(const Path& path) } +/** \page client_osc_namespace + * <h2>/ingen/binding</h2> + * \arg \b path (string) - Path of object + * \arg \b type (string) - Type of message (URI) + * \arg \b id (int) - Controller number (if applicable) + * + * Notification of "activity" (e.g. port message blinkenlights). + */ +void +OSCClientSender::binding(const Path& path, const MessageType& type) +{ + if (!_enabled) + return; + + lo_send(_address, "/ingen/binding", "ssi", + path.c_str(), type.type_uri(), type.num(), LO_ARGS_END); +} + + } // namespace Ingen |