[kepler-dev] To know the end of an actor

Christopher Brooks cxh at eecs.berkeley.edu
Wed Aug 25 06:39:46 PDT 2010


Hi Ivens,

Display.wrapup() will be called by the director when the actor
is finished with its execution.
It is possible to register ptolemy.actor.ExectionListeners
with the ptolemy.actor.Manager and listen to the state of
the iteration for the entire model.

You can also add a listener to listen to debug messages, see
ptolemy/vergil/kernel/ListenToAction.java

_Christopher


On 8/25/10 5:39 AM, Ivens wrote:
> Hi,
>
> I would like to know if there is a way to detect that an actor has
> finished its execution.
> (for example: the actor Diplay... how can I know (in Java) that this
> actor has finished?)
> Thanks
>
> Ivens
>
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


More information about the Kepler-dev mailing list