[PD] make first inlet a proxy inlet

Miller Puckette msp at ucsd.edu
Tue Apr 22 10:34:04 CEST 2014


That's right.  I don't have any good examples of this but it should work
fine.

cheers
M

On Mon, Apr 21, 2014 at 02:02:15PM -0700, Jonathan Wilkes wrote:
> I think I answered my own question.  It looks like I can use CLASS_NOINLET, then create an inlet explicitly inside the *_new function for my classes.
> 
> On Monday, April 21, 2014 4:49 PM, Jonathan Wilkes <jancsika at yahoo.com> wrote:
>  
> Let's say I have foo_class that creates object [foo] and bar_class which creates object [bar].
> 
> I want the inlet of both to forward incoming messages to an object of type blah_class which serves as a proxy inlet.  (The struct of foo and bar would store a pointer to it and control creation and freeing of it.)
> 
> Is there a way to specify this inside foo_new and bar_new, or is the easiest way to just use a class_addanything and forward messages that way?
> 
> 
> -Jonathan

> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list