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
ConstructorDescriptionViewerTestSet
(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.int
Get the number of sequences in the test.Get a version number for the test set.boolean
isFinsihed
(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:
isFinsihed
in 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: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 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: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 classQATestSet
- Returns:
- Number of sequences generated so far.
-
getVersion
Description copied from class:QATestSet
Get a version number for the test set.- Specified by:
getVersion
in classQATestSet
- Returns:
-