R - type of the read payloadW - type of the write payloadpublic class SourceRateReadWriteExpressionImpl<R,W> extends SourceRateReadWriteExpressionListImpl<R,W> implements SourceRateReadWriteExpression<R,W>
SourceRateReadWriteExpression.| Constructor and Description |
|---|
SourceRateReadWriteExpressionImpl(SourceRateExpression<R> sourceRateExpression,
WriteExpression<W> writeExpression)
Creates an expression that can be both read and written.
|
| Modifier and Type | Method and Description |
|---|---|
SourceRateReadWriteExpressionImpl<R,W> |
as(String name)
Changes the name for this expression
|
void |
fillWriteRecipe(PVWriterDirector director,
WriteRecipeBuilder builder)
Prepares the recipe to connect the channels needed by this expression.
|
ReadFunction<R> |
getFunction()
The function that calculates this expression.
|
String |
getName()
Name of the expression.
|
SourceRateExpressionImpl<R> |
getSourceRateExpressionImpl()
The implementation of this expression.
|
WriteExpressionImpl<W> |
getWriteExpressionImpl()
The implementation of this expression.
|
WriteFunction<W> |
getWriteFunction()
The function that implements this expression.
|
and, and, and, getSourceRateExpressions, getSourceRateReadWriteExpressions, getWriteExpressionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getSourceRateReadWriteExpressionsand, getSourceRateExpressionsand, getWriteExpressionspublic SourceRateReadWriteExpressionImpl(SourceRateExpression<R> sourceRateExpression, WriteExpression<W> writeExpression)
sourceRateExpression - the read part of the expressionwriteExpression - the write part of the expressionpublic SourceRateReadWriteExpressionImpl<R,W> as(String name)
SourceRateExpressionas in interface SourceRateExpression<R>as in interface SourceRateReadWriteExpression<R,W>name - new namepublic final String getName()
SourceRateExpressiongetName in interface SourceRateExpression<R>getName in interface WriteExpression<W>public final ReadFunction<R> getFunction()
SourceRateExpressiongetFunction in interface SourceRateExpression<R>public final SourceRateExpressionImpl<R> getSourceRateExpressionImpl()
SourceRateExpressiongetSourceRateExpressionImpl in interface SourceRateExpression<R>public final WriteExpressionImpl<W> getWriteExpressionImpl()
WriteExpressiongetWriteExpressionImpl in interface WriteExpression<W>public 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.