Package PamguardMVC

Class PamInstantProcess

java.lang.Object
PamguardMVC.PamProcess
PamguardMVC.PamInstantProcess
All Implemented Interfaces:
PamObserver, ProcessAnnotator
Direct Known Subclasses:
BearingProcess, BFDetectionMonitor, CBLocaliserProcess, CTClassificationProcess, CTLocalisationProcess, DetectionMonitor, DLClassifyProcess, MTProcess, PlaybackProcess, QADataProcess

public abstract class PamInstantProcess extends PamProcess
Similar to PAMProcess, but always subscribes itself to upstream datablocks using the instant options to this process always get's called in the same thread as data were collected in and before data units are sent for storage. Used for classifiers and localisers which annotate existing data.
Author:
Doug Gillespie
  • Constructor Details

  • Method Details

    • setParentDataBlock

      public void setParentDataBlock(PamDataBlock newParentDataBlock)
      Description copied from class: PamProcess
      Set a parent data block with the default options of rethreading if set
      Overrides:
      setParentDataBlock in class PamProcess
      Parameters:
      newParentDataBlock - source data block.
    • setParentDataBlock

      public void setParentDataBlock(PamDataBlock newParentDataBlock, boolean reThread)
      Description copied from class: PamProcess
      Set a parent data block for the process with the option to rethread the data exchange process. This is overridden to false if the main PAMGUARD option to rethread is off.
      Overrides:
      setParentDataBlock in class PamProcess
      Parameters:
      newParentDataBlock - source data block
      reThread - rethread if multithreading is enabled.