org.epics.pvmanager
Class SourceRateExpression<T>

java.lang.Object
  extended by org.epics.pvmanager.SourceRateExpression<T>
Type Parameters:
T - type returned by the expression

public class SourceRateExpression<T>
extends java.lang.Object

An expression that represent a pv read at the CA rate. Objects of this class are not created directly but through the operators defined in PVExpressionLanguage.

Author:
carcassi

Constructor Summary
SourceRateExpression(java.lang.String pvName, java.lang.Class<T> pvType)
          Constructor that represents a single pv of a particular type.
 
Method Summary
 java.lang.String getDefaultName()
          Name representation of the expression.
 Function<T> getFunction()
          Returns the function represented by this expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceRateExpression

public SourceRateExpression(java.lang.String pvName,
                            java.lang.Class<T> pvType)
Constructor that represents a single pv of a particular type.

Parameters:
pvName - the name of the pv
pvType - the type of the pv
Method Detail

getDefaultName

public java.lang.String getDefaultName()
Name representation of the expression.

TODO: is this really needed?

Returns:
a name

getFunction

public Function<T> getFunction()
Returns the function represented by this expression.

Returns:
the function


Copyright © 2010. All Rights Reserved.