Interface ChannelGetter
- All Known Subinterfaces:
NamedChannelsMap
- All Known Implementing Classes:
NamedChannelsConcatenate
,OpenedNamedChannels
public interface ChannelGetter
Retrieves a
Channel
by name from a particular time-point.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptiongetChannel
(String channelName, int timeIndex, Logger logger) Retrieve theChannel
corresponding tochannelName
at a particular time-frame.boolean
hasChannel
(String channelName) Does a particular channel-name exist?
-
Method Details
-
hasChannel
Does a particular channel-name exist?- Parameters:
channelName
- the name of the channel to check.- Returns:
- true iff the channel-name exists.
-
getChannel
Channel getChannel(String channelName, int timeIndex, Logger logger) throws GetOperationFailedException Retrieve theChannel
corresponding tochannelName
at a particular time-frame.- Parameters:
channelName
- the name of theChannel
.timeIndex
- the index (beginning at 0) of the frame.logger
- logger to write informative messes or non-fatal errors.- Returns:
- the retrieved
Channel
. - Throws:
GetOperationFailedException
- if no channel exists withchannelName
at time-pointtimeIndex
.
-