Package PamguardMVC
Class ChannelListManager
java.lang.Object
PamguardMVC.ChannelListManager
- Direct Known Subclasses:
 DAQChannelListManager,DefaultChannelListManager,PatchPanelChannelList
Functions to convert between 
 
Channel lists - hardware channels which may not start at zero
Channel indexes - software lists which are always 0,1,2, etc.
Hydrophone numbers which are always 0,1,2, etc.
- Author:
 - Doug
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintchannelIndexesToPhones(int channelIndexes) Convert a bitmap of channel indexes to a bitmap of phonesint[]channelIndexesToPhones(int[] channelIndexes) Convert an array of channel indexes into an array of hydrophone numbersabstract intchannelIndexToPhone(int channelIndex)  
- 
Constructor Details
- 
ChannelListManager
public ChannelListManager() 
 - 
 - 
Method Details
- 
channelIndexToPhone
public abstract int channelIndexToPhone(int channelIndex)  - 
channelIndexesToPhones
public int channelIndexesToPhones(int channelIndexes) Convert a bitmap of channel indexes to a bitmap of phones- Parameters:
 channelIndexes- channel Indexes- Returns:
 - phone numbers
 
 - 
channelIndexesToPhones
public int[] channelIndexesToPhones(int[] channelIndexes) Convert an array of channel indexes into an array of hydrophone numbers- Parameters:
 channelNumbers- channel Numbers- Returns:
 - hydrophone numbers
 
 
 -