org.epics.pvmanager.expression
Class ChannelExpressionList<R,W>

java.lang.Object
  extended by org.epics.pvmanager.expression.SourceRateReadWriteExpressionListImpl<R,W>
      extended by org.epics.pvmanager.expression.ChannelExpressionList<R,W>
Type Parameters:
R - type of the read payload
W - 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 org.epics.pvmanager.expression.SourceRateReadWriteExpressionListImpl
and, and, and, getSourceRateExpressions, getSourceRateReadWriteExpressions, getWriteExpressions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 payload
writeClass - type of the write payload
channelNames - the names of the channels
Method Detail

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