Class BearingProcess

All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class BearingProcess extends PamInstantProcess
  • Constructor Details

  • 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
    • getRequiredDataHistory

      public long getRequiredDataHistory(PamObservable o, Object arg)
      Specified by:
      getRequiredDataHistory in interface PamObserver
      Overrides:
      getRequiredDataHistory in class PamProcess
      Parameters:
      arg - optional argument from PamObservable
      Returns:
      time in milliseconds required by data held in PamObservable
    • prepareProcess

      public void prepareProcess()
      Description copied from class: PamProcess
      Called for each process before any of them receive the PamStart command
      Overrides:
      prepareProcess in class PamProcess
    • prepareBearingGroups

      public void prepareBearingGroups()
      Organise bearing groups - one for each channel group that is to be localised.
    • estimateBearings

      public void estimateBearings(PamDataUnit pamDataUnit)
    • getBearingLocaliserControl

      public BearingLocaliserControl getBearingLocaliserControl()
      Returns:
      the bearingLocaliserControl
    • getBearingAlgorithmGroups

      public BearingAlgorithmGroup[] getBearingAlgorithmGroups()
      Returns:
      the bearingAlgorithmGroups
    • getSourceDataBlock

      public PamDataBlock getSourceDataBlock()
      Description copied from class: PamProcess
      find the absolute source of data, if one exists. i.e. the data output of a process that has no data input.

      If this is called from within acquisition, it will return null

      It there is no raw data source, i.e. if the type is not PamRawDataBlock, then return null.

      Overrides:
      getSourceDataBlock in class PamProcess
      Returns:
      a PamRawDataBlock or null