libpsynth 0.2.1
Namespaces | Defines | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/net/osc_misc.hpp File Reference
#include <cstdio>
#include <lo/lo.h>
Include dependency graph for osc_misc.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  psynth

Defines

#define LO_HANDLER_ARGS
#define LO_HANDLER(clax, name)

Functions

bool psynth::lo_address_equals (lo_address a, lo_address b)
int psynth::lo_address_cmp (lo_address a, lo_address b)
int psynth::lo_generic_handler (const char *path, const char *types, lo_arg **argv, int argc, lo_message msg, void *user_data)

Define Documentation

#define LO_HANDLER (   clax,
  name 
)
Value:
int _##name##_cb (LO_HANDLER_ARGS);\
inline static int name##_cb(LO_HANDLER_ARGS, void* osc_listener)\
{ \
    return ((clax*)osc_listener)->_##name##_cb(path, types, argv, argc, msg);\
}
#define LO_HANDLER_ARGS
Value:
const char* path, const char* types,\
        lo_arg** argv, int argc, lo_message msg