org.epics.pvmanager.expression
Interface SourceRateExpression<R>

Type Parameters:
R - type of the read payload
All Superinterfaces:
SourceRateExpressionList<R>
All Known Subinterfaces:
SourceRateReadWriteExpression<R,W>
All Known Implementing Classes:
ChannelExpression, SourceRateExpressionImpl, SourceRateReadWriteExpressionImpl

public interface SourceRateExpression<R>
extends SourceRateExpressionList<R>

An expression to read at the rate of the source.

Don't implement objects with this interface, use SourceRateExpressionImpl.

Author:
carcassi

Method Summary
 SourceRateExpression<R> as(java.lang.String name)
          Changes the name for this expression
 Function<R> getFunction()
          The function that calculates this expression.
 java.lang.String getName()
          Name of the expression.
 SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
          The implementation of this expression.
 
Methods inherited from interface org.epics.pvmanager.expression.SourceRateExpressionList
and, getSourceRateExpressions
 

Method Detail

as

SourceRateExpression<R> as(java.lang.String name)
Changes the name for this expression

Parameters:
name - new name
Returns:
this

getName

java.lang.String getName()
Name of the expression.

Returns:
the expression name

getFunction

Function<R> getFunction()
The function that calculates this expression.

Returns:
the expression function

getSourceRateExpressionImpl

SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
The implementation of this expression.

Returns:
the implementation