public abstract class DefaultController extends Object implements Controller
Constructor and Description |
---|
DefaultController() |
Modifier and Type | Method and Description |
---|---|
Future<SimulationConfiguration> |
concurrentGetSimulationConfiguration()
non-blocking version of getSimulationConfiguration, return a Future object.
|
ControllerReturnValue |
controlSimulation(Simulation simulation)
This method will be called whenever the controller may influence the simulation in any way.
|
boolean |
onSimulationReady() |
void |
start()
Tell the component to start activity.
|
void |
stop()
Tell the component to cease activity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimulationConfiguration
public boolean onSimulationReady()
public Future<SimulationConfiguration> concurrentGetSimulationConfiguration()
Controller
concurrentGetSimulationConfiguration
in interface Controller
public ControllerReturnValue controlSimulation(Simulation simulation)
Controller
controlSimulation
in interface Controller
public void start()
Component
Copyright © 2013. All Rights Reserved.