|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.expression.DesiredRateExpressionListImpl<R>
org.epics.pvmanager.expression.DesiredRateExpressionImpl<R>
R
- type of the read payloadpublic class DesiredRateExpressionImpl<R>
Implementation class for DesiredRateExpression
.
Constructor Summary | |
---|---|
DesiredRateExpressionImpl(DesiredRateExpressionList<?> childExpressions,
Function<R> function,
java.lang.String defaultName)
Creates a new aggregated expression. |
|
DesiredRateExpressionImpl(SourceRateExpression<?> expression,
Function<R> collector,
java.lang.String defaultName)
Creates a new expression at the desired rate. |
Method Summary | |
---|---|
DesiredRateExpressionImpl<R> |
as(java.lang.String name)
Changes the name for this expression |
DataRecipe |
getDataRecipe()
The recipe for connect the channels for this expression. |
DesiredRateExpressionImpl<R> |
getDesiredRateExpressionImpl()
The implementation for this expression. |
Function<R> |
getFunction()
The function that calculates new values for this expression. |
java.lang.String |
getName()
The default name for a PV of this expression. |
Methods inherited from class org.epics.pvmanager.expression.DesiredRateExpressionListImpl |
---|
and, getDesiredRateExpressions |
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.DesiredRateExpressionList |
---|
and, getDesiredRateExpressions |
Constructor Detail |
---|
public DesiredRateExpressionImpl(SourceRateExpression<?> expression, Function<R> collector, java.lang.String defaultName)
expression
- the original source rate expressioncollector
- the collector for the original sourcedefaultName
- the display name of the expressionpublic DesiredRateExpressionImpl(DesiredRateExpressionList<?> childExpressions, Function<R> function, java.lang.String defaultName)
DesiredRateExpression
that is a function of a number of
DesiredRateExpression
s.
childExpressions
- expressions for the arguments of the functionfunction
- the function that calculates the value of the new expressiondefaultName
- the display name of the expressionMethod Detail |
---|
public final DesiredRateExpressionImpl<R> as(java.lang.String name)
DesiredRateExpression
as
in interface DesiredRateExpression<R>
name
- new name
public final java.lang.String getName()
getName
in interface DesiredRateExpression<R>
public final DataRecipe getDataRecipe()
getDataRecipe
in interface DesiredRateExpression<R>
public final Function<R> getFunction()
getFunction
in interface DesiredRateExpression<R>
public final DesiredRateExpressionImpl<R> getDesiredRateExpressionImpl()
getDesiredRateExpressionImpl
in interface DesiredRateExpression<R>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |