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(Collection<String> channelNames,
Class<R> readClass,
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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelExpressionList
public ChannelExpressionList(Collection<String> channelNames,
Class<R> readClass,
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(String... channelNames)
- For writes only, marks that these channels should be written only after the
given channels.
- Parameters:
channelNames
- preceding channel names
- Returns:
- this
Copyright © 2011. All Rights Reserved.