Package org.robwork.sdurwsim
Class ThreadSimulatorStepEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.robwork.sdurwsim.ThreadSimulatorStepEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ThreadSimulatorStepEvent extends java.util.EventObjectThis class allows an event based callback implementation forThreadSimulator.- Since:
- 2013-11-22
- See Also:
ThreadSimulatorStepEventDispatcher,ThreadSimulatorStepEventListener, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThreadSimulatorStepEvent(java.lang.Object source, ThreadSimulator threadsimulator, State state)Create a new event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StategetState()ThreadSimulatorgetThreadSimulator()
-
-
-
Constructor Detail
-
ThreadSimulatorStepEvent
public ThreadSimulatorStepEvent(java.lang.Object source, ThreadSimulator threadsimulator, State state)Create a new event.- Parameters:
source- the object that created this event.threadsimulator- theThreadSimulatorthat makes the callbacks.state- the newStateafter the simulation step.
-
-
Method Detail
-
getThreadSimulator
public ThreadSimulator getThreadSimulator()
- Returns:
- the
ThreadSimulatorthat makes the callbacks.
-
-