Class LoopSimModelRunProcessor
java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.control.FWLoopProcessor
net.simplace.client.sim.processors.LoopSimModelRunProcessor
- All Implemented Interfaces:
EventListener,FWSimulationListener
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class net.simplace.pipe.control.FWLoopProcessor
iLoopCount, iLoopMap, iLoopPipeId, iSeparateRunsFields inherited from class net.simplace.pipe.control.FWProcessor
iAllreadyLoopedCount, iContainer, iInObservable, iObservable, iProgressTasks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a connectlet by dynamically instancing the class given in the JDM element.voidvoidinvoked when a new iteration was startedprotected booleanprocess()Must be overridden to implement concrete pipe procedure.voidprojectEnded(FWSimulationEvent<FWSimProject> aEvent) invoked when a OutputEvent is receivedvoidsimulationEnded(FWSimulationEvent<FWSimModel> aEvent) invoked when a simulation has endedvoidinvoked when a OutputEvent is receivedvoidsimulationStarted(FWSimulationEvent<FWSimModel> aEvent) invoked when a simulation is startedMethods inherited from class net.simplace.pipe.control.FWLoopProcessor
checkInParameterMap, checkOutParameterMap, getLoopCount, getLoopMap, getLoopPipeID, interveneRunLoop, runLoopMethods inherited from class net.simplace.pipe.control.FWProcessor
containsParameter, createProcessor, createProcessor, fireTaskEvent, getAllStringInParameters, getConfiguration, getInitialParameters, getInParameter, getInParameter, getInParameters, getOutParameter, getOutParameterKeys, getPipeLine, getProgressTask, getStringInParameter, getStringInParameter, getSystemID, hasConfiguration, isEndOfPipe, pipe, removeOutParameter, setConfiguration, setEndOfPipeFlag, setInitialParameters, setInParameterMap, setLoopedCount, setOutParameter, setStateOfTask, setStateProgressing, toXML
-
Constructor Details
-
LoopSimModelRunProcessor
public LoopSimModelRunProcessor()
-
-
Method Details
-
process
Description copied from class:FWProcessorMust be overridden to implement concrete pipe procedure.- Specified by:
processin classFWProcessor- Returns:
- success
- Throws:
PipeLineException- See Also:
-
getNewProgressTask
- Overrides:
getNewProgressTaskin classFWProcessor- Returns:
- the progressTask for given LoopCount (1-n)
-
initLoop
- Overrides:
initLoopin classFWLoopProcessor
-
clone
Description copied from class:FWProcessorCreates a connectlet by dynamically instancing the class given in the JDM element.- Overrides:
clonein classFWLoopProcessor
-
simulationStarted
Description copied from interface:FWSimulationListenerinvoked when a simulation is started- Specified by:
simulationStartedin interfaceFWSimulationListener
-
simulationEnded
Description copied from interface:FWSimulationListenerinvoked when a simulation has ended- Specified by:
simulationEndedin interfaceFWSimulationListener
-
simulationErrored
Description copied from interface:FWSimulationListenerinvoked when a OutputEvent is received- Specified by:
simulationErroredin interfaceFWSimulationListener
-
projectEnded
Description copied from interface:FWSimulationListenerinvoked when a OutputEvent is received- Specified by:
projectEndedin interfaceFWSimulationListener
-
iterationEnded
Description copied from interface:FWSimulationListenerinvoked when a new iteration was started- Specified by:
iterationEndedin interfaceFWSimulationListener
-