Class 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 Detail

      • ImageInput

        public ImageInput​(java.lang.String p_name)
        Constructor simply passes on name.
        Parameters:
        p_name - Name of the Input.
    • Method Detail

      • readDataFromInput

        public void readDataFromInput()
        Processes raw value read from Input's hardware.
        Specified by:
        readDataFromInput in class Input
      • 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.