[PD-dev] [ pure-data-Patches-1544041 ] [initbang] for abstraction-constructor

SourceForge.net noreply at sourceforge.net
Mon Aug 21 17:55:25 CEST 2006


Patches item #1544041, was opened at 2006-08-21 17:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1544041&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: wishlist
Status: Open
Resolution: None
Priority: 5
Submitted By: IOhannes m zmölnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: [initbang] for abstraction-constructor

Initial Comment:
attached is a patch that adds a new object [initbang]
to Pd.

This object is similar to [loadbang], however it gets
executed just after the rest of the abstraction is
built and _before_ the parent of the abstraction is
finished.

reasoning:
this object allows abstractions to have a runtime
constructor (similar to the <object>_new() constructor
of c-externals); the [initbang] is emitted before the
parent patch is finalized, thus allowing the
abstraction to add inlets/outlets depending on its
arguments).


caveats:
a similar method for the abstraction _destructor_ is
still missing.

i haven't implemented an "initbang" message to the
canvas to rerun the initialization again.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1544041&group_id=55736




More information about the Pd-dev mailing list