net.simplace.simulation.control.FWSimulationController
SimulationController initializes the project part of the simulations. It can be asked for
- project mode of simulation net.simplace.simulation.FWSimProject.PROJECT_MODE.
- field map of project data
- java.util.Map of the net.simplace.simulation.FWSimProjects with name as key.
- net.simplace.simulation.util.FWSimVariable.CONTENT_TYPE of the project information (res or sim)
SimulationController can perform the reading of the configuration either from simple xml
or resources (XML, Database, CSV).
public class FWSimulationController {
// Public Constructors
public FWSimulationController(Element aProjectInformationElement,
FWSimSession aSession) throws SimProjectException;
public FWSimulationController(FWSimSession aSession)
throws SimProjectException;
// Constants
protected final FWSimSession iSession;
// Protected Instance Variables
protected Map iProjectMap;
protected HashMap iFieldMap;
protected FWSimProject.PROJECT_MODE iProjectMode;
// Public Instance Methods public Map getProjectMap();
returns the linked map of all projects
public HashMap getFieldMap();
returns the field map of all projects
}
Returned by: net.simplace.simulation.FWSimSession.getProjectControler()