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

j.out & j.out~ & j.out= - Manage control and audio outputs for a Jamoma model More...

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

Go to the source code of this file.

Classes

struct  t_extra
 Data structure for storing extra data. More...
 

Functions

void WrapTTOutputClass (WrappedClassPtr c)
 Wrap the j.out class as a Max object. More...
 
void WrappedOutputClass_new (TTPtr self, long argc, t_atom *argv)
 Wrapper for the j.out constructor class, called when an instance is created. More...
 
void WrappedOutputClass_free (TTPtr self)
 Wrapper for the j.out deconstructor class, called when an instance is destroyed. More...
 
void out_assist (TTPtr self, TTPtr b, long msg, long arg, char *dst)
 Assistance Method. More...
 
void out_subscribe (TTPtr self)
 Associate j.out(~) with NodeLib. More...
 
void out_bang (TTPtr self)
 bang handler for j.out More...
 
void out_int (TTPtr self, long value)
 int handler for j.out More...
 
void out_float (TTPtr self, double value)
 float handler for j.out More...
 
void out_list (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 list handler for j.out More...
 
void WrappedOutputClass_anything (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 anything else handler for j.out More...
 
void out_return_signal (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 Method used to pass message to the module outlet. 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.out & j.out~ & j.out= - Manage control and audio outputs for a Jamoma model

Authors
Timothy Place, ThŽo de la Hogue, Trond Lossius

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

Function Documentation

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 152 of file Max/source/j.out/j.out.cpp.

References WrappedOutputClass_anything(), WrappedOutputClass_free(), WrappedOutputClass_new(), wrapTTModularClassAsMaxClass(), and WrapTTOutputClass().

+ Here is the call graph for this function:

void out_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 338 of file Max/source/j.out/j.out.cpp.

Referenced by WrapTTOutputClass().

void out_bang ( TTPtr  self)

bang handler for j.out

Parameters
selfPointer to this object.
See also
out_int, out_float, out_list, WrappedOutputClass_anything

Definition at line 435 of file Max/source/j.out/j.out.cpp.

References out_list().

Referenced by WrapTTOutputClass().

+ Here is the call graph for this function:

void out_float ( TTPtr  self,
double  value 
)

float handler for j.out

Parameters
selfPointer to this object.
valueThe value sent to this object.
See also
out_bang, out_int, out_list, WrappedOutputClass_anything

Definition at line 448 of file Max/source/j.out/j.out.cpp.

References out_list().

Referenced by WrapTTOutputClass().

+ Here is the call graph for this function:

void out_int ( TTPtr  self,
long  value 
)

int handler for j.out

Parameters
selfPointer to this object.
valueThe value sent to this object.
See also
out_bang, out_float, out_list, WrappedOutputClass_anything

Definition at line 440 of file Max/source/j.out/j.out.cpp.

References out_list().

Referenced by WrapTTOutputClass().

+ Here is the call graph for this function:

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

list handler for j.out

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
out_bang, out_int, out_float, WrappedOutputClass_anything

Definition at line 456 of file Max/source/j.out/j.out.cpp.

References jamoma_output_send(), and WrappedModularInstance::wrappedObject.

Referenced by out_bang(), out_float(), out_int(), and WrapTTOutputClass().

+ Here is the call graph for this function:

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

Method used to pass message to the module outlet.

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.

Definition at line 470 of file Max/source/j.out/j.out.cpp.

References WrappedModularInstance::outlets.

Referenced by WrapTTOutputClass().

void out_subscribe ( TTPtr  self)

Associate j.out(~) with NodeLib.

This is a prerequisit for communication with other Jamoma object in the module and beyond.

Definition at line 281 of file Max/source/j.out/j.out.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 WrappedOutputClass_new().

+ Here is the call graph for this function:

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

anything else handler for j.out

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
out_bang, out_int, out_float, out_list

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

References jamoma_output_send(), and WrappedModularInstance::wrappedObject.

Referenced by main().

+ Here is the call graph for this function:

void WrappedOutputClass_free ( TTPtr  self)

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

Parameters
selfPointer to this object.
See also
WrappedOutputClass_new

Definition at line 267 of file Max/source/j.out/j.out.cpp.

Referenced by main().

void WrappedOutputClass_new ( TTPtr  self,
long  argc,
t_atom *  argv 
)

Wrapper for the j.out 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
WrappedOutputClass_free, out_subscribe

Definition at line 209 of file Max/source/j.out/j.out.cpp.

References WrappedModularInstance::extra, jamoma_output_create(), jamoma_output_create_audio(), jamoma_ttvalue_from_Atom(), WrappedModularInstance::obj, out_subscribe(), WrappedModularInstance::outlets, TTValue::toString(), and WrappedModularInstance::wrappedObject.

Referenced by main().

+ Here is the call graph for this function:

void WrapTTOutputClass ( WrappedClassPtr  c)

Wrap the j.out class as a Max object.

Parameters
cThe class to be wrapped
See also
WrappedOutputClass_new, WrappedOutputClass_free

Definition at line 177 of file Max/source/j.out/j.out.cpp.

References out_assist(), out_bang(), out_float(), out_int(), out_list(), and out_return_signal().

Referenced by main().

+ Here is the call graph for this function: