Patcher

Max's patcher represents a graph of objects that communicate with messages. More...

+ Collaboration diagram for Patcher:

Data Structures

struct  t_jbox
 The t_jbox struct provides the header for a Max user-interface object. More...

Modules

 jpatcher
 

The patcher.


 jbox
 

A box in the patcher.


 jpatchline
 

A patch cord.


 jpatcherview
 

A view of a patcher.


Typedefs

typedef t_object t_patcher
 A patcher.
typedef t_object t_box
 A box.

Enumerations

enum  { PI_DEEP, PI_REQUIREFIRSTIN, PI_WANTBOX }
 patcher iteration flags More...

Detailed Description

Max's patcher represents a graph of objects that communicate with messages.

This is the public interface to the jpatcher -- the new patcher object in Max 5. The jpatcher is fully controllable via obex attributes and methods.

The jpatcher_api.h header defines constants, enumerations, symbols, structs, and functions for working with the jpatcher. It also includes utility functions for getting/setting attributes and for calling methods. These utilities are just wrapping the obex interface and thus loosely connect your code to the jpatcher implementation.

Finally methods are defined for implementing your own boxes.


Typedef Documentation

typedef t_object t_box

A box.

As of Max 5, the box struct is opaque. Messages can be sent to a box using object_method() or object_method_typed(), or by using Attributes accessors.

A patcher.

As of Max 5, the patcher struct is opaque. Messages can be sent to a patcher using object_method() or object_method_typed(), or by using Attributes accessors.


Enumeration Type Documentation

anonymous enum

patcher iteration flags

Enumerator:
PI_DEEP 

descend into subpatchers (not used by audio library)

PI_REQUIREFIRSTIN 

if b->b_firstin is NULL, do not call function

PI_WANTBOX 

instead, of b->b_firstin, pass b to function, whether or not b->b_firstin is NULL