|
||||||||||
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(java.lang.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(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(java.lang.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<VInt> |
vConst(int value)
A constant representing an int. |
static DesiredRateExpression<VDoubleArray> |
vConst(ListDouble values)
A constant representing a double array. |
static DesiredRateExpression<VIntArray> |
vConst(ListInt values)
A constant representing an int array. |
static ChannelExpression<VDouble,java.lang.Double> |
vDouble(java.lang.String name)
A channel with the given name of type VDouble. |
static ChannelExpression<VDoubleArray,float[]> |
vDoubleArray(java.lang.String name)
A channel with the given name of type VDoubleArray. |
static DesiredRateExpression<VDoubleArray> |
vDoubleArrayOf(DesiredRateExpressionList<? extends VNumber> expressions)
Transforms a list of numeric scalar into a double array. |
static SourceRateExpression<VDoubleArray> |
vDoubleArrayOf(SourceRateExpression<?> expression)
Deprecated. use vNumberArray(java.lang.String) |
static DesiredRateExpressionList<VDouble> |
vDoubleConstants(java.util.List<java.lang.Double> values)
A list of constant expressions of type VDouble. |
static SourceRateExpression<VDouble> |
vDoubleOf(SourceRateExpression<?> expression)
Deprecated. use vNumber(java.lang.String) |
static ChannelExpressionList<VDouble,java.lang.Double> |
vDoubles(java.util.List<java.lang.String> names)
A list of channels with the given names, all of type VDouble. |
static ChannelExpression<VEnum,java.lang.Integer> |
vEnum(java.lang.String name)
A channel with the given name of type VEnum. |
static ChannelExpression<VFloatArray,float[]> |
vFloatArray(java.lang.String name)
A channel with the given name of type VFloatArray. |
static ChannelExpression<VInt,java.lang.Integer> |
vInt(java.lang.String name)
A channel with the given name of type VInt. |
static ChannelExpression<VIntArray,int[]> |
vIntArray(java.lang.String name)
A channel with the given name of type VIntArray. |
static DesiredRateExpressionList<VInt> |
vIntConstants(java.util.List<java.lang.Integer> values)
A list of constant expressions of type VDouble. |
static ChannelExpression<VNumber,java.lang.Number> |
vNumber(java.lang.String name)
A channel with the given name of type VNumber. |
static ChannelExpression<VNumberArray,ListNumber> |
vNumberArray(java.lang.String name)
A channel with the given name of type VNumberArray. |
static ChannelExpression<VShortArray,short[]> |
vShortArray(java.lang.String name)
A channel with the given name of type VShortArray. |
static ChannelExpression<VString,java.lang.String> |
vString(java.lang.String name)
A channel with the given name of type VString. |
static ChannelExpression<VStringArray,java.lang.String[]> |
vStringArray(java.lang.String name)
A channel with the given name of type VStringArray. |
static DesiredRateExpressionList<VString> |
vStringConstants(java.util.List<java.lang.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,java.lang.Object> |
vType(java.lang.String name)
A channel with the given name that returns any of the value type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@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
public static DesiredRateExpression<VDoubleArray> vDoubleArrayOf(DesiredRateExpressionList<? extends VNumber> expressions)
expressions
- a list of numeric expressions
public static ChannelExpression<VType,java.lang.Object> vType(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VNumber,java.lang.Number> vNumber(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VDouble,java.lang.Double> vDouble(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VInt,java.lang.Integer> vInt(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VNumberArray,ListNumber> vNumberArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VFloatArray,float[]> vFloatArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VDoubleArray,float[]> vDoubleArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VByteArray,byte[]> vByteArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VShortArray,short[]> vShortArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VIntArray,int[]> vIntArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VString,java.lang.String> vString(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VStringArray,java.lang.String[]> vStringArray(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpression<VEnum,java.lang.Integer> vEnum(java.lang.String name)
name
- the channel name; can't be null
public static ChannelExpressionList<VDouble,java.lang.Double> vDoubles(java.util.List<java.lang.String> names)
names
- the channel names; can't be null
public static DesiredRateExpression<VDouble> vConst(double value)
value
- the constant value
public static DesiredRateExpression<VInt> vConst(int value)
value
- the constant value
public static DesiredRateExpression<VDoubleArray> vConst(double... values)
values
- the constant values
public static DesiredRateExpression<VDoubleArray> vConst(ListDouble values)
values
- the constant values
public static DesiredRateExpression<VIntArray> vConst(ListInt values)
values
- the constant values
public static DesiredRateExpressionList<VDouble> vDoubleConstants(java.util.List<java.lang.Double> values)
values
- the list of constants
public static DesiredRateExpressionList<VInt> vIntConstants(java.util.List<java.lang.Integer> values)
values
- the list of constants
public static DesiredRateExpressionList<VString> vStringConstants(java.util.List<java.lang.String> values)
values
- the list of constants
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.expression.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(java.lang.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 |