|
Jamoma API
0.6.0.a19
|
j.oscroute - parse and pass OSC messages More...
#include "j.oscroute.h"
Include dependency graph for j.oscroute.cpp:Go to the source code of this file.
Functions | |
| 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... | |
| void * | oscroute_new (t_symbol *s, long argc, t_atom *argv) |
| Object instance constructor. More... | |
| void | oscroute_free (t_oscroute *x) |
| Object instance destructor, ensures that all memory assigned is properly freed. More... | |
| void | oscroute_assist (t_oscroute *x, void *b, long msg, long arg, char *dst) |
| Provide assistance on input and output while patching. More... | |
| void | oscroute_bang (t_oscroute *x) |
| Method called when a "bang" is passed to the object. More... | |
| void | oscroute_int (t_oscroute *x, long n) |
| Method called when an "int" is passed to the object. More... | |
| void | oscroute_float (t_oscroute *x, double f) |
| Method called when a "float" is passed to the object. More... | |
| void | oscroute_list (t_oscroute *x, t_symbol *msg, long argc, t_atom *argv) |
| Method called when a list is passed to the object. More... | |
| void | oscroute_symbol (t_oscroute *x, t_symbol *msg, long argc, t_atom *argv) |
| Method called when a symbol is passed to the object. More... | |
j.oscroute - parse and pass OSC messages
Definition in file j.oscroute.cpp.
| int JAMOMA_EXPORT_MAXOBJ main | ( | void | ) |
Set up this class as a Max external the first time an object of this kind is instantiated.
Set up this class as a Max external the first time an object of this kind is instantiated.
Definition at line 22 of file j.oscroute.cpp.
References oscroute_assist(), oscroute_bang(), oscroute_class, oscroute_float(), oscroute_free(), oscroute_int(), oscroute_list(), oscroute_new(), and oscroute_symbol().
Here is the call graph for this function:| void oscroute_assist | ( | t_oscroute * | x, |
| void * | b, | ||
| long | msg, | ||
| long | arg, | ||
| char * | dst | ||
| ) |
Provide assistance on input and output while patching.
| x | The object instance. |
| b | |
| msg | Determines if assistance is requested for an input or output. |
| arg | Determines what input/output assistance is requested for. |
| dst | Destination address that assistance string is copied to. |
Definition at line 124 of file j.oscroute.cpp.
Referenced by main().
| void oscroute_bang | ( | t_oscroute * | x | ) |
Method called when a "bang" is passed to the object.
The bang is passed straight on to the rightmost (overflow) outlet.
| x | The object instance. |
Definition at line 138 of file j.oscroute.cpp.
Referenced by main().
| void oscroute_float | ( | t_oscroute * | x, |
| double | f | ||
| ) |
Method called when a "float" is passed to the object.
Floats are passed straight to the rightmost (overflow) outlet.
| x | The object instance. |
| f | The float value passed to the object instance. |
Definition at line 150 of file j.oscroute.cpp.
Referenced by main().
| void oscroute_free | ( | t_oscroute * | x | ) |
Object instance destructor, ensures that all memory assigned is properly freed.
| x | Pointer to the object instance to free. |
Definition at line 109 of file j.oscroute.cpp.
Referenced by main().
| void oscroute_int | ( | t_oscroute * | x, |
| long | n | ||
| ) |
Method called when an "int" is passed to the object.
Integer values are passed straight to the rightmost (overflow) outlet.
| x | The object instance. |
| n | The integer value passed to the object instance. |
Definition at line 144 of file j.oscroute.cpp.
Referenced by main().
| void oscroute_list | ( | t_oscroute * | x, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Method called when a list is passed to the object.
Lists are passed straight to the rightmost (overflow) outlet.
| x | The object instance. |
| msg | The message passed to the object, usually "list". |
| argc | The number of arguments. |
| argv | The arguments of the list as a pointer to an array. |
Definition at line 156 of file j.oscroute.cpp.
Referenced by main().
| void* oscroute_new | ( | t_symbol * | s, |
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Object instance constructor.
| s | Symbol passed as an argument to the new object instance. |
| argc | The number of arguments passed to the new object instance. |
| argv | The arguments passed to the object instance as a pointer to an array. |
Definition at line 52 of file j.oscroute.cpp.
References oscroute_class.
Referenced by main().
| void oscroute_symbol | ( | t_oscroute * | x, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Method called when a symbol is passed to the object.
The symbol is compared to the various symbols that the object instance is looking for. If there's a match, the message is stripped of the matched part of the message, and passed to the appropriate outlet. If not the messae is passed on to the rightmost (overflow) outlet.
| x | The object instance. |
| msg | The message passed to the object. |
| argc | The number of arguments. |
| argv | The arguments of the list as a pointer to an array. |
Definition at line 194 of file j.oscroute.cpp.
Referenced by main().