Package clickDetector

Class ClickAlarmManager

java.lang.Object
PamguardMVC.PamProcess
clickDetector.ClickAlarmManager
All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class ClickAlarmManager extends PamProcess
Author:
Michael Oswald
  • Constructor Details

    • ClickAlarmManager

      public ClickAlarmManager(ClickControl clickControl, PamDataBlock<ClickDetection> clickDataBlock)
      Main Constructor

      Subscribe to the Click Datablock to monitor when clicks are found

      Parameters:
      clickDetector - ClickDetector process
  • 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 arg)
      Overrides:
      newData in class PamProcess
    • playIt

      public void playIt(ClickAlarm alarm)
    • getProcessName

      public String getProcessName()
      Overrides:
      getProcessName in class PamProcess
      Returns:
      Name of the PamProcess