eclipselabs / passerelle

Passerelle, an actor-based process engine based on Ptolemy II
5 stars 3 forks source link

MessageInputContext no longer maintains port indices #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Port indices for actors with dynamically configured multiple input/output ports 
are no longer maintained since a while.

But they are still used in 4 Soleil actors :
- SynchronizingScriptConverter
- DynamicPortScriptConverter
- MultipleOutputsSynchronizer
- Expression

The actors should be adapted to a new indexing approach.

Original issue reported on code.google.com by erwin...@gmail.com on 3 Aug 2012 at 7:20

GoogleCodeExporter commented 9 years ago
A method getPortIndex(MessageInputContext) will be added on the base class 
fr...DynamicPortsActor, and used to derive the port index wherever needed.

The same method will also be added on Passerelle's own DynamicPortsActor on the 
trunk. So the Soleil-specific one can be removed once Soleil upgrades to 
Passerelle 8.2.

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:43

GoogleCodeExporter commented 9 years ago
Implemented and tested with sample model.

Vincent, can you test it on your side and then put the issue to Verified?

tx
erwin

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:49

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by erwin...@gmail.com on 5 Aug 2012 at 12:49