com.yobotics.simulationconstructionset.util.errorHandling
Class WalkingStatusReporter

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.errorHandling.WalkingStatusReporter

public class WalkingStatusReporter
extends java.lang.Object


Nested Class Summary
static class WalkingStatusReporter.ErrorType
           
 
Constructor Summary
WalkingStatusReporter(ObjectCommunicator objectCommunicator)
           
 
Method Summary
 boolean areAnyErrorsOutOfBounds(WalkingStatusReporter.ErrorType[] errorTypes)
           
 boolean isErrorOutOfBounds(WalkingStatusReporter.ErrorType errorType)
           
 void notifyConsumerOfWalkingStatus(WalkingStatus walkingStatus)
           
 void setErrorAndBounds(WalkingStatusReporter.ErrorType errorType, DoubleYoVariable error, Pair<java.lang.Double,java.lang.Double> errorBounds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WalkingStatusReporter

public WalkingStatusReporter(ObjectCommunicator objectCommunicator)
Method Detail

setErrorAndBounds

public void setErrorAndBounds(WalkingStatusReporter.ErrorType errorType,
                              DoubleYoVariable error,
                              Pair<java.lang.Double,java.lang.Double> errorBounds)

isErrorOutOfBounds

public boolean isErrorOutOfBounds(WalkingStatusReporter.ErrorType errorType)

areAnyErrorsOutOfBounds

public boolean areAnyErrorsOutOfBounds(WalkingStatusReporter.ErrorType[] errorTypes)

notifyConsumerOfWalkingStatus

public void notifyConsumerOfWalkingStatus(WalkingStatus walkingStatus)