|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.expression.SourceRateExpressionListImpl<R>
org.epics.pvmanager.expression.SourceRateExpressionImpl<R>
R
- type of the read payloadpublic class SourceRateExpressionImpl<R>
Implementation class for SourceRateExpression
.
Constructor Summary | |
---|---|
SourceRateExpressionImpl(SourceRateExpressionList<?> childExpressions,
Function<R> function,
java.lang.String defaultName)
Creates a new source rate expression. |
|
SourceRateExpressionImpl(java.lang.String pvName,
java.lang.Class<R> pvType)
Constructor that represents a single pv of a particular type. |
Method Summary | |
---|---|
SourceRateExpressionImpl<R> |
as(java.lang.String name)
Changes the name for this expression |
Function<R> |
getFunction()
The function that calculates this expression. |
java.lang.String |
getName()
Name of the expression. |
SourceRateExpressionImpl<R> |
getSourceRateExpressionImpl()
The implementation of this expression. |
Methods inherited from class org.epics.pvmanager.expression.SourceRateExpressionListImpl |
---|
and, getSourceRateExpressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.epics.pvmanager.expression.SourceRateExpressionList |
---|
and, getSourceRateExpressions |
Constructor Detail |
---|
public SourceRateExpressionImpl(java.lang.String pvName, java.lang.Class<R> pvType)
pvName
- the name of the pvpvType
- the type of the pvpublic SourceRateExpressionImpl(SourceRateExpressionList<?> childExpressions, Function<R> function, java.lang.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 expressionMethod Detail |
---|
public final SourceRateExpressionImpl<R> as(java.lang.String name)
SourceRateExpression
as
in interface SourceRateExpression<R>
name
- new name
public final java.lang.String getName()
SourceRateExpression
getName
in interface SourceRateExpression<R>
public final Function<R> getFunction()
SourceRateExpression
getFunction
in interface SourceRateExpression<R>
public final SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
SourceRateExpression
getSourceRateExpressionImpl
in interface SourceRateExpression<R>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |