|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.data.ExpressionLanguage
public class ExpressionLanguage
PVManager expression language support for EPICS types.
Method Summary | |
---|---|
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.SourceRateExpression) to all
arguments. |
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(TimeDuration tolerance,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression. |
static DesiredRateExpression<VMultiDouble> |
synchronizedArrayOf(TimeDuration tolerance,
TimeDuration cacheDepth,
SourceRateExpressionList<VDouble> expressions)
A synchronized array from the given expression. |
static ChannelExpression<VByteArray,byte[]> |
vByteArray(String name)
A channel with the given name of type VByteArray. |
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 SourceRateExpression<VDoubleArray> |
vDoubleArrayOf(SourceRateExpression<?> expression)
Expects a numeric array (VDoubleArray, VFloatArray, VIntArray, VShortArray or VByteArray) and converts it to a VDoubleArray. |
static DesiredRateExpressionList<VDouble> |
vDoubleConstants(List<Double> values)
A list of constant expressions of type VDouble. |
static SourceRateExpression<VDouble> |
vDoubleOf(SourceRateExpression<?> expression)
Expects a numeric scalar (VDouble or VInt) and converts it to a VDouble. |
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<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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SourceRateExpression<VDouble> vDoubleOf(SourceRateExpression<?> expression)
expression
- an expression that returns a numeric scalar
public static SourceRateExpression<VDoubleArray> vDoubleArrayOf(SourceRateExpression<?> expression)
expression
- an expression that returns a numeric array
public static ChannelExpression<VDouble,Double> vDouble(String name)
name
- the channel name; can't be null
public static ChannelExpression<VFloatArray,float[]> vFloatArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VDoubleArray,float[]> vDoubleArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VInt,Integer> vInt(String name)
name
- the channel name; can't be null
public static ChannelExpression<VByteArray,byte[]> vByteArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VShortArray,short[]> vShortArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VIntArray,int[]> vIntArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VString,String> vString(String name)
name
- the channel name; can't be null
public static ChannelExpression<VStringArray,String[]> vStringArray(String name)
name
- the channel name; can't be null
public static ChannelExpression<VEnum,Integer> vEnum(String name)
name
- the channel name; can't be null
public static ChannelExpressionList<VDouble,Double> vDoubles(List<String> names)
names
- the channel names; can't be null
public static DesiredRateExpressionList<VDouble> vDoubleConstants(List<Double> values)
public static DesiredRateExpressionList<VInt> vIntConstants(List<Integer> values)
public static DesiredRateExpressionList<VString> vStringConstants(List<String> values)
public static DesiredRateExpression<VDouble> averageOf(SourceRateExpression<VDouble> doublePv)
doublePv
- the expression to take the average of; can't be null
public static DesiredRateExpression<VStatistics> statisticsOf(SourceRateExpression<VDouble> doublePv)
doublePv
- the expression to calculate the statistics information on; can't be null
public static DesiredRateExpressionList<VStatistics> statisticsOf(SourceRateExpressionList<VDouble> doubleExpressions)
#statisticsOf(org.epics.pvmanager.SourceRateExpression)
to all
arguments.
doubleExpressions
- a list of double expressions
public static DesiredRateExpression<VMultiDouble> synchronizedArrayOf(TimeDuration tolerance, SourceRateExpressionList<VDouble> expressions)
tolerance
- maximum time difference between samplesexpressions
- the expressions from which to reconstruct the array
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 array
public static VTableColumn column(String name, DesiredRateExpressionList<?> values)
name
- the name of the columnvalues
- the value of the column
public static DesiredRateExpression<VTable> vTable(VTableColumn... columns)
columns
- columns of the table
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |