net.simplace.simulation.event.FWSimModelEvent

Model event is created for start and end of a model run and for exceptional cases. Within the FWSimModelListener implementation all data available in the model can be accessed and modified. For implementation method FWSimModelListener.modelStarted(FWSimModelEvent), FWSimModelListener.modelEnded(FWSimModelEvent) and FWSimModelListener.modelErrored(FWSimModelErrorEvent) have to be implemented. FWSimModelErrorEvent extends this class and contains additional exception information.


public class FWSimModelEvent {
// Public Constructors
public FWSimModelEvent(FWSimModel aModel);


// Public Instance Methods
public FWSimModel getModel();


returns the model


}



Extended by: FWSimModelErrorEvent



Passed to: net.simplace.processors.LoopSimModelRunProcessor.modelEnded(), FWSimModelListener.modelEnded(), net.simplace.processors.LoopSimModelRunProcessor.modelStarted(), FWSimModelListener.modelStarted()