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, getSourceRateExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getSourceRateExpressionspublic 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)
SourceRateExpressionas in interface SourceRateExpression<R>name - new namepublic final String getName()
SourceRateExpressiongetName in interface SourceRateExpression<R>public final ReadFunction<R> getFunction()
SourceRateExpressiongetFunction in interface SourceRateExpression<R>public final SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
SourceRateExpressiongetSourceRateExpressionImpl in interface SourceRateExpression<R>Copyright © 2010–2015. All rights reserved.