Package difar

Class DifarDataBlock


public class DifarDataBlock extends ClipDisplayDataBlock<DifarDataUnit>
  • Constructor Details

    • DifarDataBlock

      public DifarDataBlock(String dataName, DifarControl difarControl, boolean isDifarQueue, DifarProcess parentProcess, int channelMap)
  • Method Details

    • clearAll

      public void clearAll()
      Description copied from class: PamDataBlock
      Clears all PamDataUnits from memory

      In viewer mode, data are also re-saved.

      Overrides:
      clearAll in class PamDataBlock<DifarDataUnit>
    • getDataSelectCreator

      public DataSelectorCreator getDataSelectCreator()
      Overrides:
      getDataSelectCreator in class PamDataBlock<DifarDataUnit>
      Returns:
      an object that can create data selectors to sub select data from within this type of data block.
    • addPamData

      public void addPamData(DifarDataUnit pamDataUnit)
      Description copied from class: PamDataBlock
      Adds a new PamDataUnit to the PamDataBlock. When the data unit is added, PamObservers that have subscribed to the block will be notified.
      If the data unit already has a UID, it will be left as is.
      Overrides:
      addPamData in class PamDataBlock<DifarDataUnit>
      Parameters:
      pamDataUnit - Reference to a PamDataUnit
    • clearOldOrigins

      public void clearOldOrigins(int channel, long originStartTime)
      Called when a cal value is set. Goes through any difar units including calibration ones are on that channel and may need to update their bearing.
      Parameters:
      channel - TODO
      originStartTime - TODO
      calibrationStartTime2 -