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

j.parameter / j.message / j.return : Jamoma model parameter definition More...

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

Go to the source code of this file.

Classes

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

Functions

void data_assist (TTPtr self, TTPtr b, long msg, long arg, char *dst)
 Provide assistance on input and output while patching. More...
 
void data_bang (TTPtr self)
 Process an incoming 'bang' message. More...
 
void data_int (TTPtr self, long value)
 Process an incoming integer value. More...
 
void data_float (TTPtr self, double value)
 Process an incoming float value. More...
 
void data_list (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 Process an incoming message containing a list. More...
 
void data_inc (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 Increase parameter value in steps. More...
 
void data_dec (TTPtr self, t_symbol *msg, long argc, t_atom *argv)
 Decrease parameter value in steps. 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.parameter / j.message / j.return : Jamoma model parameter definition

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

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

Function Documentation

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

Provide assistance on input and output while patching.

Parameters
selfThe parameter instance.
b
msgDetermines if assistance is requested for an input or output.
argDetermines what input/output assistance is requested for.
dstDestination address that assistance string is copied to.

Definition at line 289 of file Max/source/j.parameter/j.parameter.cpp.

void data_bang ( TTPtr  self)

Process an incoming 'bang' message.

Parameters
selfThe parameter instance

Definition at line 306 of file Max/source/j.parameter/j.parameter.cpp.

References data_list().

+ Here is the call graph for this function:

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

Decrease parameter value in steps.

Optional arguments passed as pointer to array of atoms specify how many steps to increase value by, if parameter is to ramp to new value and ramp time.

Parameters
selfThe parameter instance
msgThe dec symbol pointer
argct_atom array count (length)
argvPointer to the atom array
See also
param_inc

Definition at line 369 of file Max/source/j.parameter/j.parameter.cpp.

References jamoma_ttvalue_from_Atom(), TTObject::send(), and WrappedModularInstance::wrappedObject.

+ Here is the call graph for this function:

void data_float ( TTPtr  self,
double  value 
)

Process an incoming float value.

Parameters
selfThe parameter instance.
valueThe float value received.

Definition at line 322 of file Max/source/j.parameter/j.parameter.cpp.

References data_list().

+ Here is the call graph for this function:

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

Increase parameter value in steps.

Optional arguments passed as pointer to array of atoms specify how many steps to increase value by, if parameter is to ramp to new value and ramp time.

Parameters
selfThe parameter instance
msgThe dec symbol pointer
argct_atom array count (length)
argvPointer to the atom array
See also
param_inc

Definition at line 359 of file Max/source/j.parameter/j.parameter.cpp.

References jamoma_ttvalue_from_Atom(), TTObject::send(), and WrappedModularInstance::wrappedObject.

+ Here is the call graph for this function:

void data_int ( TTPtr  self,
long  value 
)

Process an incoming integer value.

Parameters
selfThe parameter instance.
valueThe integer value received.

Definition at line 312 of file Max/source/j.parameter/j.parameter.cpp.

References data_list().

+ Here is the call graph for this function:

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

Process an incoming message containing a list.

When the object receives a bang, int, float or anything, it is fornatted as a list and frwarded to this method.

Parameters
selfThe parameter instance.
msgThe dec symbol pointer
argct_atom array count (length)
argvPointer to the atom array

Definition at line 331 of file Max/source/j.parameter/j.parameter.cpp.

References jamoma_data_command(), and WrappedModularInstance::wrappedObject.

Referenced by data_bang(), data_float(), and data_int().

+ 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 108 of file Max/source/j.parameter/j.parameter.cpp.

References wrapTTModularClassAsMaxClass().

+ Here is the call graph for this function: