Package net.simplace.sim
Klasse FWSimSession
java.lang.Object
net.simplace.sim.FWSimSession
- Autor:
- Andreas Enders
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumDifferent variables have different identifies to be able to divide them within within the debugging phase of the software developing process.static enum -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungFWSimSession(FWSimSolution aSolution, FileData aSolutionFile) FWSimSession(org.jdom2.Element aSolutionElement, FWSimVarMap aVarMap, Object[][] aParameters, String aSessionName, FileData aSolutionFile) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()If when simulation ended finalize sets simulation to inactivevoidfinalize()If when simulation ended finalize sets simulation to inactivesets simulation to activegetProject(String aProjectID) voidhandleModelErrorEvent(FWSimulationErrorEvent aModelEvent) voidinitProjects(FWSimVarMap aVarMap) booleanisActive()voiditerationEnded(FWSimulationControlCache aControlCache) voidvoidprojectEnded(FWSimProject aFWSimProject, Integer aPercentage) voidregisterModelListener(FWSimulationListener aModelListener) Model listener gets Model Event with the current ModelvoidremoveModelListener(FWSimulationListener aModelListener) Model listener gets Model Event with the current Modelrun()runProject(FWSimProject aProject) Make sure that output writers are running and system is shut down after running all projectsvoidrunSimulations(List<FWSimSimulation> aSimulationList, boolean aSelectSimulation) Make sure that output writers are running and system is shut down after running all projectsvoidsets simulation to activevoidsets simulation to inactivevoidsimulationEnded(FWSimSimulation aFWSimSimulation, Integer aPercentage) voidsimulationStarted(FWSimSimulation aFWSimSimulation, Integer aPercentage) toString()
-
Konstruktordetails
-
FWSimSession
public FWSimSession(org.jdom2.Element aSolutionElement, FWSimVarMap aVarMap, Object[][] aParameters, String aSessionName, FileData aSolutionFile) - Parameter:
aSolutionElement-aVarMap-aSessionName-aSolutionFile-aApplicationMode-
-
FWSimSession
- Parameter:
aSolution-aSolutionFile-aApplicationMode-
-
-
Methodendetails
-
getSolutionFile
- Gibt zurück:
-
getProjectFile
- Gibt zurück:
-
getDataFrame
- Gibt zurück:
-
initProjects
- Parameter:
aVarMap-
-
getSolution
- Gibt zurück:
- the solution
-
getPoolInterface
- Gibt zurück:
- the pool interface
-
getSessionID
- Gibt zurück:
- a unique session id for unique folders etc.
-
getProjectControler
- Gibt zurück:
- the project controller
-
getProjectList
- Gibt zurück:
- list of the projects
-
getProject
- Parameter:
aProjectID-- Gibt zurück:
- the Project
-
run
- Gibt zurück:
- The readily run projects
- Löst aus:
Exception
-
postprocess
public void postprocess() -
getOutputManager
- Gibt zurück:
- the output manager
-
getPostProcessManager
- Gibt zurück:
- the output manager
-
getResourceManager
- Gibt zurück:
- the Resource manager
-
getSyncManager
- Gibt zurück:
- the Sync manager
-
getChecker
- Gibt zurück:
- the used checker for this session
-
runProject
Make sure that output writers are running and system is shut down after running all projects- Parameter:
aProject- to be run- Gibt zurück:
- the list of simulations of this project
- Löst aus:
Exception
-
runSimulations
public void runSimulations(List<FWSimSimulation> aSimulationList, boolean aSelectSimulation) throws Exception Make sure that output writers are running and system is shut down after running all projects- Parameter:
aSimulationList-aSelectSimulation-aProject- to be run- Löst aus:
Exception
-
registerModelListener
Model listener gets Model Event with the current Model- Parameter:
aModelListener-
-
removeModelListener
Model listener gets Model Event with the current Model- Parameter:
aModelListener-
-
getModelListeners
- Gibt zurück:
- the modelListeners
-
handleModelErrorEvent
- Parameter:
aModelEvent-
-
simulationStarted
- Parameter:
aFWSimSimulation-aPercentage-
-
simulationEnded
- Parameter:
aFWSimSimulation- If you use "modelEnded" to remove the actual listener you can be sure that "ConcurrentModificationException" is prevented.aPercentage-
-
projectEnded
- Parameter:
aFWSimProject-aPercentage- If you use "modelEnded" to remove the actual listener you can be sure that "ConcurrentModificationException" is prevented.
-
iterationEnded
- Parameter:
aControlCache-aPercentage- If you use "modelEnded" to remove the actual listener you can be sure that "ConcurrentModificationException" is prevented.
-
finalize
If when simulation ended finalize sets simulation to inactive -
clone
If when simulation ended finalize sets simulation to inactive -
isActive
public boolean isActive()- Gibt zurück:
- the isActive
-
setInActive
public void setInActive()sets simulation to inactive -
setActive
public void setActive()sets simulation to active -
getControlCache
sets simulation to active- Gibt zurück:
- The Control cache
-
toString
-