Jamoma API
0.6.0.a19
|
j.model / j.view - The main control center of Jamoma model and view patcher More...
#include "j.model.h"
Go to the source code of this file.
Functions | |
void | WrapTTContainerClass (WrappedClassPtr c) |
Set up what methods (Max messages) that the wrapped class is to respond to. More... | |
void | WrappedContainerClass_new (TTPtr self, long argc, t_atom *argv) |
Constructor: Initiate the wrapped object instance. More... | |
void | WrappedContainerClass_free (TTPtr self) |
Deconstructor: Destroy the object and free memory assigned to it. More... | |
void | model_subscribe (TTPtr self) |
void | model_subscribe_view (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_return_upper_view_model_address (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_init (TTPtr self) |
void | model_assist (TTPtr self, void *b, long msg, long arg, char *dst) |
Display assist messages for inlets and outlets in Max. More... | |
void | model_share_patcher_info (TTPtr self, TTValuePtr patcherInfo) |
void | model_share_patcher_node (TTPtr self, TTNodePtr *patcherNode) |
void | WrappedContainerClass_anything (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_return_address (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_return_value (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_reference_write (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_reference_dowrite (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
void | model_address (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
t_max_err | model_get_amenities (TTPtr self, TTPtr attr, long *ac, t_atom **av) |
t_max_err | model_set_amenities (TTPtr self, TTPtr attr, long ac, t_atom *av) |
TTBoolean | model_test_amenities (TTPtr self, TTSymbol name) |
j.model / j.view - The main control center of Jamoma model and view patcher
Definition in file PureData/source/j.model/j.model.cpp.
void model_address | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 611 of file PureData/source/j.model/j.model.cpp.
References WrappedModularInstance::patcherContext.
Referenced by WrapTTContainerClass().
void model_assist | ( | TTPtr | self, |
void * | b, | ||
long | msg, | ||
long | arg, | ||
char * | dst | ||
) |
Display assist messages for inlets and outlets in Max.
self | Pointer to the object. |
b | This does not seem to be used. |
msg | "1" if we are to display assist message for an inlet, else we are to display assist message for an outlet. |
arg | The number of the inlet or outlet that we are to display assist message for. 0 is the leftmost. |
dst | Pointer to the destination used for displaying the assist message. |
Definition at line 504 of file PureData/source/j.model/j.model.cpp.
References WrappedModularInstance::patcherContext.
Referenced by WrapTTContainerClass().
self | |
attr | |
ac | |
av |
Definition at line 628 of file PureData/source/j.model/j.model.cpp.
References jamoma_ttvalue_to_Atom(), and TTValue::size().
Referenced by WrapTTContainerClass().
void model_init | ( | TTPtr | self | ) |
self |
Definition at line 490 of file PureData/source/j.model/j.model.cpp.
References TTObject::get(), TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by model_subscribe().
void model_reference_dowrite | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 581 of file PureData/source/j.model/j.model.cpp.
References TTValue::append(), TTSymbol::c_str(), WrappedModularInstance::internals, jamoma_file_write(), TTHash::lookup(), WrappedModularInstance::patcherClass, TTObject::send(), TTObject::set(), TTObject::valid(), and WrappedModularInstance::wrappedObject.
Referenced by model_reference_write().
void model_reference_write | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 575 of file PureData/source/j.model/j.model.cpp.
References model_reference_dowrite().
Referenced by WrapTTContainerClass().
void model_return_address | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 559 of file PureData/source/j.model/j.model.cpp.
Referenced by WrapTTContainerClass().
void model_return_upper_view_model_address | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 471 of file PureData/source/j.model/j.model.cpp.
References TTAddress::appendAddress(), and jamoma_ttvalue_from_Atom().
Referenced by WrapTTContainerClass().
void model_return_value | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 567 of file PureData/source/j.model/j.model.cpp.
References WrappedModularInstance::outlets.
Referenced by WrapTTContainerClass().
self | |
attr | |
ac | |
av |
Definition at line 652 of file PureData/source/j.model/j.model.cpp.
References jamoma_ttvalue_from_Atom(), and TTValue::size().
Referenced by WrapTTContainerClass().
void model_share_patcher_info | ( | TTPtr | self, |
TTValuePtr | patcherInfo | ||
) |
self | |
patcherInfo |
Definition at line 527 of file PureData/source/j.model/j.model.cpp.
References TTValue::append(), TTValue::clear(), WrappedModularInstance::patcherClass, WrappedModularInstance::patcherContext, WrappedModularInstance::patcherName, and WrappedModularInstance::patcherPtr.
Referenced by WrapTTContainerClass().
self | |
patcherNode |
Definition at line 540 of file PureData/source/j.model/j.model.cpp.
References TTObject::get(), WrappedModularInstance::subscriberObject, and TTObject::valid().
Referenced by WrapTTContainerClass().
void model_subscribe | ( | TTPtr | self | ) |
self |
Definition at line 202 of file PureData/source/j.model/j.model.cpp.
References accessApplicationLocalDirectory, TTAddress::appendAddress(), TTSymbol::c_str(), TTObject::get(), TTNode::getContext(), TTNode::getParent(), jamoma_patcher_get(), jamoma_patcher_get_args(), jamoma_patcher_get_hierarchy(), jamoma_patcher_get_info(), jamoma_subscriber_create(), model_init(), model_preset_amenities(), model_signal_amenities(), model_subscribe_view(), model_test_amenities(), WrappedModularInstance::patcherClass, WrappedModularInstance::patcherContext, WrappedModularInstance::patcherName, WrappedModularInstance::patcherPtr, TTObject::send(), TTObject::set(), TTValue::size(), WrappedModularInstance::subscriberObject, and WrappedModularInstance::wrappedObject.
Referenced by WrapTTContainerClass().
void model_subscribe_view | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | |
msg | |
argc | |
argv |
Definition at line 373 of file PureData/source/j.model/j.model.cpp.
References accessApplicationLocalDirectory, TTAddress::appendAddress(), TTAddress::appendInstance(), TTNode::getAddress(), TTAddress::getInstance(), TTAddress::getType(), jamoma_patcher_get(), jamoma_patcher_get_hierarchy(), jamoma_patcher_get_model_patcher(), kAddressAbsolute, model_subscribe_view(), WrappedModularInstance::patcherClass, and WrappedModularInstance::patcherPtr.
Referenced by model_subscribe().
self | |
name |
Definition at line 676 of file PureData/source/j.model/j.model.cpp.
Referenced by model_subscribe().
void WrappedContainerClass_anything | ( | TTPtr | self, |
t_symbol * | msg, | ||
long | argc, | ||
t_atom * | argv | ||
) |
self | Pointer to the object. |
msg | The message sent to the object. |
argc | The number of arguments of the message. |
argv | The arguments of the message as an array of atoms. |
Definition at line 551 of file PureData/source/j.model/j.model.cpp.
References jamoma_container_send(), and WrappedModularInstance::wrappedObject.
void WrappedContainerClass_free | ( | TTPtr | self | ) |
Deconstructor: Destroy the object and free memory assigned to it.
self | Pointer to the object. |
Definition at line 159 of file PureData/source/j.model/j.model.cpp.
References TTObject::send(), TTObject::set(), and WrappedModularInstance::wrappedObject.
void WrappedContainerClass_new | ( | TTPtr | self, |
long | argc, | ||
t_atom * | argv | ||
) |
Constructor: Initiate the wrapped object instance.
self | Pointer to the object. |
argc | The number of arguments to the new object instance |
argv | Pointer to the array of atoms containing the arguments to the object instance. |
Definition at line 101 of file PureData/source/j.model/j.model.cpp.
References WrappedModularInstance::extra, jamoma_container_create(), jamoma_patcher_get(), jamoma_patcher_get_model_or_view(), model_subscribe(), WrappedModularInstance::obj, WrappedModularInstance::outlets, WrappedModularInstance::patcherContext, TTObject::set(), and WrappedModularInstance::wrappedObject.
void WrapTTContainerClass | ( | WrappedClassPtr | c | ) |
Set up what methods (Max messages) that the wrapped class is to respond to.
c | Pointer to the wrapped class. |
Definition at line 42 of file PureData/source/j.model/j.model.cpp.
References model_address(), model_assist(), model_get_amenities(), model_preset_edclose(), model_preset_edit(), model_preset_filechanged(), model_preset_get_presets(), model_preset_read(), model_preset_read_again(), model_preset_return_names(), model_preset_set_presets(), model_preset_write(), model_preset_write_again(), model_reference_write(), model_return_address(), model_return_upper_view_model_address(), model_return_value(), model_set_amenities(), model_share_patcher_info(), model_share_patcher_node(), model_signal_amenities(), model_signal_return_audio_bypass(), model_signal_return_audio_gain(), model_signal_return_audio_mix(), model_signal_return_audio_mute(), model_signal_return_data_active(), model_signal_return_data_bypass(), and model_subscribe().