com.yobotics.simulationconstructionset.util.statemachines
Class StateMachineStateVector<E extends java.lang.Enum<E>>

java.lang.Object
  extended by 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>


Constructor Summary
StateMachineStateVector()
           
 
Method Summary
 E getCurrentState()
           
 boolean isEnteringState()
           
 void setCurrentState(E state)
           
 void setIsEnteringState(boolean isEnteringState)
           
 void setTimeInCurrentState(double t)
           
 double timeInCurrentState()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateMachineStateVector

public StateMachineStateVector()
Method Detail

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>>