Class ChannelGetterForTimepoint
Object
ChannelGetterForTimepoint
A wrapper around
ChannelGetter that retrieves channels for a specific timepoint.-
Constructor Summary
ConstructorsConstructorDescriptionChannelGetterForTimepoint(ChannelGetter getter, int t) Creates a newChannelGetterForTimepointinstance. -
Method Summary
Modifier and TypeMethodDescriptiongetChannel(String channelName, Logger logger) Retrieves a channel with the given name for the specified timepoint.booleanhasChannel(String channelName) Checks if a channel with the given name exists.
-
Constructor Details
-
ChannelGetterForTimepoint
Creates a newChannelGetterForTimepointinstance.- Parameters:
getter- The underlyingChannelGetterto 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
Channelfor the specified name and timepoint - Throws:
GetOperationFailedException- if the channel retrieval operation fails
-