Package qa

Class QADataBlock<Tunit extends QADataUnit>

Type Parameters:
Tunit -

@Deprecated public class QADataBlock<Tunit extends QADataUnit> extends SuperDetDataBlock<Tunit,QADataUnit>
Deprecated.
Modified base datablock so that we can have data reloaded for analysis during real time operations. does cause some problems with SuperDetectionDatablock though since it insists that the logging is SuperDetLogging.
Author:
dg50
  • Method Details

    • removeOldUnitsT

      protected int removeOldUnitsT(long currentTimeMS)
      Deprecated.
      Description copied from class: PamDataBlock
      Removes olderPamDataUnits from memory, starting at the first unit and continuing until if finds one with data coming earlier than the given time in milliseconds.

      If the data are acoustic, it tries to find the data source and looks to see how much data has been placed in the source data unit and does the calculation in samples.

      Overrides:
      removeOldUnitsT in class PamDataBlock<Tunit extends QADataUnit>
      Parameters:
      currentTimeMS - Time in milliseconds of the first data which must be kept
      Returns:
      the number of units removed
    • removeOldUnitsS

      protected int removeOldUnitsS(long mastrClockSample)
      Deprecated.
      Overrides:
      removeOldUnitsS in class PamDataBlock<Tunit extends QADataUnit>
    • getNaturalLifetime

      public int getNaturalLifetime()
      Deprecated.
      Description copied from class: PamDataBlock
      Get the natural lifetime in seconds
      Overrides:
      getNaturalLifetime in class PamDataBlock<Tunit extends QADataUnit>
      Returns:
      lifetime in seconds
    • getNaturalLifetimeMillis

      public int getNaturalLifetimeMillis()
      Deprecated.
      Description copied from class: PamDataBlock
      Get the natural lifetime in milliseconds
      Overrides:
      getNaturalLifetimeMillis in class PamDataBlock<Tunit extends QADataUnit>
      Returns:
    • getFirstViewerUID

      public long getFirstViewerUID()
      Deprecated.
      Overrides:
      getFirstViewerUID in class PamDataBlock<Tunit extends QADataUnit>
      Returns:
      the firstViewerUID
    • getLastViewerUID

      public long getLastViewerUID()
      Deprecated.
      Overrides:
      getLastViewerUID in class PamDataBlock<Tunit extends QADataUnit>
      Returns:
      the lastViewerUID
    • isGenerator

      public boolean isGenerator()
      Deprecated.
      Returns:
      the isGenerator
    • isAnalyser

      public boolean isAnalyser()
      Deprecated.
      Returns:
      the isAnalyser
    • loadViewerData

      public boolean loadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver)
      Deprecated.
      Description copied from class: PamDataBlock
      Instruction from the viewer scroll manager to load new data.
      Overrides:
      loadViewerData in class PamDataBlock<Tunit extends QADataUnit>
      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.