Jamoma API  0.6.0.a19
j.oscinstance.cpp File Reference

j.oscinstance - retrieve instance numbers or ids from OSC messages More...

#include "JamomaForMax.h"
+ Include dependency graph for j.oscinstance.cpp:

Go to the source code of this file.

Functions

void * oscinstance_new (t_symbol *s, long argc, t_atom *argv)
 The j.oscinstance constructor.
 
void oscinstance_assist (t_oscinstance *x, void *b, long msg, long arg, char *dst)
 Provide assistance strings in the patcher window. More...
 
void oscinstance_bang (t_oscinstance *x)
 Method for bang input. More...
 
void oscinstance_int (t_oscinstance *x, long n)
 Method for int input. More...
 
void oscinstance_float (t_oscinstance *x, double f)
 Method for int float. More...
 
void oscinstance_symbol (t_oscinstance *x, t_symbol *msg, long argc, t_atom *argv)
 Method for anything else, including OSC messages. More...
 
int JAMOMA_EXPORT_MAXOBJ main (void)
 Set up this class as a Max external the first time an object of this kind is instantiated. More...
 

Detailed Description

j.oscinstance - retrieve instance numbers or ids from OSC messages

Authors
Trond Lossius

Definition in file j.oscinstance.cpp.

Function Documentation

int JAMOMA_EXPORT_MAXOBJ main ( void  )

Set up this class as a Max external the first time an object of this kind is instantiated.

Returns
Error message if the object fails to load.

Set up this class as a Max external the first time an object of this kind is instantiated.

Definition at line 55 of file j.oscinstance.cpp.

References oscinstance_assist(), oscinstance_bang(), oscinstance_float(), oscinstance_int(), oscinstance_new(), and oscinstance_symbol().

+ Here is the call graph for this function:

void oscinstance_assist ( t_oscinstance *  x,
void *  b,
long  msg,
long  arg,
char *  dst 
)

Provide assistance strings in the patcher window.

Definition at line 101 of file j.oscinstance.cpp.

Referenced by main().

void oscinstance_bang ( t_oscinstance *  x)

Method for bang input.

Definition at line 118 of file j.oscinstance.cpp.

Referenced by main().

void oscinstance_float ( t_oscinstance *  x,
double  f 
)

Method for int float.

Definition at line 132 of file j.oscinstance.cpp.

Referenced by main().

void oscinstance_int ( t_oscinstance *  x,
long  n 
)

Method for int input.

Definition at line 125 of file j.oscinstance.cpp.

Referenced by main().

void oscinstance_symbol ( t_oscinstance *  x,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)

Method for anything else, including OSC messages.

Definition at line 139 of file j.oscinstance.cpp.

Referenced by main().