Package qa.generator
Class QAGeneratorProcess
java.lang.Object
PamguardMVC.PamProcess
PamguardMVC.PamInstantProcess
qa.QADataProcess
qa.generator.QAGeneratorProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddTestSet
(String testType, QACluster cluster, QALocationGenerator locationGenerator) void
addTestSet
(QATestDataUnit testDataUnit) void
cancelTest
(QATestDataUnit dataUnit) Called to cancel a test.long
int
void
newData
(PamObservable o, PamDataUnit arg) void
called when range factor has changed - need to update all random tests.void
pamStart()
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).void
pamStop()
Stops the process.void
Called for each process before any of them receive the PamStart commandvoid
setSpreadingModel
(PropagationModel spreadingModel) void
called for every process once the systemmodel has been created.Methods inherited from class qa.QADataProcess
findOpsDataUnit, findOpsDataUnits, getOpsDataBlock, getQaControl, getQaLogging, getQaSequenceLogging, getQaTestLogging, getSequenceDataBlock, getSoundsDataBlock, getTestsDataBlock
Methods inherited from class PamguardMVC.PamInstantProcess
setParentDataBlock, setParentDataBlock
Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getProcessName, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setProcessCheck, setProcessName, setSampleRate, toString, updateData
-
Constructor Details
-
QAGeneratorProcess
-
-
Method Details
-
setupProcess
public void setupProcess()Description copied from class:PamProcess
called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.- Overrides:
setupProcess
in classPamProcess
-
prepareProcess
public void prepareProcess()Description copied from class:PamProcess
Called for each process before any of them receive the PamStart command- Overrides:
prepareProcess
in classPamProcess
-
pamStart
public void pamStart()Description copied from class:PamProcess
Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Overrides:
pamStart
in classQADataProcess
-
pamStop
public void pamStop()Description copied from class:PamProcess
Stops the process.- Overrides:
pamStop
in classQADataProcess
-
addTestSet
public QATestDataUnit addTestSet(String testType, QACluster cluster, QALocationGenerator locationGenerator) -
addTestSet
-
newData
- Overrides:
newData
in classPamProcess
-
getSpreadingModel
- Returns:
- the spreadingModel
-
setSpreadingModel
- Parameters:
spreadingModel
- the spreadingModel to set
-
cancelTest
Called to cancel a test.- Parameters:
dataUnit
-
-
getCurrentSample
public long getCurrentSample()- Returns:
- the currentSample
-
getNumCurrentSequences
public int getNumCurrentSequences()- Returns:
- Get the number of currently active sequences.
-
notifyNewRangeFactor
public void notifyNewRangeFactor()called when range factor has changed - need to update all random tests.
-