Jamoma API
0.6.0.a19
|
j.receive / j.receive~ : Receive messages and audio through remote communication More...
#include "TTModularClassWrapperMax.h"
Go to the source code of this file.
Functions | |
void | WrapTTReceiverClass (WrappedClassPtr c) |
Wrap the j.receive class as a Max 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... | |
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.receive / j.receive~ : Receive messages and audio through remote communication
Definition in file Max/source/j.receive/j.receive.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 95 of file Max/source/j.receive/j.receive.cpp.
References WrappedReceiverClass_free(), WrappedReceiverClass_new(), wrapTTModularClassAsMaxClass(), and WrapTTReceiverClass().
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 377 of file Max/source/j.receive/j.receive.cpp.
References WrappedModularInstance::address, TTAddress::appendAttribute(), TTSymbol::c_str(), TTAddress::getAttribute(), TTAddress::getName(), TTAddress::getType(), WrappedModularInstance::internals, jamoma_parse_dieze(), 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 341 of file Max/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 366 of file Max/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 209 of file Max/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(), and WrappedReceiverClass_new().
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 193 of file Max/source/j.receive/j.receive.cpp.
References TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by main().
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 133 of file Max/source/j.receive/j.receive.cpp.
References WrappedModularInstance::address, TTAddress::appendAttribute(), TTSymbol::c_str(), TTAddress::getAttribute(), TTAddress::getName(), TTAddress::getType(), WrappedModularInstance::index, jamoma_parse_dieze(), jamoma_receiver_create(), jamoma_receiver_create_audio(), kAddressAbsolute, WrappedModularInstance::obj, WrappedModularInstance::outlets, receive_subscribe(), TTObject::set(), and WrappedModularInstance::wrappedObject.
Referenced by main().
void WrapTTReceiverClass | ( | WrappedClassPtr | c | ) |
Wrap the j.receive class as a Max object.
c | The class to be wrapped |
Definition at line 111 of file Max/source/j.receive/j.receive.cpp.
References receive_address(), receive_assist(), and receive_bang().
Referenced by main().