R - type of the read payloadW - type of the write payloadpublic class DesiredRateReadWriteExpressionImpl<R,W> extends DesiredRateReadWriteExpressionListImpl<R,W> implements DesiredRateReadWriteExpression<R,W>
DesiredRateReadWriteExpression.| Constructor and Description |
|---|
DesiredRateReadWriteExpressionImpl(DesiredRateExpression<R> desiredRateExpression,
WriteExpression<W> writeExpression)
Creates an expression that can be both read at the desired rate and written.
|
| Modifier and Type | Method and Description |
|---|---|
DesiredRateReadWriteExpressionImpl<R,W> |
as(String name)
Changes the name for this expression
|
void |
fillReadRecipe(PVDirector director,
ReadRecipeBuilder builder)
Prepares the recipe to connect the channels needed by this expression.
|
void |
fillWriteRecipe(PVWriterDirector director,
WriteRecipeBuilder builder)
Prepares the recipe to connect the channels needed by this expression.
|
DesiredRateExpressionImpl<R> |
getDesiredRateExpressionImpl()
The implementation of this expression.
|
ReadFunction<R> |
getFunction()
The function that calculates this expression.
|
String |
getName()
Name of this expression.
|
WriteExpressionImpl<W> |
getWriteExpressionImpl()
The implementation of this expression.
|
WriteFunction<W> |
getWriteFunction()
The function that implements this expression.
|
and, and, and, getDesiredRateExpressions, getDesiredRateReadWriteExpressions, getWriteExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getDesiredRateReadWriteExpressionsand, getDesiredRateExpressionsand, getWriteExpressionspublic DesiredRateReadWriteExpressionImpl(DesiredRateExpression<R> desiredRateExpression, WriteExpression<W> writeExpression)
desiredRateExpression - the read part of the expressionwriteExpression - the write part of the expressionpublic final DesiredRateReadWriteExpressionImpl<R,W> as(String name)
DesiredRateExpressionas in interface DesiredRateExpression<R>as in interface DesiredRateReadWriteExpression<R,W>name - new namepublic final String getName()
DesiredRateExpressiongetName in interface DesiredRateExpression<R>getName in interface WriteExpression<W>public final ReadFunction<R> getFunction()
DesiredRateExpressiongetFunction in interface DesiredRateExpression<R>public final DesiredRateExpressionImpl<R> getDesiredRateExpressionImpl()
DesiredRateExpressiongetDesiredRateExpressionImpl in interface DesiredRateExpression<R>public final WriteExpressionImpl<W> getWriteExpressionImpl()
WriteExpressiongetWriteExpressionImpl in interface WriteExpression<W>public void fillReadRecipe(PVDirector director, ReadRecipeBuilder builder)
DesiredRateExpressionA dynamic expression, one for which the child expressions can change, can keep a reference to the director to connect/disconnect new child expressions.
fillReadRecipe in interface DesiredRateExpression<R>director - the director for the readerbuilder - the recipe to fillpublic final WriteFunction<W> getWriteFunction()
WriteExpressiongetWriteFunction in interface WriteExpression<W>public void fillWriteRecipe(PVWriterDirector director, WriteRecipeBuilder builder)
WriteExpressionA dynamic expression, one for which the child expressions can change, can keep a reference to the director to connect/disconnect new child expressions.
fillWriteRecipe in interface WriteExpression<W>director - the director for the readerbuilder - the recipe to fillCopyright © 2010–2015. All rights reserved.