Package qa.monitor
Class QAMonitorProcess
java.lang.Object
PamguardMVC.PamProcess
qa.monitor.QAMonitorProcess
- All Implemented Interfaces:
PamObserver
,ProcessAnnotator
Process to monitor output of all other detector data blocks.
- Author:
- dg50
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkMatches
(PamObservable o, PamDataUnit detection, boolean isUpdate) boolean
checkMatches
(PamObservable o, PamDataUnit detection, long detectionUID, boolean isUpdate) Check this detection (or other type of data) to see if it matches with any of the generated sounds currently held in memory.void
newData
(PamObservable o, PamDataUnit detection) 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 every process once the systemmodel has been created.void
updateData
(PamObservable o, PamDataUnit detection) Informs the PamObserver that existing data have been updatedMethods 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, prepareProcess, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, toString
-
Constructor Details
-
QAMonitorProcess
-
-
Method Details
-
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).- Specified by:
pamStart
in classPamProcess
-
pamStop
public void pamStop()Description copied from class:PamProcess
Stops the process.- Specified by:
pamStop
in classPamProcess
-
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
-
newData
- Overrides:
newData
in classPamProcess
-
updateData
Description copied from interface:PamObserver
Informs the PamObserver that existing data have been updated- Specified by:
updateData
in interfacePamObserver
- Overrides:
updateData
in classPamProcess
-
checkMatches
-
checkMatches
public boolean checkMatches(PamObservable o, PamDataUnit detection, long detectionUID, boolean isUpdate) Check this detection (or other type of data) to see if it matches with any of the generated sounds currently held in memory.- Parameters:
o
-detection
-detectionUID
-isUpdate
-- Returns:
-
getAllDetectors
- Returns:
- the allDetectors
-