Main Page   Compound List   File List   Compound Members   File Members  

OSC-client.h File Reference

#include "OSC-timetag.h"
#include "global.h"
#include <progmem.h>

Go to the source code of this file.

Compounds

struct  OSCbuf_struct

Defines

#define MAX_BUNDLE_NESTING   32

Typedefs

typedef s32 int4byte
typedef struct OSCbuf_struct  OSCbuf

Functions

void OSC_initBuffer (OSCbuf *buf, int size, char *byteArray)
void OSC_resetBuffer (OSCbuf *buf)
int OSC_isBufferEmpty (OSCbuf *buf)
int OSC_freeSpaceInBuffer (OSCbuf *buf)
int OSC_isBufferDone (OSCbuf *buf)
char* OSC_getPacket (OSCbuf *buf)
int OSC_packetSize (OSCbuf *buf)
int OSC_openBundle (OSCbuf *buf, OSCTimeTag tt)
int OSC_closeBundle (OSCbuf *buf)
int OSC_closeAllBundles (OSCbuf *buf)
int OSC_writeAddress (OSCbuf *buf, char PROGMEM *name)
int OSC_writeAddressAndTypes (OSCbuf *buf, char PROGMEM *name, char PROGMEM *types)
int OSC_writeFloatArg (OSCbuf *buf, float arg)
int OSC_writeFloatArgs (OSCbuf *buf, int numFloats, float *args)
int OSC_writeIntArg (OSCbuf *buf, int4byte arg)
int OSC_writeStringArg (OSCbuf *buf, char PROGMEM *arg)
int OSC_effectiveStringLength (char PROGMEM *string)

Variables

char* OSC_errorMessage


Define Documentation

#define MAX_BUNDLE_NESTING   32
 

Definition at line 84 of file OSC-client.h.


Typedef Documentation

typedef struct OSCbuf_struct OSCbuf
 

typedef s32 int4byte
 

Definition at line 78 of file OSC-client.h.


Function Documentation

int OSC_closeAllBundles ( OSCbuf * buf )
 

Definition at line 229 of file OSC-client.c.

int OSC_closeBundle ( OSCbuf * buf )
 

Definition at line 199 of file OSC-client.c.

Referenced by OSC_closeAllBundles().

int OSC_effectiveStringLength ( char PROGMEM * string )
 

Definition at line 395 of file OSC-client.c.

Referenced by OSC_writeAddress(), OSC_writeAddressAndTypes(), and OSC_writeStringArg().

int OSC_freeSpaceInBuffer ( OSCbuf * buf )
 

Definition at line 84 of file OSC-client.c.

Referenced by _oscSendPacket().

char* OSC_getPacket ( OSCbuf * buf )
 

Definition at line 92 of file OSC-client.c.

Referenced by _oscSendPacket().

void OSC_initBuffer ( OSCbuf * buf,
int size,
char * byteArray )
 

Definition at line 65 of file OSC-client.c.

Referenced by oscInit().

int OSC_isBufferDone ( OSCbuf * buf )
 

Definition at line 88 of file OSC-client.c.

Referenced by _oscSendPacket().

int OSC_isBufferEmpty ( OSCbuf * buf )
 

Definition at line 80 of file OSC-client.c.

int OSC_openBundle ( OSCbuf * buf,
OSCTimeTag tt )
 

Definition at line 131 of file OSC-client.c.

int OSC_packetSize ( OSCbuf * buf )
 

Definition at line 105 of file OSC-client.c.

Referenced by _oscSendPacket().

void OSC_resetBuffer ( OSCbuf * buf )
 

Definition at line 71 of file OSC-client.c.

Referenced by OSC_initBuffer(), and _oscSendPacket().

int OSC_writeAddress ( OSCbuf * buf,
char PROGMEM * name )
 

Definition at line 245 of file OSC-client.c.

Referenced by OSC_writeAddressAndTypes(), oscSendMessage(), oscSendMessageInt(), oscSendMessageIntInt(), and oscSendMessageString().

int OSC_writeAddressAndTypes ( OSCbuf * buf,
char PROGMEM * name,
char PROGMEM * types )
 

Definition at line 287 of file OSC-client.c.

int OSC_writeFloatArg ( OSCbuf * buf,
float arg )
 

Definition at line 330 of file OSC-client.c.

int OSC_writeFloatArgs ( OSCbuf * buf,
int numFloats,
float * args )
 

Definition at line 349 of file OSC-client.c.

int OSC_writeIntArg ( OSCbuf * buf,
int4byte arg )
 

Definition at line 368 of file OSC-client.c.

Referenced by oscSendMessageInt(), and oscSendMessageIntInt().

int OSC_writeStringArg ( OSCbuf * buf,
char PROGMEM * arg )
 

Definition at line 379 of file OSC-client.c.

Referenced by oscSendMessageString().


Variable Documentation

char* OSC_errorMessage
 

Definition at line 185 of file OSC-client.h.


Generated at Fri Oct 25 15:36:38 2002 for avrlib by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001