|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimuComControl
Control interface for the SimuCom Framework. It defines methods, which are responsible
for starting and stopping the simulation.
The code generated for each SimuCom instance contains the class
main.SimuComControl that extends AbstractMain and provides the
missing information.
| Method Summary | |
|---|---|
Throwable |
getErrorThrowable()
Returns an exception which caused the simulation to terminate in case of simulation errors as indicated by the SimuComResult returned by the startSimulation method |
SimuComStatus |
getStatus()
Retrieve an object containing the status of this simulation. |
SimuComResult |
startSimulation(SimuComConfig config,
IStatusObserver statusObserver,
boolean useOwnSensorstorage)
Start a simulation run |
void |
stopSimulation()
Cancels a running simulation by disallowing the generation of new simulation events |
| Method Detail |
|---|
SimuComResult startSimulation(SimuComConfig config,
IStatusObserver statusObserver,
boolean useOwnSensorstorage)
config - The configuration object which sets many simulation parameters like stop conditions, storage location, etc.statusObserver - An observer which gets notifications on the simulation progressuseOwnSensorstorage - If true, the simulation uses an own, temporary result store instead of the sensorfactory
storage passed in the simulation parameter object. Use this for remote simulation docks which do not have access to the
local sensor factory storages
void stopSimulation()
Throwable getErrorThrowable()
SimuComResult returned by the startSimulation method
SimuComStatus getStatus()
SimuComStatus object containing the simulation status
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||