controller
Interface ISimAdapter


public interface ISimAdapter

Adapter to connect the simulation toolbar and the simulation.

Author:
Mathias Ricken

Method Summary
 void setIterationLambda(ILambda itCmd)
          Set simulation iteration command.
 void setSpeed(int speed)
          Change the simulation speed.
 void setStartLambda(ILambda startCmd)
          Set simulation start command.
 void start()
          Start simulation.
 void step()
          Make a simulation step.
 void stop()
          Stop simulation.
 

Method Detail

step

void step()
Make a simulation step.


start

void start()
Start simulation.


stop

void stop()
Stop simulation.


setSpeed

void setSpeed(int speed)
Change the simulation speed.

Parameters:
speed - simulation speed

setStartLambda

void setStartLambda(ILambda startCmd)
Set simulation start command. This command gets called before the simulation starts.

Parameters:
startCmd - start command

setIterationLambda

void setIterationLambda(ILambda itCmd)
Set simulation iteration command. This command gets called after the simulation finishes a step.

Parameters:
itCmd - start command