org.epics.pvmanager.expression
Class ChannelExpression<R,W>
java.lang.Object
org.epics.pvmanager.expression.SourceRateReadWriteExpressionListImpl<R,W>
org.epics.pvmanager.expression.SourceRateReadWriteExpressionImpl<R,W>
org.epics.pvmanager.expression.ChannelExpression<R,W>
- Type Parameters:
R
- type of the read payloadW
- type of the write payload
- All Implemented Interfaces:
- SourceRateExpression<R>, SourceRateExpressionList<R>, SourceRateReadWriteExpression<R,W>, SourceRateReadWriteExpressionList<R,W>, WriteExpression<W>, WriteExpressionList<W>
public class ChannelExpression<R,W>
- extends SourceRateReadWriteExpressionImpl<R,W>
Represents a channel, which can be both read or written.
- Author:
- carcassi
Constructor Summary |
ChannelExpression(java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
Constructor for the null channel. |
ChannelExpression(java.lang.String channelName,
java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
An expression for a channel with the given name, which is expected to
provide a read payload of readClass and accept a write payload
of writeClass . |
Method Summary |
ChannelExpression<R,W> |
after(java.lang.String... channelNames)
For writes only, marks that this channel should be written only after the
given channels. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelExpression
public ChannelExpression(java.lang.String channelName,
java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
- An expression for a channel with the given name, which is expected to
provide a read payload of
readClass
and accept a write payload
of writeClass
.
- Parameters:
channelName
- the name of the channelreadClass
- type of the read payloadwriteClass
- type of the write payload
ChannelExpression
public ChannelExpression(java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
- Constructor for the null channel.
- Parameters:
readClass
- type of the read payloadwriteClass
- type of the write payload
after
public ChannelExpression<R,W> after(java.lang.String... channelNames)
- For writes only, marks that this channel should be written only after the
given channels.
- Parameters:
channelNames
- preceding channel names
- Returns:
- this