Jamoma API  0.6.0.a19
Max/source/j.in/j.in.cpp File Reference

j.in & j.in~ & j.in= - Manage control and audio inputs for a Jamoma model More...

+ Include dependency graph for Max/source/j.in/j.in.cpp:

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...
 

Detailed Description

j.in & j.in~ & j.in= - Manage control and audio inputs for a Jamoma model

Authors
Tim Place, Théo de la Hogue, Nils Peters, Trond Lossius

Definition in file Max/source/j.in/j.in.cpp.

Function Documentation

void in_assist ( TTPtr  self,
TTPtr  b,
long  msg,
long  arg,
char *  dst 
)

Assistance Method.

Parameters
selfPointer to this object.
bPointer to (exactly what?)
msgThe message passed to the object.
arg
dstPointer 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

Parameters
selfPointer to this object.
See also
in_int, in_float, in_list, WrappedInputClass_anything

Definition at line 450 of file Max/source/j.in/j.in.cpp.

References in_list().

Referenced by WrapTTInputClass().

+ Here is the call graph for this function:

void in_float ( TTPtr  self,
double  value 
)

float handler for j.in

Parameters
selfPointer to this object.
valueThe value sent to this object.
See also
in_bang, in_int, in_list, WrappedInputClass_anything

Definition at line 463 of file Max/source/j.in/j.in.cpp.

References in_list().

Referenced by WrapTTInputClass().

+ Here is the call graph for this function:

void in_int ( TTPtr  self,
long  value 
)

int handler for j.in

Parameters
selfPointer to this object.
valueThe value sent to this object.
See also
in_bang, in_float, in_list, WrappedInputClass_anything

Definition at line 455 of file Max/source/j.in/j.in.cpp.

References in_list().

Referenced by WrapTTInputClass().

+ Here is the call graph for this function:

void in_list ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)

list handler for j.in

Parameters
selfPointer to this object.
msgThe message sent to this object.
argcThe number of arguments passed to the object.
argvPointer to an array of atoms passed to the object.
See also
in_bang, in_int, in_float, WrappedInputClass_anything

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().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

int C74_EXPORT 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 141 of file Max/source/j.in/j.in.cpp.

References WrappedInputClass_anything(), WrappedInputClass_free(), WrappedInputClass_new(), WrapTTInputClass(), and wrapTTModularClassAsMaxClass().

+ Here is the call graph for this function:

void WrappedInputClass_anything ( TTPtr  self,
t_symbol *  msg,
long  argc,
t_atom *  argv 
)

anything else handler for j.in

Parameters
selfPointer to this object.
msgThe message sent to this object.
argcThe number of arguments passed to the object.
argvPointer to an array of atoms passed to the object.
See also
in_bang, in_int, in_float, in_list

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().

+ Here is the call graph for this function:

void WrappedInputClass_free ( TTPtr  self)

Wrapper for the j.in deconstructor class, called when an instance is destroyed.

Parameters
selfPointer to this object.
See also
WrappedInputClass_new

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.

Parameters
selfPointer to this object.
argcThe number of arguments passed to the object.
argvPointer to an array of atoms passed to the object.
See also
WrappedInputClass_free, in_subscribe

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().

+ Here is the call graph for this function:

void WrapTTInputClass ( WrappedClassPtr  c)

Wrap the j.in class as a Max object.

Parameters
cThe class to be wrapped
See also
WrappedInputClass_new, WrappedInputClass_free

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().

+ Here is the call graph for this function: