Start
|
Index
|
Overview
•
PREV
|
UP
|
net.simplace.simulation.event.FWSimulationListener
Model listener is called for start and end of a model run and for exceptional cases. Within the
FWSimulationEvent
all data available in the model can be accessed and modified. For implementation method
simulationStarted(FWSimulationEvent)
,
simulationEnded(FWSimulationEvent)
and
simulationErrored(FWSimulationErrorEvent)
have to be implemented.
FWSimulationErrorEvent
contains additional exception information.
public interface interface
FWSimulationListener
extends java.util.EventListener {
// Public Instance Methods
public void
simulationStarted
(
FWSimulationEvent
aEvent);
invoked when a simulation is started
aEvent
public void
simulationEnded
(
FWSimulationEvent
aEvent);
invoked when a simulation has ended
aEvent
public void
simulationErrored
(
FWSimulationErrorEvent
aEvent);
invoked when a OutputEvent is received
aEvent
public void
projectEnded
(
FWSimulationEvent
aEvent);
invoked when a OutputEvent is received
aEvent
public void
iterationEnded
(
FWSimulationEvent
aEvent);
invoked when a new iteration was started
aEvent
}
Implemented by:
net.simplace.processors.LoopSimModelRunProcessor
Passed to:
net.simplace.simulation.FWSimSession.registerModelListener
(),
net.simplace.simulation.wrapper.SimplaceWrapper.registerModelListener
(),
net.simplace.simulation.FWSimSession.removeModelListener
(),
net.simplace.simulation.wrapper.SimplaceWrapper.removeModelListener
()