public class ExpressionLanguage extends Object
Modifier and Type | Method and Description |
---|---|
static DesiredRateExpression<VDouble> |
averageOf(SourceRateExpression<VDouble> doublePv)
Aggregates the sample at the scan rate and takes the average.
|
static VTableColumn |
column(String name,
DesiredRateExpressionList<?> values)
A column for an aggregated vTable.
|
static DesiredRateExpression<VStatistics> |
statisticsOf(SourceRateExpression<VDouble> doublePv)
Aggregates the sample at the scan rate and calculates statistical information.
|
static DesiredRateExpressionList<VStatistics> |
statisticsOf(SourceRateExpressionList<VDouble> doubleExpressions)
Applies
statisticsOf(org.epics.pvmanager.expression.SourceRateExpression) to all
arguments. |
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(org.epics.util.time.TimeDuration tolerance,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression.
|
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(TimeDuration tolerance,
SourceRateExpressionList<VDouble> expressions)
|
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(org.epics.util.time.TimeDuration tolerance,
org.epics.util.time.TimeDuration cacheDepth,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression.
|
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(TimeDuration tolerance,
TimeDuration cacheDepth,
SourceRateExpressionList<VDouble> expressions)
|
static ChannelExpression<VByteArray,byte[]> |
vByteArray(String name)
A channel with the given name of type VByteArray.
|
static DesiredRateExpression<VDoubleArray> |
vConst(double... values)
A constant representing a double array.
|
static DesiredRateExpression<VDouble> |
vConst(double value)
A constant representing a double.
|
static DesiredRateExpression<VIntArray> |
vConst(int... values)
A constant representing an int array.
|
static DesiredRateExpression<VInt> |
vConst(int value)
A constant representing an int.
|
static DesiredRateExpression<VDoubleArray> |
vConst(org.epics.util.array.ListDouble values)
A constant representing a double array.
|
static DesiredRateExpression<VIntArray> |
vConst(org.epics.util.array.ListInt values)
A constant representing an int array.
|
static ChannelExpression<VDouble,Double> |
vDouble(String name)
A channel with the given name of type VDouble.
|
static ChannelExpression<VDoubleArray,float[]> |
vDoubleArray(String name)
A channel with the given name of type VDoubleArray.
|
static DesiredRateExpression<VDoubleArray> |
vDoubleArrayOf(DesiredRateExpressionList<? extends VNumber> expressions)
Deprecated.
|
static SourceRateExpression<VDoubleArray> |
vDoubleArrayOf(SourceRateExpression<?> expression)
Deprecated.
|
static DesiredRateExpressionList<VDouble> |
vDoubleConstants(List<Double> values)
A list of constant expressions of type VDouble.
|
static SourceRateExpression<VDouble> |
vDoubleOf(SourceRateExpression<?> expression)
Deprecated.
|
static ChannelExpressionList<VDouble,Double> |
vDoubles(List<String> names)
A list of channels with the given names, all of type VDouble.
|
static ChannelExpression<VEnum,Integer> |
vEnum(String name)
A channel with the given name of type VEnum.
|
static ChannelExpression<VFloatArray,float[]> |
vFloatArray(String name)
A channel with the given name of type VFloatArray.
|
static ChannelExpression<VInt,Integer> |
vInt(String name)
A channel with the given name of type VInt.
|
static ChannelExpression<VIntArray,int[]> |
vIntArray(String name)
A channel with the given name of type VIntArray.
|
static DesiredRateExpressionList<VInt> |
vIntConstants(List<Integer> values)
A list of constant expressions of type VDouble.
|
static ChannelExpression<VNumber,Number> |
vNumber(String name)
A channel with the given name of type VNumber.
|
static ChannelExpression<VNumberArray,org.epics.util.array.ListNumber> |
vNumberArray(String name)
A channel with the given name of type VNumberArray.
|
static ChannelExpressionList<VNumber,Number> |
vNumbers(List<String> name)
A list of channels with the given names, all of type VNumber.
|
static ChannelExpression<VShortArray,short[]> |
vShortArray(String name)
A channel with the given name of type VShortArray.
|
static ChannelExpression<VString,String> |
vString(String name)
A channel with the given name of type VString.
|
static ChannelExpression<VStringArray,String[]> |
vStringArray(String name)
A channel with the given name of type VStringArray.
|
static DesiredRateExpressionList<VString> |
vStringConstants(List<String> values)
A list of constant expressions of type VString.
|
static DesiredRateExpression<VTable> |
vTable(VTableColumn... columns)
Creates a vTable by aggregating different values from different pvs.
|
static ChannelExpression<VType,Object> |
vType(String name)
A channel with the given name that returns any of the value type.
|
static ChannelExpressionList<VType,Object> |
vTypes(List<String> name)
A list of channels with the given names that return any of the value type.
|
@Deprecated public static SourceRateExpression<VDouble> vDoubleOf(SourceRateExpression<?> expression)
vNumber(java.lang.String)
expression
- an expression that returns a numeric scalar@Deprecated public static SourceRateExpression<VDoubleArray> vDoubleArrayOf(SourceRateExpression<?> expression)
vNumberArray(java.lang.String)
expression
- an expression that returns a numeric array@Deprecated public static DesiredRateExpression<VDoubleArray> vDoubleArrayOf(DesiredRateExpressionList<? extends VNumber> expressions)
vNumberArray(java.lang.String)
expressions
- a list of numeric expressionspublic static ChannelExpression<VType,Object> vType(String name)
name
- the channel name; can't be nullpublic static ChannelExpressionList<VType,Object> vTypes(List<String> name)
names
- the channel names; can't be nullpublic static ChannelExpression<VNumber,Number> vNumber(String name)
name
- the channel name; can't be nullpublic static ChannelExpressionList<VNumber,Number> vNumbers(List<String> name)
names
- the channel names; can't be nullpublic static ChannelExpression<VDouble,Double> vDouble(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VInt,Integer> vInt(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VNumberArray,org.epics.util.array.ListNumber> vNumberArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VFloatArray,float[]> vFloatArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VDoubleArray,float[]> vDoubleArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VByteArray,byte[]> vByteArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VShortArray,short[]> vShortArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VIntArray,int[]> vIntArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VString,String> vString(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VStringArray,String[]> vStringArray(String name)
name
- the channel name; can't be nullpublic static ChannelExpression<VEnum,Integer> vEnum(String name)
name
- the channel name; can't be nullpublic static ChannelExpressionList<VDouble,Double> vDoubles(List<String> names)
names
- the channel names; can't be nullpublic static DesiredRateExpression<VDouble> vConst(double value)
value
- the constant valuepublic static DesiredRateExpression<VInt> vConst(int value)
value
- the constant valuepublic static DesiredRateExpression<VDoubleArray> vConst(double... values)
values
- the constant valuespublic static DesiredRateExpression<VDoubleArray> vConst(org.epics.util.array.ListDouble values)
values
- the constant valuespublic static DesiredRateExpression<VIntArray> vConst(int... values)
values
- the constant valuespublic static DesiredRateExpression<VIntArray> vConst(org.epics.util.array.ListInt values)
values
- the constant valuespublic static DesiredRateExpressionList<VDouble> vDoubleConstants(List<Double> values)
values
- the list of constantspublic static DesiredRateExpressionList<VInt> vIntConstants(List<Integer> values)
values
- the list of constantspublic static DesiredRateExpressionList<VString> vStringConstants(List<String> values)
values
- the list of constantspublic static DesiredRateExpression<VDouble> averageOf(SourceRateExpression<VDouble> doublePv)
doublePv
- the expression to take the average of; can't be nullpublic static DesiredRateExpression<VStatistics> statisticsOf(SourceRateExpression<VDouble> doublePv)
doublePv
- the expression to calculate the statistics information on; can't be nullpublic static DesiredRateExpressionList<VStatistics> statisticsOf(SourceRateExpressionList<VDouble> doubleExpressions)
statisticsOf(org.epics.pvmanager.expression.SourceRateExpression)
to all
arguments.doubleExpressions
- a list of double expressionspublic static DesiredRateExpression<VMultiDouble> synchronizedArrayOf(org.epics.util.time.TimeDuration tolerance, SourceRateExpressionList<VDouble> expressions)
tolerance
- maximum time difference between samplesexpressions
- the expressions from which to reconstruct the arraypublic static DesiredRateExpression<VMultiDouble> synchronizedArrayOf(org.epics.util.time.TimeDuration tolerance, org.epics.util.time.TimeDuration cacheDepth, SourceRateExpressionList<VDouble> expressions)
tolerance
- maximum time difference between samples in the
reconstructed arraycacheDepth
- maximum time difference between samples in the caches
used to reconstruct the arrayexpressions
- the expressions from which to reconstruct the array@Deprecated public static DesiredRateExpression<VMultiDouble> synchronizedArrayOf(TimeDuration tolerance, SourceRateExpressionList<VDouble> expressions)
synchronizedArrayOf(org.epics.util.time.TimeDuration, org.epics.pvmanager.expression.SourceRateExpressionList)
tolerance
- maximum time difference between samplesexpressions
- the expressions from which to reconstruct the array@Deprecated public static DesiredRateExpression<VMultiDouble> synchronizedArrayOf(TimeDuration tolerance, TimeDuration cacheDepth, SourceRateExpressionList<VDouble> expressions)
tolerance
- maximum time difference between samples in the
reconstructed arraycacheDepth
- maximum time difference between samples in the caches
used to reconstruct the arrayexpressions
- the expressions from which to reconstruct the arraypublic static VTableColumn column(String name, DesiredRateExpressionList<?> values)
name
- the name of the columnvalues
- the value of the columnpublic static DesiredRateExpression<VTable> vTable(VTableColumn... columns)
columns
- columns of the tableCopyright © 2012. All Rights Reserved.