Jamoma API
0.6.0.a19
|
j.in & j.in~ & j.in= - Manage control and audio inputs for a Jamoma model More...
#include "TTModularClassWrapperMax.h"
Go to the source code of this file.
Classes | |
struct | t_extra |
Data structure for storing extra data. More... | |
Functions | |
void | WrapTTInputClass (WrappedClassPtr c) |
Wrap the j.in class as a Max object. More... | |
void | WrappedInputClass_new (TTPtr self, long argc, t_atom *argv) |
Wrapper for the j.in constructor class, called when an instance is created. More... | |
void | WrappedInputClass_free (TTPtr self) |
Wrapper for the j.in deconstructor class, called when an instance is destroyed. More... | |
void | in_assist (TTPtr self, TTPtr b, long msg, long arg, char *dst) |
Assistance Method. More... | |
void | in_subscribe (TTPtr self) |
Associate j.in(~) with NodeLib. More... | |
void | in_bang (TTPtr self) |
bang handler for j.in More... | |
void | in_int (TTPtr self, long value) |
int handler for j.in More... | |
void | in_float (TTPtr self, double value) |
float handler for j.in More... | |
void | in_list (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
list handler for j.in More... | |
void | in_return_signal (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Method used to pass messages from the module outlet. More... | |
void | WrappedInputClass_anything (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
anything else handler for j.in More... | |
int C74_EXPORT | main (void) |
Set up this class as a Max external the first time an object of this kind is instantiated. More... | |
j.in & j.in~ & j.in= - Manage control and audio inputs for a Jamoma model
Definition in file Max/source/j.in/j.in.cpp.
Assistance Method.
self | Pointer to this object. |
b | Pointer to (exactly what?) |
msg | The message passed to the object. |
arg | |
dst | Pointer to the destination that assistance strings are passed to for display. |
Definition at line 329 of file Max/source/j.in/j.in.cpp.
Referenced by WrapTTInputClass().
void in_bang | ( | TTPtr | self | ) |
bang handler for j.in
self | Pointer to this object. |
Definition at line 450 of file Max/source/j.in/j.in.cpp.
References in_list().
Referenced by WrapTTInputClass().
void in_float | ( | TTPtr | self, |
double | value | ||
) |
float handler for j.in
self | Pointer to this object. |
value | The value sent to this object. |
Definition at line 463 of file Max/source/j.in/j.in.cpp.
References in_list().
Referenced by WrapTTInputClass().
void in_int | ( | TTPtr | self, |
long | value | ||
) |
int handler for j.in
self | Pointer to this object. |
value | The value sent to this object. |
Definition at line 455 of file Max/source/j.in/j.in.cpp.
References in_list().
Referenced by WrapTTInputClass().
void in_list | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
list handler for j.in
self | Pointer to this object. |
msg | The message sent to this object. |
argc | The number of arguments passed to the object. |
argv | Pointer to an array of atoms passed to the object. |
Definition at line 471 of file Max/source/j.in/j.in.cpp.
References jamoma_input_send(), and WrappedModularInstance::wrappedObject.
Referenced by in_bang(), in_float(), in_int(), and WrapTTInputClass().
void in_return_signal | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
Method used to pass messages from the module outlet.
Definition at line 478 of file Max/source/j.in/j.in.cpp.
References WrappedModularInstance::outlets.
Referenced by WrapTTInputClass().
void in_subscribe | ( | TTPtr | self | ) |
Associate j.in(~) with NodeLib.
This is a prerequisit for communication with other Jamoma object in the module and beyond.
Definition at line 272 of file Max/source/j.in/j.in.cpp.
References TTAddress::appendAddress(), TTAddress::appendInstance(), TTNode::getAddress(), TTAddress::getInstance(), TTNode::getParent(), jamoma_patcher_get(), jamoma_patcher_get_model_or_view(), jamoma_subscriber_create(), WrappedModularInstance::patcherPtr, TTObject::set(), WrappedModularInstance::subscriberObject, and WrappedModularInstance::wrappedObject.
Referenced by WrappedInputClass_new().
int C74_EXPORT 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 141 of file Max/source/j.in/j.in.cpp.
References WrappedInputClass_anything(), WrappedInputClass_free(), WrappedInputClass_new(), WrapTTInputClass(), and wrapTTModularClassAsMaxClass().
void WrappedInputClass_anything | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
anything else handler for j.in
self | Pointer to this object. |
msg | The message sent to this object. |
argc | The number of arguments passed to the object. |
argv | Pointer to an array of atoms passed to the object. |
Definition at line 491 of file Max/source/j.in/j.in.cpp.
References jamoma_input_send(), jamoma_patcher_get_model_or_view(), WrappedModularInstance::patcherPtr, and WrappedModularInstance::wrappedObject.
Referenced by main().
void WrappedInputClass_free | ( | TTPtr | self | ) |
Wrapper for the j.in deconstructor class, called when an instance is destroyed.
self | Pointer to this object. |
Definition at line 258 of file Max/source/j.in/j.in.cpp.
Referenced by main().
void WrappedInputClass_new | ( | TTPtr | self, |
long | argc, | ||
t_atom * | argv | ||
) |
Wrapper for the j.in constructor class, called when an instance is created.
self | Pointer to this object. |
argc | The number of arguments passed to the object. |
argv | Pointer to an array of atoms passed to the object. |
Definition at line 196 of file Max/source/j.in/j.in.cpp.
References WrappedModularInstance::extra, in_subscribe(), jamoma_input_create(), jamoma_input_create_audio(), jamoma_ttvalue_from_Atom(), WrappedModularInstance::obj, WrappedModularInstance::outlets, TTValue::toString(), and WrappedModularInstance::wrappedObject.
Referenced by main().
void WrapTTInputClass | ( | WrappedClassPtr | c | ) |
Wrap the j.in class as a Max object.
c | The class to be wrapped |
Definition at line 165 of file Max/source/j.in/j.in.cpp.
References in_assist(), in_bang(), in_float(), in_int(), in_list(), and in_return_signal().
Referenced by main().