public abstract class DynamicFormulaFunction extends StatefulFormulaFunction
This formula function is given a director which can be used to open/close expressions that read real-time data.
| Constructor and Description |
|---|
DynamicFormulaFunction() |
| Modifier and Type | Method and Description |
|---|---|
<T> DesiredRateExpression<T> |
channel(String channelName,
Class clazz)
Expression for the last value of the given channel, suitable to be
used within formula.
|
PVDirector<?> |
getDirector()
The director to use to connect/disconnect live data expressions.
|
dispose, isPureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculate, getArgumentNames, getArgumentTypes, getDescription, getName, getReturnType, isVarArgspublic final PVDirector<?> getDirector()
public final <T> DesiredRateExpression<T> channel(String channelName, Class clazz)
TODO: we need to clarify when it is better to use this method directly, and when to use the normal expressions.
T - the expression typechannelName - the channel nameclazz - the expression typeCopyright © 2015. All rights reserved.