Package qa.monitor

Class QAMonitorProcess

java.lang.Object
PamguardMVC.PamProcess
qa.monitor.QAMonitorProcess
All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class QAMonitorProcess extends PamProcess
Process to monitor output of all other detector data blocks.
Author:
dg50
  • Constructor Details

    • QAMonitorProcess

      public QAMonitorProcess(QAControl qaControl)
  • 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 class PamProcess
    • pamStop

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Specified by:
      pamStop in class PamProcess
    • 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 class PamProcess
    • newData

      public void newData(PamObservable o, PamDataUnit detection)
      Overrides:
      newData in class PamProcess
    • updateData

      public void updateData(PamObservable o, PamDataUnit detection)
      Description copied from interface: PamObserver
      Informs the PamObserver that existing data have been updated
      Specified by:
      updateData in interface PamObserver
      Overrides:
      updateData in class PamProcess
    • checkMatches

      public boolean checkMatches(PamObservable o, PamDataUnit detection, boolean isUpdate)
    • 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

      public ArrayList<PamDataBlock> getAllDetectors()
      Returns:
      the allDetectors