Max 5 API Reference
|
Functions | |
| long | jit_object_classname_compare (void *x, t_symbol *name) |
| Compares object's class name with the name provided. | |
| t_symbol * | jit_object_method_argsafe_get (void *x, t_symbol *s) |
| Checks to see if symbol is safe to call as an attribute style argument. | |
| void * | jit_object_new (t_symbol *classname,...) |
| Instantiates an object specified by class name. | |
| void * | jit_object_method (void *x, t_symbol *s,...) |
| Calls an object method specified by method name. | |
| void * | jit_object_method_typed (void *x, t_symbol *s, long ac, t_atom *av, t_atom *rv) |
| Calls a typed object method specified by method name. | |
| method | jit_object_getmethod (void *x, t_symbol *s) |
| Retrieves an object method specified by method name. | |
| long | jit_object_attr_usercanset (void *x, t_symbol *s) |
| Determines if an object attribute is user settable. | |
| long | jit_object_attr_usercanget (void *x, t_symbol *s) |
| Determines if an object attribute is user gettable. | |
| void * | jit_object_attr_get (void *x, t_symbol *attrname) |
| Retrieves an object's attribute pointer specified by attribute name. | |
| t_jit_err | jit_object_free (void *x) |
| Frees an object. | |
| t_symbol * | jit_object_classname (void *x) |
| Retrieves an object's class name. | |
| void * | jit_object_class (void *x) |
| Retrieves an object's class pointer. | |
| void * | jit_object_register (void *x, t_symbol *s) |
| Registers an object in the named object registry. | |
| t_jit_err | jit_object_unregister (void *x) |
| Unregisters an object from the named object registry. | |
| void * | jit_object_findregistered (t_symbol *s) |
| Retrieves a registered object associated with name. | |
| t_symbol * | jit_object_findregisteredbyptr (void *x) |
| Retrieves a registered object's name. | |
| void * | jit_object_attach (t_symbol *s, void *x) |
| Attaches an object as a client of a named server object for notification. | |
| t_jit_err | jit_object_detach (t_symbol *s, void *x) |
| Detaches a client object from a named server object. | |
| t_jit_err | jit_object_notify (void *x, t_symbol *s, void *data) |
| Notifies all client objects for a named server object. | |
| t_jit_err | jit_object_importattrs (void *x, t_symbol *s, long argc, t_atom *argv) |
| Imports object attributes from an XML file. | |
| t_jit_err | jit_object_exportattrs (void *x, t_symbol *s, long argc, t_atom *argv) |
| Exports object attributes to an XML file. | |
| t_jit_err | jit_object_exportsummary (void *x, t_symbol *s, long argc, t_atom *argv) |
| Exports object summary to an XML file. | |
| void* jit_object_attach | ( | t_symbol * | s, | |
| void * | x | |||
| ) |
Attaches an object as a client of a named server object for notification.
| s | name of server object | |
| x | client object pointer |
| void* jit_object_attr_get | ( | void * | x, | |
| t_symbol * | attrname | |||
| ) |
Retrieves an object's attribute pointer specified by attribute name.
| x | object pointer | |
| attrname | attribute name |
| long jit_object_attr_usercanget | ( | void * | x, | |
| t_symbol * | s | |||
| ) |
Determines if an object attribute is user gettable.
| x | object pointer | |
| s | attribute name |
| long jit_object_attr_usercanset | ( | void * | x, | |
| t_symbol * | s | |||
| ) |
Determines if an object attribute is user settable.
| x | object pointer | |
| s | attribute name |
| void* jit_object_class | ( | void * | x | ) |
Retrieves an object's class pointer.
| x | object pointer |
| t_symbol* jit_object_classname | ( | void * | x | ) |
| long jit_object_classname_compare | ( | void * | x, | |
| t_symbol * | name | |||
| ) |
Compares object's class name with the name provided.
| x | object pointer | |
| name | name to compare with class name |
| t_jit_err jit_object_detach | ( | t_symbol * | s, | |
| void * | x | |||
| ) |
Detaches a client object from a named server object.
| s | name of server object | |
| x | client object pointer |
Exports object attributes to an XML file.
| x | object pointer | |
| s | ignored | |
| argc | argument count | |
| argv | argument vector |
Exports object summary to an XML file.
| x | object pointer | |
| s | ignored | |
| argc | argument count | |
| argv | argument vector |
| void * jit_object_findregistered | ( | t_symbol * | s | ) |
Retrieves a registered object associated with name.
| s | registered name |
| t_symbol* jit_object_findregisteredbyptr | ( | void * | x | ) |
Retrieves a registered object's name.
| x | object pointer |
| t_jit_err jit_object_free | ( | void * | x | ) |
Frees an object.
| x | object pointer |
Retrieves an object method specified by method name.
| x | object pointer | |
| s | method name |
Imports object attributes from an XML file.
| x | object pointer | |
| s | ignored | |
| argc | argument count | |
| argv | argument vector |
| void * jit_object_method | ( | void * | x, | |
| t_symbol * | s, | |||
| ... | ||||
| ) |
Calls an object method specified by method name.
This operation is untyped, and the contents of the stack following the method name argument are blindly passed to the method called.
| x | object pointer | |
| s | method name | |
| ... | untyped arguments passed on to the method |
Checks to see if symbol is safe to call as an attribute style argument.
| x | object pointer | |
| s | name as used via argument |
Calls a typed object method specified by method name.
This operation only supports methods which are typed--i.e. it cannot be used to call private, untyped A_CANT methods.
| x | object pointer | |
| s | method name | |
| ac | argument count | |
| av | argument vector | |
| rv | return value for A_GIMMEBACK methods |
| void * jit_object_new | ( | t_symbol * | classname, | |
| ... | ||||
| ) |
Instantiates an object specified by class name.
This function may used to create instances of any Jitter object.
| classname | class name | |
| ... | untyped arguments passed on to the constructor |
| t_jit_err jit_object_notify | ( | void * | x, | |
| t_symbol * | s, | |||
| void * | data | |||
| ) |
Notifies all client objects for a named server object.
| x | server object pointer | |
| s | notification message | |
| data | message specific data |
| void* jit_object_register | ( | void * | x, | |
| t_symbol * | s | |||
| ) |
Registers an object in the named object registry.
| x | object pointer | |
| s | object name |
| t_jit_err jit_object_unregister | ( | void * | x | ) |
Unregisters an object from the named object registry.
| x | object pointer |