Class CTProcessCheck

java.lang.Object
clickTrainDetector.CTProcessCheck
All Implemented Interfaces:
ProcessCheck

public class CTProcessCheck extends Object implements ProcessCheck
Process check for the click train detector.
Author:
Jamie Macaulay
  • Constructor Details

    • CTProcessCheck

      public CTProcessCheck(ClickTrainProcess ctProcess)
      Constructor for the process check,
      Parameters:
      process -
  • Method Details

    • newInput

      public void newInput(PamObservable obs, PamDataUnit data)
      Description copied from interface: ProcessCheck
      Called from a process every time new input data arrive
      Specified by:
      newInput in interface ProcessCheck
      Parameters:
      obs - PamObservable (always a PAMDataBlock)
      data - Data unit
    • newOutput

      public void newOutput(PamObservable obs, PamDataUnit data)
      Description copied from interface: ProcessCheck
      Called from a process every time new data are added to the output data block
      Specified by:
      newOutput in interface ProcessCheck
      Parameters:
      obs - PamObservable (always a PAMDataBlock)
      data - Data unit
    • checkSourceChannels

      public boolean checkSourceChannels()
      Check that the input has some source channels.
    • getStatus

      public ModuleStatus getStatus()
      Description copied from interface: ProcessCheck
      Get the process status. Note that calling this will probably reset some counters, so don't call this multiple times in quick succession.
      Specified by:
      getStatus in interface ProcessCheck
      Returns:
      the status of this process