public class GainControlProcessor extends BaseDataProcessor
DataProcessor
unchanged.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GAIN_FACTOR |
logger
Constructor and Description |
---|
GainControlProcessor() |
GainControlProcessor(double gainFactor) |
Modifier and Type | Method and Description |
---|---|
Data |
getData()
Returns the processed Data output.
|
double |
getGainFactor() |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured.
|
void |
setGainFactor(double gainFactor) |
getPredecessor, initialize, setPredecessor
getName, initLogger, toString
@S4Double(defaultValue=1.0) public static final java.lang.String GAIN_FACTOR
public GainControlProcessor(double gainFactor)
public GainControlProcessor()
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
newProperties
in class ConfigurableAdapter
ps
- a property sheet holding the new dataPropertyException
- if there is a problem with the properties.public Data getData() throws DataProcessingException
BaseDataProcessor
getData
in interface DataProcessor
getData
in class BaseDataProcessor
DataProcessingException
- if a data processor error occurspublic double getGainFactor()
public void setGainFactor(double gainFactor)