Class ORValueProcessor
java.lang.Object
org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
org.scictrl.csshell.epics.server.processor.LinkedValueProcessor
org.scictrl.csshell.epics.server.processor.ORValueProcessor
- All Implemented Interfaces:
PropertyChangeListener,EventListener,ValueProcessor
ORValueProcessor class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.csshell.epics.server.processor.LinkedValueProcessor
inputFields inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
fixed, lastChangeTimestamp, timestamp, valueFields inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
log, record, trigger, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectprocessInput(ValueLinks.ValueHolder[] inputValues) Override this method to provide own conversion from input values to new processor value.voidSets new value to the processor.Methods inherited from class org.scictrl.csshell.epics.server.processor.LinkedValueProcessor
activate, configure, isInvalid, newProcessor, printLinkDebug, propertyChange, reconnect, reconnect, reconnectMethods inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
_forceValueUpdateEvent, _setValue, _setValue, _setValue, _setValue, convert, getChangeAccessTimestamp, getTimestamp, getValue, getValueAsBoolean, isFixed, newBooleanProcessor, newDoubleProcessor, newProcessor, newProcessor, setFixedMethods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
getName, getRecord, getTrigger, getType, process, toString
-
Constructor Details
-
ORValueProcessor
public ORValueProcessor()Constructor for ORValueProcessor.
-
-
Method Details
-
processInput
Override this method to provide own conversion from input values to new processor value.- Overrides:
processInputin classLinkedValueProcessor- Parameters:
inputValues- array wit input values- Returns:
- new value which is set to this processor
-
setValue
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:
setValuein interfaceValueProcessor- Overrides:
setValuein classLinkedValueProcessor- Parameters:
value- aObjectobject
-