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 Details

    • ImageInput

      public ImageInput(String p_name)
      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:
      readDataFromInput in class Input
    • setCurrentValue

      protected void setCurrentValue(Object p_value)
      Stores a given Object as the current value.
      Parameters:
      p_value - New Object to store.
    • readRawValue

      protected abstract Object readRawValue()
      Abstract function to request and return the raw value from hardware.
      Returns:
      The latest value read from hardware.
    • getValue

      public Object getValue()
      Returns the latest stored value from the Input.
      Returns:
      Latest value store in the Input.