R
- type of the read payloadpublic class SourceRateExpressionImpl<R> extends SourceRateExpressionListImpl<R> implements SourceRateExpression<R>
SourceRateExpression
.Constructor and Description |
---|
SourceRateExpressionImpl(SourceRateExpressionList<?> childExpressions,
ReadFunction<R> function,
String defaultName)
Creates a new source rate expression.
|
SourceRateExpressionImpl(String pvName,
Class<R> pvType)
Constructor that represents a single pv of a particular type.
|
Modifier and Type | Method and Description |
---|---|
SourceRateExpressionImpl<R> |
as(String name)
Changes the name for this expression
|
ReadFunction<R> |
getFunction()
The function that calculates this expression.
|
String |
getName()
Name of the expression.
|
SourceRateExpressionImpl<R> |
getSourceRateExpressionImpl()
The implementation of this expression.
|
and, getSourceRateExpressions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, getSourceRateExpressions
public SourceRateExpressionImpl(String pvName, Class<R> pvType)
pvName
- the name of the pvpvType
- the type of the pvpublic SourceRateExpressionImpl(SourceRateExpressionList<?> childExpressions, ReadFunction<R> function, String defaultName)
childExpressions
- the expressions used as arguments by this expressionfunction
- the function that will calculate the value for this expressiondefaultName
- the name for this expressionpublic final SourceRateExpressionImpl<R> as(String name)
SourceRateExpression
as
in interface SourceRateExpression<R>
name
- new namepublic final String getName()
SourceRateExpression
getName
in interface SourceRateExpression<R>
public final ReadFunction<R> getFunction()
SourceRateExpression
getFunction
in interface SourceRateExpression<R>
public final SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
SourceRateExpression
getSourceRateExpressionImpl
in interface SourceRateExpression<R>
Copyright © 2010–2015. All rights reserved.