|
CicmWrapper
A wrapper for Pure Data
|
Data Structures | |
| struct | t_eproxy |
| The Proxy object. More... | |
| struct | t_eobj |
| The object. More... | |
Functions | |
| void * | eobj_new (t_eclass *c) |
| The t_eobj creation function. More... | |
| void | eobj_free (void *x) |
| The t_eobj deletion function. This function should replace pd_free(). More... | |
| t_eproxy * | eobj_proxynew (void *x) |
| Adds a proxy inlet to a t_eobj. More... | |
| int | eobj_getproxy (void *x) |
| Retreives the index of the proxy that received the last message. More... | |
| t_eclass * | eobj_getclass (void *x) |
| Retrieves the eclass of a t_eobj. More... | |
| t_symbol * | eobj_getclassname (void *x) |
| Retrieves the classe name of a t_eobj. More... | |
| t_canvas * | eobj_getcanvas (void *x) |
| Retreives the canvas that owns the t_eobj. More... | |
| char | eobj_isbox (void *x) |
| Retreives if a t_eobj is a GUI box or not. More... | |
| char | eobj_isdsp (void *x) |
| Retreives if a t_eobj is a DSP object or not. More... | |
| void | eobj_attrprocess_viabinbuf (void *x, t_binbuf *d) |
| Changes the attributes with a binbuf. More... | |
| void | eobj_attrprocess_viatoms (void *x, int argc, t_atom *argv) |
| Changes the attributes with an array of atoms. More... | |
| void | eobj_attr_setvalueof (void *x, t_symbol *s, int argc, t_atom *argv) |
| Sets the values of an attribute. More... | |
| void | eobj_attr_getvalueof (void *x, t_symbol *s, int *argc, t_atom **argv) |
| Gets the values of an attribute. More... | |
The t_eobj part.
This part refers to the methods and structures that can be used by all the t_eobj structures.
| struct t_eproxy |
| struct t_eobj |
The object.
It contains the Pd object, the canvas pointer and members for proxy inlets. This should be used for no graphical object that don't have signal processing methods.
| Data Fields | ||
|---|---|---|
| t_object | o_obj |
The Pd object. |
| t_symbol * | o_id |
The object ID. |
| t_canvas * | o_canvas |
The canvas that own the object. |
| t_eproxy ** | o_proxy |
The array of proxy inlets. |
| int | o_nproxy |
The number of proxy inlets. |
| int | o_current_proxy |
The index of the current proxy inlet used |
| void* eobj_new | ( | t_eclass * | c | ) |
| void eobj_free | ( | void * | x | ) |
| t_eproxy* eobj_proxynew | ( | void * | x | ) |
| int eobj_getproxy | ( | void * | x | ) |
Retreives the index of the proxy that received the last message.
Retreives the current proxy index. This function should only be used while a message has been received.
| x | The t_eobj pointer. |
| t_eclass* eobj_getclass | ( | void * | x | ) |
| t_symbol* eobj_getclassname | ( | void * | x | ) |
| t_canvas* eobj_getcanvas | ( | void * | x | ) |
| char eobj_isbox | ( | void * | x | ) |
| char eobj_isdsp | ( | void * | x | ) |
| void eobj_attrprocess_viabinbuf | ( | void * | x, |
| t_binbuf * | d | ||
| ) |
Changes the attributes with a binbuf.
Retrieves and interpretes a binbuf to initialize the attributes.
| x | The t_ebox pointer. |
| d | The binbuf pointer. |
| void eobj_attrprocess_viatoms | ( | void * | x, |
| int | argc, | ||
| t_atom * | argv | ||
| ) |
Changes the attributes with an array of atoms.
Retrieves and interpretes a binbuf to initialize the attributes.
| x | The t_ebox pointer. |
| argc | The number of atoms. |
| argv | The pointer to the atoms. |
| void eobj_attr_setvalueof | ( | void * | x, |
| t_symbol * | s, | ||
| int | argc, | ||
| t_atom * | argv | ||
| ) |
Sets the values of an attribute.
Retrieves the attribute setter and calls it if it exist otherwise it does nothing.
| x | The t_eobj pointer. |
| s | The name of the attribute. |
| argc | The number of the atoms. |
| argv | The array of the atoms. |
| void eobj_attr_getvalueof | ( | void * | x, |
| t_symbol * | s, | ||
| int * | argc, | ||
| t_atom ** | argv | ||
| ) |
Gets the values of an attribute.
Retrieves the attribute getter and calls it if it exist otherwise it does nothing. You should free the atoms if they has been allocated.
| x | The t_eobj pointer. |
| s | The name of the attribute. |
| argc | The pointer to an int that will be initialize with the number of the atoms. |
| argv | The pointer to the array of the atoms that will be allocated if the attribute exist. |
1.8.8