com.yobotics.simulationconstructionset.util.statemachines
Class StateMachineStateVector<E extends java.lang.Enum<E>>
java.lang.Object
com.yobotics.simulationconstructionset.util.statemachines.StateMachineStateVector<E>
- All Implemented Interfaces:
- StateMachineSateProvider<E>, TimeInCurrentStateProvider
public class StateMachineStateVector<E extends java.lang.Enum<E>>
- extends java.lang.Object
- implements StateMachineSateProvider<E>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StateMachineStateVector
public StateMachineStateVector()
setTimeInCurrentState
public void setTimeInCurrentState(double t)
setCurrentState
public void setCurrentState(E state)
isEnteringState
public boolean isEnteringState()
- Specified by:
isEnteringState
in interface StateMachineSateProvider<E extends java.lang.Enum<E>>
setIsEnteringState
public void setIsEnteringState(boolean isEnteringState)
timeInCurrentState
public double timeInCurrentState()
- Specified by:
timeInCurrentState
in interface TimeInCurrentStateProvider
getCurrentState
public E getCurrentState()
- Specified by:
getCurrentState
in interface StateMachineSateProvider<E extends java.lang.Enum<E>>