Class ViewerTestSet

java.lang.Object
qa.generator.testset.QATestSet
qa.generator.testset.ViewerTestSet

public class ViewerTestSet extends QATestSet
  • Constructor Details

    • ViewerTestSet

      public ViewerTestSet(String signalType, QACluster qaCluster, String version, int nSequences, Long endTime)
  • Method Details

    • isFinsihed

      public boolean isFinsihed(long currentSample)
      Specified by:
      isFinsihed in class QATestSet
      Parameters:
      currentSample - current daq sample.
      Returns:
      true when the test is complete so that it can be removed from test lists.
    • getNextSequence

      public SoundSequence getNextSequence(long startSample, LatLong currentLocation)
      Description copied from class: QATestSet
      Get the next sequence of sounds. Will return null unless it's the right time to generate a new sequence
      Specified by:
      getNextSequence in class QATestSet
      Parameters:
      startSample - end sample in latest arriving raw data
      currentLocation - current reference location for tests.
      Returns:
      a new sound sequence or null.
    • getNumSequences

      public int getNumSequences()
      Description copied from class: QATestSet
      Get the number of sequences in the test. This is the number that have actually been generated, not the number planned.
      Specified by:
      getNumSequences in class QATestSet
      Returns:
      Number of sequences generated so far.
    • getVersion

      public String getVersion()
      Description copied from class: QATestSet
      Get a version number for the test set.
      Specified by:
      getVersion in class QATestSet
      Returns: