Package qa.generator
Class QAGeneratorProcess
java.lang.Object
PamguardMVC.PamProcess
PamguardMVC.PamInstantProcess
qa.QADataProcess
qa.generator.QAGeneratorProcess
- All Implemented Interfaces:
 PamObserver,ProcessAnnotator
- 
Field Summary
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, parentDataBlock, processName, sampleRate - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddTestSet(String testType, QACluster cluster, QALocationGenerator locationGenerator) voidaddTestSet(QATestDataUnit testDataUnit) voidcancelTest(QATestDataUnit dataUnit) Called to cancel a test.longintvoidnewData(PamObservable o, PamDataUnit arg) voidcalled when range factor has changed - need to update all random tests.voidpamStart()Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).voidpamStop()Stops the process.voidCalled for each process before any of them receive the PamStart commandvoidsetSpreadingModel(PropagationModel spreadingModel) voidcalled for every process once the systemmodel has been created.Methods inherited from class qa.QADataProcess
findOpsDataUnit, findOpsDataUnits, getOpsDataBlock, getQaControl, getQaLogging, getQaSequenceLogging, getQaTestLogging, getSequenceDataBlock, getSoundsDataBlock, getTestsDataBlockMethods inherited from class PamguardMVC.PamInstantProcess
setParentDataBlock, setParentDataBlockMethods 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:PamProcesscalled 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:
 setupProcessin classPamProcess
 - 
prepareProcess
public void prepareProcess()Description copied from class:PamProcessCalled for each process before any of them receive the PamStart command- Overrides:
 prepareProcessin classPamProcess
 - 
pamStart
public void pamStart()Description copied from class:PamProcessCalled for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Overrides:
 pamStartin classQADataProcess
 - 
pamStop
public void pamStop()Description copied from class:PamProcessStops the process.- Overrides:
 pamStopin classQADataProcess
 - 
addTestSet
public QATestDataUnit addTestSet(String testType, QACluster cluster, QALocationGenerator locationGenerator)  - 
addTestSet
 - 
newData
- Overrides:
 newDatain 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. 
 -