|
Jamoma API
0.6.0.a19
|
j.send / j.send~ : Send messages and audio through remote communication More...
#include "TTModularClassWrapperMax.h"
Include dependency graph for Max/source/j.send/j.send.cpp:Go to the source code of this file.
Functions | |
| void | WrapTTSenderClass (WrappedClassPtr c) |
| Wrap the j.send class as a Max object. More... | |
| void | WrappedSenderClass_new (TTPtr self, long argc, t_atom *argv) |
| Wrapper for the j.send constructor class, called when an instance is created. More... | |
| void | WrappedSenderClass_free (TTPtr self) |
| Wrapper for the j.send deconstructor class, called when an instance is destroyed. More... | |
| void | send_assist (TTPtr self, void *b, long msg, long arg, char *dst) |
| Assistance Method. More... | |
| void | send_subscribe (TTPtr self) |
| Associate j.send(~) with NodeLib. More... | |
| void | send_return_model_address (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
| Internal method called when the model:address parameter changed. More... | |
| void | send_bang (TTPtr self) |
| bang handler for j.send More... | |
| void | send_int (TTPtr self, long value) |
| int handler for j.send More... | |
| void | send_float (TTPtr self, double value) |
| float handler for j.send More... | |
| void | send_list (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
| list handler for j.send More... | |
| void | WrappedSenderClass_anything (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
| anything else handler for j.send More... | |
| void | send_input (TTPtr self, t_symbol *msg, long argc, t_atom *argv) |
| Internal method used to send data to a j.in. More... | |
| void | send_address (TTPtr self, t_symbol *address) |
| address message handler for j.send. More... | |
| 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.send / j.send~ : Send messages and audio through remote communication
Definition in file Max/source/j.send/j.send.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 144 of file Max/source/j.send/j.send.cpp.
References WrappedSenderClass_anything(), WrappedSenderClass_free(), WrappedSenderClass_new(), wrapTTModularClassAsMaxClass(), and WrapTTSenderClass().
Here is the call graph for this function:| void send_address | ( | TTPtr | self, |
| t_symbol * | address | ||
| ) |
address message handler for j.send.
To change the address to bind.
| self | Pointer to this object. |
| address | The address to bind |
Definition at line 431 of file Max/source/j.send/j.send.cpp.
References WrappedModularInstance::address, TTSymbol::c_str(), TTAddress::getType(), WrappedModularInstance::internals, jamoma_parse_dieze(), kAddressAbsolute, kAddressRelative, TTHash::lookup(), TTHash::remove(), send_subscribe(), TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTSenderClass().
Here is the call graph for this function:| void send_assist | ( | TTPtr | self, |
| void * | b, | ||
| long | msg, | ||
| long | arg, | ||
| char * | dst | ||
| ) |
Assistance Method.
| self | Pointer to this object. |
| b | Pointer to (exactly what?) |
| msg | The message passed to the object. |
| arg | |
| dst | Pointer to the destination that assistance strings are passed to for display. |
Definition at line 353 of file Max/source/j.send/j.send.cpp.
Referenced by WrapTTSenderClass().
| void send_bang | ( | TTPtr | self | ) |
bang handler for j.send
| self | Pointer to this object. |
Definition at line 367 of file Max/source/j.send/j.send.cpp.
References send_list().
Referenced by WrapTTSenderClass().
Here is the call graph for this function:| void send_float | ( | TTPtr | self, |
| double | value | ||
| ) |
float handler for j.send
| self | Pointer to this object. |
| value | The value sent to this object. |
Definition at line 380 of file Max/source/j.send/j.send.cpp.
References send_list().
Referenced by WrapTTSenderClass().
Here is the call graph for this function:| void send_input | ( | TTPtr | self, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Internal method used to send data to a j.in.
| self | Pointer to this object. |
| msg | The message sent to this object. |
| argc | The number of arguments passed to the object. |
| argv | Pointer to an array of atoms passed to the object. |
| void send_int | ( | TTPtr | self, |
| long | value | ||
| ) |
int handler for j.send
| self | Pointer to this object. |
| value | The value sent to this object. |
Definition at line 372 of file Max/source/j.send/j.send.cpp.
References send_list().
Referenced by WrapTTSenderClass().
Here is the call graph for this function:| void send_list | ( | TTPtr | self, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
list handler for j.send
| self | Pointer to this object. |
| msg | The message sent 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 388 of file Max/source/j.send/j.send.cpp.
References WrappedModularInstance::address, TTAddress::getType(), jamoma_sender_send(), kAddressAbsolute, TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by send_bang(), send_float(), send_int(), WrappedSenderClass_anything(), and WrapTTSenderClass().
Here is the call graph for this function:| void send_return_model_address | ( | TTPtr | self, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Internal method called when the model:address parameter changed.
It allows relative address binding.
| self | Pointer to this object. |
| msg | The message sent 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 329 of file Max/source/j.send/j.send.cpp.
References WrappedModularInstance::address, TTAddress::appendAddress(), TTSymbol::c_str(), TTAddress::getType(), kAddressRelative, TTObject::set(), TTObject::valid(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTSenderClass().
Here is the call graph for this function:| void send_subscribe | ( | TTPtr | self | ) |
Associate j.send(~) with NodeLib.
This is a prerequisit for communication with other Jamoma object in the module and beyond.
Definition at line 256 of file Max/source/j.send/j.send.cpp.
References WrappedModularInstance::address, TTAddress::appendAddress(), TTSymbol::c_str(), TTObject::get(), jamoma_patcher_get_info(), jamoma_subscriber_create(), WrappedModularInstance::patcherClass, WrappedModularInstance::patcherContext, WrappedModularInstance::patcherName, WrappedModularInstance::patcherPtr, TTObject::set(), WrappedModularInstance::subscriberObject, and WrappedModularInstance::wrappedObject.
Referenced by send_address(), and WrappedSenderClass_new().
Here is the call graph for this function:| void WrappedSenderClass_anything | ( | TTPtr | self, |
| t_symbol * | msg, | ||
| long | argc, | ||
| t_atom * | argv | ||
| ) |
anything else handler for j.send
| self | Pointer to this object. |
| msg | The message sent 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 424 of file Max/source/j.send/j.send.cpp.
References send_list().
Referenced by main(), and WrapTTSenderClass().
Here is the call graph for this function:| void WrappedSenderClass_free | ( | TTPtr | self | ) |
Wrapper for the j.send deconstructor class, called when an instance is destroyed.
| self | Pointer to this object. |
Definition at line 240 of file Max/source/j.send/j.send.cpp.
References TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by main().
Here is the call graph for this function:| void WrappedSenderClass_new | ( | TTPtr | self, |
| long | argc, | ||
| t_atom * | argv | ||
| ) |
Wrapper for the j.send 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 188 of file Max/source/j.send/j.send.cpp.
References WrappedModularInstance::address, TTAddress::appendAttribute(), TTSymbol::c_str(), TTAddress::getName(), TTAddress::getType(), jamoma_parse_dieze(), jamoma_sender_create(), jamoma_sender_create_audio(), kAddressAbsolute, WrappedModularInstance::obj, send_subscribe(), TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by main().
Here is the call graph for this function:| void WrapTTSenderClass | ( | WrappedClassPtr | c | ) |
Wrap the j.send class as a Max object.
| c | The class to be wrapped |
Definition at line 163 of file Max/source/j.send/j.send.cpp.
References send_address(), send_assist(), send_bang(), send_float(), send_int(), send_list(), send_return_model_address(), and WrappedSenderClass_anything().
Referenced by main().
Here is the call graph for this function: