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

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

+ Include dependency graph for PureData/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_float (TTPtr self, t_float 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...
 
void data_loadbang (TTPtr self)
 Loadbang method to register parameter after box creation.
 

Detailed Description

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

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

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

void data_bang ( TTPtr  self)

Process an incoming 'bang' message.

Parameters
selfThe parameter instance

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

Process an incoming float value.

Parameters
selfThe parameter instance.
valueThe float value received.

Definition at line 316 of file PureData/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 353 of file PureData/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_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 325 of file PureData/source/j.parameter/j.parameter.cpp.

References jamoma_data_command(), and WrappedModularInstance::wrappedObject.

Referenced by data_bang(), and data_float().

+ Here is the call graph for this function: