Jamoma API
0.6.0.a19
|
j.ramp : Ramp values using Jamoma's RampLib library More...
#include "TTModularClassWrapperMax.h"
Go to the source code of this file.
Classes | |
struct | t_extra |
Data structure for storing extra data. More... | |
Functions | |
void | WrapTTRampClass (WrappedClassPtr c) |
Wrap the TTRamp class as a Max object. More... | |
void | WrappedRampClass_new (TTPtr self, long argc, t_atom *argv) |
Wrapper for the j.ramp constructor class, called when an instance is created. More... | |
void | WrappedRampClass_free (TTPtr self) |
Wrapper for the j.ramp destructor class, called when an instance is deleted. More... | |
void | ramp_assist (TTPtr self, void *b, long msg, long arg, char *dst) |
Method for Assistance Messages. | |
void | ramp_bang (TTPtr self) |
Get a new value now. More... | |
void | ramp_int (TTPtr self, long n) |
Method for int input, instantly updates current value of the object. More... | |
void | ramp_float (TTPtr self, double f) |
Method for float input, instantly updates current value of the object. More... | |
void | ramp_set (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Set current value while surpressing new value(s from being output. More... | |
void | ramp_stop (TTPtr self) |
Stop ongoing ramp. | |
void | ramp_list (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Method for list input <value(s), "ramp", ramptime> | |
void | ramp_return_value (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Return the ramped values out. | |
void | ramp_schedulerParameter (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Get or set value of scheduler parameter. | |
void | ramp_functionParameter (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
Get or set value of function parameter. | |
int C74_EXPORT | main (void) |
Set up this class as a Max external the first time an object of this kind is instantiated. More... | |
j.ramp : Ramp values using Jamoma's RampLib library
Definition in file j.ramp.cpp.
int C74_EXPORT main | ( | void | ) |
Set up this class as a Max external the first time an object of this kind is instantiated.
Set up this class as a Max external the first time an object of this kind is instantiated.
Definition at line 89 of file j.ramp.cpp.
References WrappedRampClass_free(), WrappedRampClass_new(), wrapTTModularClassAsMaxClass(), and WrapTTRampClass().
void ramp_bang | ( | TTPtr | self | ) |
Get a new value now.
Definition at line 179 of file j.ramp.cpp.
References TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTRampClass().
void ramp_float | ( | TTPtr | self, |
double | f | ||
) |
Method for float input, instantly updates current value of the object.
Definition at line 201 of file j.ramp.cpp.
References WrappedModularInstance::outlets, TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by main(), and WrapTTRampClass().
void ramp_int | ( | TTPtr | self, |
long | n | ||
) |
Method for int input, instantly updates current value of the object.
Definition at line 188 of file j.ramp.cpp.
References WrappedModularInstance::outlets, TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by main(), and WrapTTRampClass().
void ramp_set | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
Set current value while surpressing new value(s from being output.
Definition at line 214 of file j.ramp.cpp.
References jamoma_ttvalue_from_Atom(), TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTRampClass().
void WrappedRampClass_free | ( | TTPtr | self | ) |
Wrapper for the j.ramp destructor class, called when an instance is deleted.
self | Pointer to this object. |
Definition at line 146 of file j.ramp.cpp.
Referenced by main().
void WrappedRampClass_new | ( | TTPtr | self, |
long | argc, | ||
t_atom * | argv | ||
) |
Wrapper for the j.ramp constructor class, called when an instance is created.
self | Pointer to this object. |
argc | The number of arguments passed to the object. |
argv | Pointer to an array of atoms passed to the object. |
Definition at line 124 of file j.ramp.cpp.
References WrappedModularInstance::extra, jamoma_ramp_create(), WrappedModularInstance::outlets, TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by main().
void WrapTTRampClass | ( | WrappedClassPtr | c | ) |
Wrap the TTRamp class as a Max object.
c | The class to be wrapped |
Definition at line 100 of file j.ramp.cpp.
References ramp_assist(), ramp_bang(), ramp_float(), ramp_functionParameter(), ramp_int(), ramp_list(), ramp_return_value(), ramp_schedulerParameter(), ramp_set(), and ramp_stop().
Referenced by main().