Class PolyTransValueProcessor
java.lang.Object
org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
org.scictrl.csshell.epics.server.processor.MemoryValueProcessor
org.scictrl.csshell.epics.server.processor.PolyTransValueProcessor
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,ValueProcessor
@Deprecated
public class PolyTransValueProcessor
extends MemoryValueProcessor
implements PropertyChangeListener
Deprecated.
Functionality of polynomial transformation has been moved to LinkedValueProcessor and is further mentained there in superior form.
Value processor, which connects to provided remote names and uses polynomial transformation.
By default first value from array of linked values is used.
- Author:
- igor@scictrl.com
-
Field Summary
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
ConstructorDescriptionDeprecated.Constructor for PolyTransValueProcessor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
activate()
Deprecated.Record has now reference to Database.void
Deprecated.Configures the internals of value processor, provides reference to parent record and to configuration with root inside processor tag.static final PolyTransValueProcessor
newProcessor
(String name, String description, String link) Deprecated.Creates processor, configures it and returns it embedded within the returned record.void
Deprecated.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, setValue
Methods inherited from class org.scictrl.csshell.epics.server.processor.AbstractValueProcessor
getName, getRecord, getTrigger, getType, process, toString
-
Field Details
-
input
Deprecated.Input value remote link.
-
-
Constructor Details
-
PolyTransValueProcessor
public PolyTransValueProcessor()Deprecated.Constructor for PolyTransValueProcessor.
-
-
Method Details
-
newProcessor
public static final PolyTransValueProcessor newProcessor(String name, String description, String link) Deprecated.Creates processor, configures it and returns it embedded within the returned record.- Parameters:
name
- name of the returned recorddescription
- the description of the recordlink
- the link of the returned processor- Returns:
- new record with embedded and configured processor
-
configure
public void configure(Record record, org.apache.commons.configuration.HierarchicalConfiguration config) Deprecated.Configures the internals of value processor, provides reference to parent record and to configuration with root inside processor tag. Parent record is not yet initialized, so does not have reference to Database, the Database reference will be available during activate call.- Specified by:
configure
in interfaceValueProcessor
- Overrides:
configure
in classMemoryValueProcessor
- Parameters:
record
- the parent record.config
- configuration with room inside processor tag.
-
activate
public void activate()Deprecated.Record has now reference to Database. processor might want to connect to other records on this server or PVs on other servers. This can not be done until all records from configuration has been loaded. Call to this method signals to the processor that records has been loaded and linking to other values can be commenced.- Specified by:
activate
in interfaceValueProcessor
- Overrides:
activate
in classMemoryValueProcessor
-
propertyChange
Deprecated.- Specified by:
propertyChange
in interfacePropertyChangeListener
-