org.epics.pvmanager.expression
Class ChannelExpressionList<R,W>
java.lang.Object
org.epics.pvmanager.expression.SourceRateReadWriteExpressionListImpl<R,W>
org.epics.pvmanager.expression.ChannelExpressionList<R,W>
- Type Parameters:
R
- type of the read payloadW
- type of the write payload
- All Implemented Interfaces:
- SourceRateExpressionList<R>, SourceRateReadWriteExpressionList<R,W>, WriteExpressionList<W>
public class ChannelExpressionList<R,W>
- extends SourceRateReadWriteExpressionListImpl<R,W>
Represents a list of channel, which can be both read or written.
- Author:
- carcassi
Constructor Summary |
ChannelExpressionList(java.util.Collection<java.lang.String> channelNames,
java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
An expression for a list of channels with the given names, which are expected to
provide a read payload of readClass and accept a write payload
of writeClass . |
Method Summary |
ChannelExpressionList<R,W> |
after(java.lang.String... channelNames)
For writes only, marks that these channels 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 |
ChannelExpressionList
public ChannelExpressionList(java.util.Collection<java.lang.String> channelNames,
java.lang.Class<R> readClass,
java.lang.Class<W> writeClass)
- An expression for a list of channels with the given names, which are expected to
provide a read payload of
readClass
and accept a write payload
of writeClass
.
- Parameters:
readClass
- type of the read payloadwriteClass
- type of the write payloadchannelNames
- the names of the channels
after
public ChannelExpressionList<R,W> after(java.lang.String... channelNames)
- For writes only, marks that these channels should be written only after the
given channels.
- Parameters:
channelNames
- preceding channel names
- Returns:
- this