public class SimulationControlManager
extends java.lang.Object
Simulation
(or
derived classes).Modifier and Type | Field and Description |
---|---|
protected static SimulationControlManager |
INSTANCE |
Constructor and Description |
---|
SimulationControlManager() |
protected static SimulationControlManager INSTANCE
public static SimulationControlManager getInstance()
public void registerInitSimulationCallback(InitSimulationCallback handler)
public void registerStartTransientPhaseCallback(StartTransientPhaseCallback handler)
public void registerStopTransientPhaseCallback(StopTransientPhaseCallback handler)
public void registerStartBatchCallback(StartBatchCallback handler)
public void registerStopBatchCallback(StopBatchCallback handler)
public void registerStartSimulationCallback(StartSimulationCallback handler)
public void registerStopSimulationCallback(StopSimulationCallback handler)
public void unregisterInitSimulationCallback(InitSimulationCallback handler)
public void unregisterStartTransientPhaseCallback(StartTransientPhaseCallback handler)
public void unregisterStopTransientPhaseCallback(StopTransientPhaseCallback handler)
public void unregisterStartBatchCallback(StartBatchCallback handler)
public void unregisterStopBatchCallback(StopBatchCallback handler)
public void unregisterStartSimulationCallback(StartSimulationCallback handler)
public void unregisterStopSimulationCallback(StopSimulationCallback handler)
public void initSimulation()
public void startSimulation(Simulation sim)
public void stopSimulation()
public void startTransientPhase()
public void stopTransientPhase()
public void startBatch(int batchNumber)
public void stopBatch(int batchNumber)