Package org.robwork.sdurwsim
Interface ThreadSimulatorStepCallbackHandler
-
- All Known Implementing Classes:
ThreadSimulatorStepEventDispatcher
public interface ThreadSimulatorStepCallbackHandlerInterface for a callback fromThreadSimulator. A class implementing this interface can be wrapped byThreadSimulatorStepCallbackEnvwhich can then be added to aThreadSimulator. TheThreadSimulatorStepCallbackEnvtransparently adds Java context information required for native code to call the implemented callback. Please see the RobWork Java script interface documentation for a detailed description.- Since:
- 2013-11-22
- See Also:
ThreadSimulatorStepCallbackEnv,ThreadSimulator.setStepCallBack(ThreadSimulatorStepCallbackEnv)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcallback(ThreadSimulator simulator, State state)The callback method that is called from the simulator.
-
-
-
Method Detail
-
callback
void callback(ThreadSimulator simulator, State state)
The callback method that is called from the simulator.- Parameters:
simulator- theThreadSimulatorthat makes the callback.state- the newStateafter the simulation cycle.
-
-