OSC_support.cpp File Reference

#include "OSC_support.h"
#include "lo/lo.h"

Classes

struct  Inst_Context

Functions

void osc_error (int num, const char *msg, const char *path)
void quitCSL ()
int quit_handler (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data)
int generic_handler (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data)
void initOSC (const char *thePort)
void mainOSCLoop ()
int paramSetter (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data)
int playNote (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data)
int playWithArgs (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data)
void setupOSCInstrLibrary (std::vector< Instrument * > library)

Variables

static int done = 0
static lo_server_thread sSrvThrd

Function Documentation

void osc_error ( int  num,
const char *  msg,
const char *  path 
)

References csl::kLogError, and csl::logMsg().

Referenced by init_OSC(), and initOSC().

void quitCSL (  ) 

int quit_handler ( const char *  path,
const char *  types,
lo_arg **  argv,
int  argc,
void *  data,
void *  user_data 
)

Referenced by initOSC(), and mainOSCLoop().

int generic_handler ( const char *  path,
const char *  types,
lo_arg **  argv,
int  argc,
void *  data,
void *  user_data 
)

Referenced by initOSC(), and mainOSCLoop().

void initOSC ( const char *  thePort  ) 

void mainOSCLoop (  ) 

References done, csl::sleepSec(), and sSrvThrd.

Referenced by main().

int paramSetter ( const char *  path,
const char *  types,
lo_arg **  argv,
int  argc,
void *  data,
void *  user_data 
)

int playNote ( const char *  path,
const char *  types,
lo_arg **  argv,
int  argc,
void *  data,
void *  user_data 
)

int playWithArgs ( const char *  path,
const char *  types,
lo_arg **  argv,
int  argc,
void *  data,
void *  user_data 
)

void setupOSCInstrLibrary ( std::vector< Instrument * >  library  ) 


Variable Documentation

int done = 0 [static]

Referenced by mainOSCLoop(), OSC_loop(), and quitCSL().

lo_server_thread sSrvThrd [static]


Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8