Package org.robwork.sdurwsim
Interface ThreadSimulatorStepCallbackHandler
-
- All Known Implementing Classes:
ThreadSimulatorStepEventDispatcher
public interface ThreadSimulatorStepCallbackHandler
Interface for a callback fromThreadSimulator
. A class implementing this interface can be wrapped byThreadSimulatorStepCallbackEnv
which can then be added to aThreadSimulator
. TheThreadSimulatorStepCallbackEnv
transparently 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 void
callback(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
- theThreadSimulator
that makes the callback.state
- the newState
after the simulation cycle.
-
-