Package rocca

Class RoccaSightingDataBlock


public class RoccaSightingDataBlock extends PamDataBlock<RoccaSightingDataUnit>
Container to hold all the sighting data
Author:
Michael Oswald
  • Constructor Details

    • RoccaSightingDataBlock

      public RoccaSightingDataBlock(PamProcess parentProcess, int channelMap)
      Main Constructor
  • Method Details

    • findDataUnitBySNum

      public RoccaSightingDataUnit findDataUnitBySNum(String snum)
      Finds a RoccaSightingDataUnit by the sighting number field. If a matching sighting number cannot be found, a 'null' is returned.
      Parameters:
      snum - sighting number to search for
      Returns:
      the RoccaSightingDataUnit with the matching sighting number
    • clearAll

      public void clearAll()
      Override the PamDataBlock clearAll() method, otherwise the detections will be erased everytime the spectrogram is run
      Overrides:
      clearAll in class PamDataBlock<RoccaSightingDataUnit>