Class ORValueProcessor

All Implemented Interfaces:
PropertyChangeListener, EventListener, ValueProcessor

public class ORValueProcessor extends LinkedValueProcessor

ORValueProcessor class.

Author:
igor@scictrl.com
  • Constructor Details

    • ORValueProcessor

      public ORValueProcessor()

      Constructor for ORValueProcessor.

  • Method Details

    • processInput

      protected Object processInput(ValueLinks.ValueHolder[] inputValues)
      Override this method to provide own conversion from input values to new processor value.
      Overrides:
      processInput in class LinkedValueProcessor
      Parameters:
      inputValues - array wit input values
      Returns:
      new value which is set to this processor
    • setValue

      public void setValue(Object value)
      Sets new value to the processor. If value is different from current processor value, then event is fired. Timestamp is updated regardless if value is changed, since timestamp indicates last value update or confirmation. This method is used by remote EPICS entity or other record within same Database. By definition calling setValue must always update value, because further processing must be triggered.
      Specified by:
      setValue in interface ValueProcessor
      Overrides:
      setValue in class LinkedValueProcessor
      Parameters:
      value - a Object object