|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.DesiredRateExpression<T>
T
- type of the expression outputpublic class DesiredRateExpression<T>
An expression that represents a PV that is read at the UI scan rate.
Objects of this class are not created directly but through the operators defined
in PVExpressionLanguage
.
Constructor Summary | |
---|---|
DesiredRateExpression(DesiredRateExpression<?> expression,
Function<T> function,
java.lang.String defaultName)
Creates a new aggregated expression. |
|
DesiredRateExpression(java.util.List<DesiredRateExpression<?>> childExpressions,
Function<T> function,
java.lang.String defaultName)
Creates a new aggregated expression. |
|
DesiredRateExpression(SourceRateExpression<?> expression,
Function<T> collector,
java.lang.String defaultName)
Creates a new expression at the desired rate. |
Method Summary | |
---|---|
DataRecipe |
getDataRecipe()
The recipe for connect the channels for this expression. |
java.lang.String |
getDefaultName()
The default name for a PV of this expression. |
Function<T> |
getFunction()
The function that calculates new values for this expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DesiredRateExpression(SourceRateExpression<?> expression, Function<T> collector, java.lang.String defaultName)
expression
- the original source rate expressioncollector
- the collector for the original sourcedefaultName
- the display name of the expressionpublic DesiredRateExpression(DesiredRateExpression<?> expression, Function<T> function, java.lang.String defaultName)
DesiredRateExpression
that is a function of another
DesiredRateExpression
.
expression
- the expression for the argument of the functionfunction
- the function to calculate the new expressiondefaultName
- the name of the expressionpublic DesiredRateExpression(java.util.List<DesiredRateExpression<?>> childExpressions, Function<T> 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 java.lang.String getDefaultName()
public DataRecipe getDataRecipe()
public Function<T> getFunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |