[Clam-devel] processings - network notifications (was Re: Hello world)
Pau Arumí
parumi at iua.upf.edu
Thu Apr 12 01:36:21 PDT 2007
En/na Xavier Amatriain ha escrit:
> David García Garzón wrote:
>> Until...?
>>
> How about until all the generators in the network (in this case only
> one, the file player) are not producing
> anything (i.e. empty outports)? Maybe generators like this could have
> an output control that was fired
> whenever the Processing is "done".
of course this is very much related to (avoiding) the Do() return
semantic problem.
i'm also thinking in the same line. i believe it's important this should
be handled without user
intervention. this is how i see it: a network defines a number of slots
(or incontrols whatever)
with a concrete semantic like "processing done", "processing bypassed",
"processing needs
reconfiguration". when a processing is added to the network, if it have
signals (or outcontrol
whatever) of meaningful semantic, an automatic binding mechanism does
the connections with
the network slots.
when the network is running, before each callback it checks incoming
processing events and
act in consequence: stopping, changing ports connections, etc.
what do you think?
More information about the clam-devel
mailing list