com.yobotics.simulationconstructionset.util.math.filter
Class GlitchFilteredBooleanYoVariable

java.lang.Object
  extended by com.yobotics.simulationconstructionset.YoVariable
      extended by com.yobotics.simulationconstructionset.BooleanYoVariable
          extended by com.yobotics.simulationconstructionset.util.math.filter.GlitchFilteredBooleanYoVariable
All Implemented Interfaces:
java.io.Serializable

public class GlitchFilteredBooleanYoVariable
extends BooleanYoVariable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.yobotics.simulationconstructionset.YoVariable
MAX_LENGTH_SHORT_NAME
 
Constructor Summary
GlitchFilteredBooleanYoVariable(java.lang.String name, BooleanYoVariable yoVariableToFilter, int windowSize)
           
GlitchFilteredBooleanYoVariable(java.lang.String name, int windowSize)
           
GlitchFilteredBooleanYoVariable(java.lang.String name, YoVariableRegistry registry, BooleanYoVariable yoVariableToFilter, int windowSize)
           
GlitchFilteredBooleanYoVariable(java.lang.String name, YoVariableRegistry registry, int windowSize)
           
 
Method Summary
 void set(boolean value)
          Sets the boolean value of this YoVariable.
 void setWindowSize(int windowSize)
           
 void update()
           
 void update(boolean value)
           
 
Methods inherited from class com.yobotics.simulationconstructionset.BooleanYoVariable
convertDoubleToBoolean, getBooleanValue, getValueAsDouble, getValueString, getValueStringFromDouble, getYoVariableType, setValueFromDouble, toString, valueEquals
 
Methods inherited from class com.yobotics.simulationconstructionset.YoVariable
addVariableChangedListener, fullNameEndsWithCaseInsensitive, getDescription, getFullNameWithNameSpace, getManualScalingMax, getManualScalingMin, getName, getName, getNameAndValueString, getNameAndValueStringFromDouble, getNameSpace, getNumericValueAsAString, getShortName, getVariableChangedListeners, getYoVariableRegistry, hasSameFullName, notifyVariableChangedListeners, removeAllVariableChangedListeners, removeVariableChangedListener, setManualScalingMinMax
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlitchFilteredBooleanYoVariable

public GlitchFilteredBooleanYoVariable(java.lang.String name,
                                       int windowSize)

GlitchFilteredBooleanYoVariable

public GlitchFilteredBooleanYoVariable(java.lang.String name,
                                       YoVariableRegistry registry,
                                       int windowSize)

GlitchFilteredBooleanYoVariable

public GlitchFilteredBooleanYoVariable(java.lang.String name,
                                       BooleanYoVariable yoVariableToFilter,
                                       int windowSize)

GlitchFilteredBooleanYoVariable

public GlitchFilteredBooleanYoVariable(java.lang.String name,
                                       YoVariableRegistry registry,
                                       BooleanYoVariable yoVariableToFilter,
                                       int windowSize)
Method Detail

set

public void set(boolean value)
Description copied from class: BooleanYoVariable
Sets the boolean value of this YoVariable. If not of boolean type a warning will be printed.

Overrides:
set in class BooleanYoVariable
Parameters:
value - boolean

update

public void update(boolean value)

setWindowSize

public void setWindowSize(int windowSize)

update

public void update()