end of model execution callback

2008-01-15 Thread Planat, Vincent
Hi, I'm currently using Ptolemy in a batch mode in the sense that I loop several time a Ptolemy model to converge to a solution. To do that I have a class (convergeEngine) which does a new MoMLSimpleApplication(moMlFileVal); The moMlFileVal contains a Customized actor fired() several hundred

Re: end of model execution callback

2008-01-15 Thread Erwin De Ley
Hi Vincent, You can implement a ptolemy.actor.ExecutionListener, and do a ptolemy.actor.Manager.addExecutionListener(...) before launching the model through the manager. Then you are notified of the end of a model execution, but e.g. also when there's an exception during the execution.