Jamoma API  0.6.0.a19
PureData/source/j.receive/j.receive.cpp File Reference

j.receive / j.receive~ : Receive messages and audio through remote communication More...

+ Include dependency graph for PureData/source/j.receive/j.receive.cpp:

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...
 

Detailed Description

j.receive / j.receive~ : Receive messages and audio through remote communication

Authors
Théo de la Hogue, Trond Lossius, Antoine Villeret

Definition in file PureData/source/j.receive/j.receive.cpp.

Function Documentation

void receive_address ( TTPtr  self,
t_symbol *  address 
)

address message handler for j.receive.

To change the address to bind.

Parameters
selfPointer to this object
addressThe address to bind
See also
receive_subscribe

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().

+ Here is the call graph for this function:

void receive_assist ( TTPtr  self,
void *  b,
long  msg,
long  arg,
char *  dst 
)

Assistance Method.

Parameters
selfPointer to this object.
bPointer to (exactly what?)
msgThe message passed to the object.
arg
dstPointer 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

Parameters
selfPointer to this object
See also
receive_int, receive_float, receive_list, WrappedOutputClass_anything

Definition at line 356 of file PureData/source/j.receive/j.receive.cpp.

References TTObject::send(), and WrappedModularInstance::wrappedObject.

Referenced by WrapTTReceiverClass().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

void WrappedReceiverClass_free ( TTPtr  self)

Wrapper for the j.receive deconstructor class, called when an instance is destroyed.

Parameters
selfPointer to this object.
See also
WrappedReceiverClass_new

Definition at line 186 of file PureData/source/j.receive/j.receive.cpp.

References TTObject::set(), and WrappedModularInstance::wrappedObject.

+ Here is the call graph for this function:

void WrappedReceiverClass_new ( TTPtr  self,
long  argc,
t_atom *  argv 
)

Wrapper for the j.receive constructor class, called when an instance is created.

Parameters
selfPointer to this object.
argcThe number of arguments passed to the object.
argvPointer to an array of atoms passed to the object.
See also
WrappedReceiverClass_free, receive_subscribe

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.

+ Here is the call graph for this function:

void WrapTTReceiverClass ( WrappedClassPtr  c)

Wrap the j.receive class as a Pd object.

Parameters
cThe class to be wrapped
See also
WrappedReceiverClass_new, WrappedReceiverClass_free

Definition at line 114 of file PureData/source/j.receive/j.receive.cpp.

References receive_address(), receive_assist(), and receive_bang().

+ Here is the call graph for this function: