Class ChannelGetterForTimepoint
Object
ChannelGetterForTimepoint
A wrapper around
ChannelGetter
that retrieves channels for a specific timepoint.-
Constructor Summary
ConstructorsConstructorDescriptionChannelGetterForTimepoint
(ChannelGetter getter, int t) Creates a newChannelGetterForTimepoint
instance. -
Method Summary
Modifier and TypeMethodDescriptiongetChannel
(String channelName, Logger logger) Retrieves a channel with the given name for the specified timepoint.boolean
hasChannel
(String channelName) Checks if a channel with the given name exists.
-
Constructor Details
-
ChannelGetterForTimepoint
Creates a newChannelGetterForTimepoint
instance.- Parameters:
getter
- The underlyingChannelGetter
to retrieve channels.t
- The timepoint for which to retrieve channels.
-
-
Method Details
-
hasChannel
Checks if a channel with the given name exists.- Parameters:
channelName
- the name of the channel to check- Returns:
- true if the channel exists, false otherwise
-
getChannel
Retrieves a channel with the given name for the specified timepoint.- Parameters:
channelName
- the name of the channel to retrievelogger
- the logger to use for any logging operations- Returns:
- the
Channel
for the specified name and timepoint - Throws:
GetOperationFailedException
- if the channel retrieval operation fails
-