Class ANDValueProcessor
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.ANDValueProcessor
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,ValueProcessor
ANDValueProcessor class.
- Author:
- igor@scictrl.com
-
Field Summary
Fields inherited from class org.scictrl.csshell.epics.server.processor.LinkedValueProcessor
input
Fields inherited from class org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
fixed, lastChangeTimestamp, timestamp, value
Fields inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
log, record, trigger, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
processInput
(ValueLinks.ValueHolder[] inputValues) Override this method to provide own conversion from input values to new processor value.void
Sets new value to the processor.Methods inherited from class org.scictrl.csshell.epics.server.processor.LinkedValueProcessor
activate, configure, isInvalid, newProcessor, printLinkDebug, propertyChange, reconnect, reconnect, reconnect
Methods 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, setFixed
Methods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
getName, getRecord, getTrigger, getType, process, toString
-
Constructor Details
-
ANDValueProcessor
public ANDValueProcessor()Constructor for ANDValueProcessor.
-
-
Method Details
-
processInput
Override this method to provide own conversion from input values to new processor value.- Overrides:
processInput
in 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:
setValue
in interfaceValueProcessor
- Overrides:
setValue
in classLinkedValueProcessor
- Parameters:
value
- aObject
object
-