Jamoma API  0.6.0.a19
PureData/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 PureData/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_float (TTPtr self, t_float 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...
 

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, Antoine Villeret

Definition in file PureData/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 324 of file PureData/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_float, in_list, WrappedInputClass_anything

Definition at line 445 of file PureData/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,
t_float  value 
)

float handler for j.in

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

Definition at line 450 of file PureData/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_float, WrappedInputClass_anything

Definition at line 458 of file PureData/source/j.in/j.in.cpp.

References jamoma_input_send(), and WrappedModularInstance::wrappedObject.

Referenced by in_bang(), in_float(), 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 465 of file PureData/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 267 of file PureData/source/j.in/j.in.cpp.

References TTAddress::appendAddress(), TTAddress::appendInstance(), TTNode::getAddress(), TTAddress::getInstance(), TTNode::getParent(), jamoma_patcher_get_model_or_view(), jamoma_subscriber_create(), WrappedModularInstance::patcherPtr, TTObject::set(), WrappedModularInstance::subscriberObject, and WrappedModularInstance::wrappedObject.

+ 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_float, in_list

Definition at line 478 of file PureData/source/j.in/j.in.cpp.

References jamoma_input_send(), jamoma_patcher_get_model_or_view(), WrappedModularInstance::patcherPtr, and WrappedModularInstance::wrappedObject.

+ 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 253 of file PureData/source/j.in/j.in.cpp.

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 190 of file PureData/source/j.in/j.in.cpp.

References WrappedModularInstance::extra, jamoma_input_create(), jamoma_input_create_audio(), jamoma_ttvalue_from_Atom(), WrappedModularInstance::obj, WrappedModularInstance::outlets, TTValue::toString(), and WrappedModularInstance::wrappedObject.

+ 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 159 of file PureData/source/j.in/j.in.cpp.

References in_assist(), in_bang(), in_float(), in_list(), and in_return_signal().

+ Here is the call graph for this function: