Package qa

Class QATestDataBlock


public class QATestDataBlock extends SuperDetDataBlock<QATestDataUnit,QASequenceDataUnit>
  • Constructor Details

    • QATestDataBlock

      public QATestDataBlock(String dataName, QADataProcess qaDataProcess, boolean isGenerator)
  • Method Details

    • loadViewerData

      public boolean loadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver)
      Description copied from class: PamDataBlock
      Instruction from the viewer scroll manager to load new data.
      Overrides:
      loadViewerData in class PamDataBlock<QATestDataUnit>
      Parameters:
      offlineDataLoadInfo - - the load object which contains all info on the data to be loaded.
      loadObserver - - the load observer. Can be used as a callback for load progress.
    • findSubDetDataBlock

      public PamDataBlock findSubDetDataBlock(String dataLongName)
      Description copied from class: SuperDetDataBlock
      find the datablock for the subdetection. Generally, this is just the normal datablock, but in some silly circumstances, it may need to change to something more bespoke (e.g. in QA module).
      Overrides:
      findSubDetDataBlock in class SuperDetDataBlock<QATestDataUnit,QASequenceDataUnit>
      Parameters:
      dataLongName - data name
      Returns:
      data block,null if nothing found.
    • getNumRequiredBeforeLoadTime

      public int getNumRequiredBeforeLoadTime()
      Description copied from class: PamDataBlock
      Get the number of pam data units that are required prior to the load times that get sent to loadViewerData. This can be used for things like hydrophone data where it may be necessary to load up a few earlier points to complete a trackline, etc.
      Overrides:
      getNumRequiredBeforeLoadTime in class PamDataBlock<QATestDataUnit>
      Returns:
      number of units required.