Package fr.ifremer.isisfish.simulator
Interface SimulationListener
- All Known Subinterfaces:
ResultStorage,SimulationResultListener
- All Known Implementing Classes:
ResultDatabaseStorage,ResultMappedStorage,ResultStorageAbstract,ResultStorageCSV,ResultStorageInMemory,SimulationExportResultWrapper,SimulationPreScriptListener,SimulationResultXML
public interface SimulationListener
You can create new SimulationListener and add it for simulation. To do that
add tag/value in advanced parameter simulation launcher like
tag: SimulationListener
value: fr.ifremer.simulator.SimulationResultXML(outFilename="/tmp/export-isis/mexico.xml"), ...
- Author:
- poussin
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterSimulation(SimulationContext context) called after simulationvoidbeforeSimulation(SimulationContext context) called before simulationvoidstepChange(SimulationContext context, TimeStep step) Receive event when simulation change step
-
Method Details
-
beforeSimulation
called before simulation- Parameters:
context-
-
stepChange
Receive event when simulation change step- Parameters:
context-step- new Step
-
afterSimulation
called after simulation- Parameters:
context-
-