com.yobotics.simulationconstructionset.util.math.filter
Class GlitchFilteredBooleanYoVariable
java.lang.Object
com.yobotics.simulationconstructionset.YoVariable
com.yobotics.simulationconstructionset.BooleanYoVariable
com.yobotics.simulationconstructionset.util.math.filter.GlitchFilteredBooleanYoVariable
- All Implemented Interfaces:
- java.io.Serializable
public class GlitchFilteredBooleanYoVariable
- extends BooleanYoVariable
- See Also:
- Serialized Form
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.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 |
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)
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()