|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.expression.DesiredRateExpressionListImpl<R>
org.epics.pvmanager.expression.DesiredRateExpressionImpl<java.util.List<java.lang.Object>>
org.epics.pvmanager.extra.DynamicGroup
public class DynamicGroup
A expression that returns the result of a dynamically managed group.
Once the group is created, any DesiredRateExpression
can be
added dynamically. The exceptions eventually generated by those
expressions can be obtained through lastExceptions()
.
Constructor Summary | |
---|---|
DynamicGroup()
Creates a new group. |
Method Summary | |
---|---|
DynamicGroup |
add(DesiredRateExpression<?> expression)
Adds the expression at the end. |
DynamicGroup |
clear()
Removes all the expressions currently in the group. |
java.util.List<java.lang.Exception> |
lastExceptions()
Returns the last exception for each expression in the group (if present). |
DynamicGroup |
remove(int index)
Removes the expression at the given location. |
DynamicGroup |
set(int index,
DesiredRateExpression<?> expression)
Changes the expression to the given location. |
int |
size()
Returns the number of expressions in the group. |
Methods inherited from class org.epics.pvmanager.expression.DesiredRateExpressionImpl |
---|
as, getDataRecipe, getDesiredRateExpressionImpl, getFunction, getName |
Methods inherited from class org.epics.pvmanager.expression.DesiredRateExpressionListImpl |
---|
and, getDesiredRateExpressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.epics.pvmanager.expression.DesiredRateExpressionList |
---|
and, getDesiredRateExpressions |
Constructor Detail |
---|
public DynamicGroup()
Method Detail |
---|
public java.util.List<java.lang.Exception> lastExceptions()
public DynamicGroup clear()
public int size()
public DynamicGroup add(DesiredRateExpression<?> expression)
expression
- the expression to be added
public DynamicGroup remove(int index)
index
- the position to remove
public DynamicGroup set(int index, DesiredRateExpression<?> expression)
index
- the position to removeexpression
- the new expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |