Class ImageInput
- java.lang.Object
-
- org.wildstang.framework.io.inputs.Input
-
- org.wildstang.framework.io.inputs.ImageInput
-
public abstract class ImageInput extends Input
First abstraction of Input representing "image" Inputs for vision purposes. There are currently no implementations of this type.
-
-
Constructor Summary
Constructors Constructor Description ImageInput(java.lang.String p_name)Constructor simply passes on name.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetValue()Returns the latest stored value from the Input.voidreadDataFromInput()Processes raw value read from Input's hardware.protected abstract java.lang.ObjectreadRawValue()Abstract function to request and return the raw value from hardware.protected voidsetCurrentValue(java.lang.Object p_value)Stores a given Object as the current value.-
Methods inherited from class org.wildstang.framework.io.inputs.Input
addInputListener, disable, enable, getInputListeners, getName, hasValueChanged, isEnabled, notifyListeners, removeAllListeners, removeInputListener, setValueChanged, update
-
-
-
-
Method Detail
-
readDataFromInput
public void readDataFromInput()
Processes raw value read from Input's hardware.- Specified by:
readDataFromInputin classInput
-
setCurrentValue
protected void setCurrentValue(java.lang.Object p_value)
Stores a given Object as the current value.- Parameters:
p_value- New Object to store.
-
readRawValue
protected abstract java.lang.Object readRawValue()
Abstract function to request and return the raw value from hardware.- Returns:
- The latest value read from hardware.
-
getValue
public java.lang.Object getValue()
Returns the latest stored value from the Input.- Returns:
- Latest value store in the Input.
-
-