Class ImageInput
java.lang.Object
org.wildstang.framework.io.inputs.Input
org.wildstang.framework.io.inputs.ImageInput
First abstraction of Input representing "image" Inputs for vision purposes.
There are currently no implementations of this type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()Returns the latest stored value from the Input.voidProcesses raw value read from Input's hardware.protected abstract ObjectAbstract function to request and return the raw value from hardware.protected voidsetCurrentValue(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
-
Constructor Details
-
ImageInput
Constructor simply passes on name.- Parameters:
p_name- Name of the Input.
-
-
Method Details
-
readDataFromInput
public void readDataFromInput()Processes raw value read from Input's hardware.- Specified by:
readDataFromInputin classInput
-
setCurrentValue
Stores a given Object as the current value.- Parameters:
p_value- New Object to store.
-
readRawValue
Abstract function to request and return the raw value from hardware.- Returns:
- The latest value read from hardware.
-
getValue
Returns the latest stored value from the Input.- Returns:
- Latest value store in the Input.
-