Jamoma API
0.6.0.a19
|
j.receive / j.receive~ : Receive messages and audio through remote communication More...
#include "TTModularClassWrapperPd.h"
Go to the source code of this file.
Functions | |
void | WrapTTReceiverClass (WrappedClassPtr c) |
Wrap the j.receive class as a Pd object. More... | |
void | WrappedReceiverClass_new (TTPtr self, long argc, t_atom *argv) |
Wrapper for the j.receive constructor class, called when an instance is created. More... | |
void | WrappedReceiverClass_free (TTPtr self) |
Wrapper for the j.receive deconstructor class, called when an instance is destroyed. More... | |
void | receive_assist (TTPtr self, void *b, long msg, long arg, char *dst) |
Assistance Method. More... | |
void | receive_subscribe (TTPtr self) |
Associate j.receive(~) with NodeLib. More... | |
void | receive_bang (TTPtr self) |
bang handler for j.receive More... | |
void | receive_address (TTPtr self, t_symbol *address) |
address message handler for j.receive. More... | |
j.receive / j.receive~ : Receive messages and audio through remote communication
Definition in file PureData/source/j.receive/j.receive.cpp.
void receive_address | ( | TTPtr | self, |
t_symbol * | address | ||
) |
address message handler for j.receive.
To change the address to bind.
self | Pointer to this object |
address | The address to bind |
Definition at line 387 of file PureData/source/j.receive/j.receive.cpp.
References WrappedModularInstance::address, TTAddress::appendAttribute(), TTSymbol::c_str(), TTAddress::getAttribute(), TTAddress::getName(), TTAddress::getType(), WrappedModularInstance::internals, kAddressAbsolute, kAddressRelative, TTHash::lookup(), receive_subscribe(), TTHash::remove(), TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTReceiverClass().
void receive_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 335 of file PureData/source/j.receive/j.receive.cpp.
Referenced by WrapTTReceiverClass().
void receive_bang | ( | TTPtr | self | ) |
bang handler for j.receive
self | Pointer to this object |
Definition at line 356 of file PureData/source/j.receive/j.receive.cpp.
References TTObject::send(), and WrappedModularInstance::wrappedObject.
Referenced by WrapTTReceiverClass().
void receive_subscribe | ( | TTPtr | self | ) |
Associate j.receive(~) with NodeLib.
This is a prerequisit for communication with other Jamoma object in the module and beyond.
Definition at line 202 of file PureData/source/j.receive/j.receive.cpp.
References WrappedModularInstance::address, TTAddress::appendAddress(), TTSymbol::c_str(), TTObject::get(), WrappedModularInstance::index, jamoma_patcher_get_info(), jamoma_subscriber_create(), WrappedModularInstance::patcherClass, WrappedModularInstance::patcherContext, WrappedModularInstance::patcherName, WrappedModularInstance::patcherPtr, TTObject::set(), WrappedModularInstance::subscriberObject, and WrappedModularInstance::wrappedObject.
Referenced by receive_address().
void WrappedReceiverClass_free | ( | TTPtr | self | ) |
Wrapper for the j.receive deconstructor class, called when an instance is destroyed.
self | Pointer to this object. |
Definition at line 186 of file PureData/source/j.receive/j.receive.cpp.
References TTObject::set(), and WrappedModularInstance::wrappedObject.
void WrappedReceiverClass_new | ( | TTPtr | self, |
long | argc, | ||
t_atom * | argv | ||
) |
Wrapper for the j.receive 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 137 of file PureData/source/j.receive/j.receive.cpp.
References WrappedModularInstance::address, TTAddress::appendAttribute(), TTAddress::getAttribute(), TTAddress::getName(), WrappedModularInstance::index, jamoma_receiver_create(), jamoma_receiver_create_audio(), WrappedModularInstance::obj, WrappedModularInstance::outlets, and WrappedModularInstance::wrappedObject.
void WrapTTReceiverClass | ( | WrappedClassPtr | c | ) |
Wrap the j.receive class as a Pd object.
c | The class to be wrapped |
Definition at line 114 of file PureData/source/j.receive/j.receive.cpp.
References receive_address(), receive_assist(), and receive_bang().