Real Time Open Sound Control librtosc
|
#include <thread-link.h>
Public Member Functions | |
ThreadLink (size_t max_message_length, size_t max_messages) | |
~ThreadLink (void) | |
void | write (const char *dest, const char *args,...) |
void | writeArray (const char *dest, const char *args, const rtosc_arg_t *aargs) |
void | raw_write (const char *msg) |
bool | hasNext (void) const |
msg_t | read (void) |
msg_t | peak (void) const |
char * | buffer (void) |
size_t | buffer_size (void) const |
ThreadLink - A simple wrapper around jack's ringbuffers desinged to make sending messages via rt-osc trivial. This class provides the basics of reading and writing events via fixed sized buffers, which can be specified at compile time.
|
inline |
|
inline |
|
inline |
Raw write buffer access for more complicated task
|
inline |
Access to write buffer length
|
inline |
|
inline |
Peak at last message read without reading another
|
inline |
Directly write message to ringbuffer
|
inline |
Read a new message from the ringbuffer
|
inline |
Write message to ringbuffer
|
inline |
Write an arary of arguments to ringbuffer