Package qa.generator.testset
Class ViewerTestSet
java.lang.Object
qa.generator.testset.QATestSet
qa.generator.testset.ViewerTestSet
-
Field Summary
Fields inherited from class qa.generator.testset.QATestSet
STATUS_ACTIVE, STATUS_CANCELLED, STATUS_COMPLETE, STATUS_IDLE -
Constructor Summary
ConstructorsConstructorDescriptionViewerTestSet(String signalType, QACluster qaCluster, String version, int nSequences, Long endTime) -
Method Summary
Modifier and TypeMethodDescriptiongetNextSequence(long startSample, LatLong currentLocation) Get the next sequence of sounds.intGet the number of sequences in the test.Get a version number for the test set.booleanisFinsihed(long currentSample) Methods inherited from class qa.generator.testset.QATestSet
cancelTest, getEndTime, getLocationGenerator, getQaCluster, getSampleRate, getStatus, getTestDataUnit, getTestName, setEndTime, setQaCluster, setStatus, setTestDataUnit
-
Constructor Details
-
ViewerTestSet
-
-
Method Details
-
isFinsihed
public boolean isFinsihed(long currentSample) - Specified by:
isFinsihedin classQATestSet- Parameters:
currentSample- current daq sample.- Returns:
- true when the test is complete so that it can be removed from test lists.
-
getNextSequence
Description copied from class:QATestSetGet the next sequence of sounds. Will return null unless it's the right time to generate a new sequence- Specified by:
getNextSequencein classQATestSet- Parameters:
startSample- end sample in latest arriving raw datacurrentLocation- current reference location for tests.- Returns:
- a new sound sequence or null.
-
getNumSequences
public int getNumSequences()Description copied from class:QATestSetGet the number of sequences in the test. This is the number that have actually been generated, not the number planned.- Specified by:
getNumSequencesin classQATestSet- Returns:
- Number of sequences generated so far.
-
getVersion
Description copied from class:QATestSetGet a version number for the test set.- Specified by:
getVersionin classQATestSet- Returns:
-