Package org.opentcs.access
Klasse KernelStateTransitionEvent
java.lang.Object
org.opentcs.access.KernelStateTransitionEvent
- Alle implementierten Schnittstellen:
Serializable
Emitted by/for kernel state changes.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungKernelStateTransitionEvent
(Kernel.State leftState, Kernel.State enteredState, boolean transitionFinished) Creates a new TCSKernelStateEvent. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the state for which this event was generated.Returns the state the kernel is leaving.boolean
Returnstrue
if, and only if, the transition to the new kernel state is finished.toString()
-
Konstruktordetails
-
KernelStateTransitionEvent
public KernelStateTransitionEvent(Kernel.State leftState, Kernel.State enteredState, boolean transitionFinished) Creates a new TCSKernelStateEvent.- Parameter:
leftState
- The previous state of the kernel.enteredState
- The new state of the kernel.transitionFinished
- Whether the transistion is finished, yet.
-
-
Methodendetails
-
getLeftState
Returns the state the kernel is leaving.- Gibt zurück:
- The state the kernel is leaving.
-
getEnteredState
Returns the state for which this event was generated.- Gibt zurück:
- The state for which this event was generated.
-
isTransitionFinished
public boolean isTransitionFinished()Returnstrue
if, and only if, the transition to the new kernel state is finished.- Gibt zurück:
true
if, and only if, the transition to the new kernel state is finished.
-
toString
-