Class BearingDataBlock

All Implemented Interfaces:
GroupedDataSource

public class BearingDataBlock extends PamDataBlock<PamDataUnit> implements GroupedDataSource
  • Constructor Details

  • Method Details

    • getChannelMap

      public int getChannelMap()
      Overrides:
      getChannelMap in class PamDataBlock<PamDataUnit>
      Returns:
      Software channel map for the data block.
    • getLocalisationContents

      public LocalisationInfo getLocalisationContents()
      Description copied from class: PamDataBlock
      Get Information indicating what localisation information might be available for the data in this block. Note that a flag being set here is no guarantee that the data units will have a particular type of localisation data, since localisation may have failed on individual units.
      Overrides:
      getLocalisationContents in class PamDataBlock<PamDataUnit>
      Returns:
      localisation flags
    • addPamData

      public void addPamData(PamDataUnit pamDataUnit, Long uid)
      Description copied from class: PamDataBlock
      Adds a new PamDataUnit to the PamDataBlock and force the UID to a specific value. This should only be used in very specific circumstances - nromally, programmers should call addPamData(Tunit pamDataUnit) and let PAMGuard handle the UID's.
      Overrides:
      addPamData in class PamDataBlock<PamDataUnit>
      Parameters:
      pamDataUnit - Reference to a PamDataUnit
      uid - Unique identifier for data unit.
    • addLocalisationContents

      public void addLocalisationContents(int localisationContents)
      Description copied from class: PamDataBlock
      Add a single flag indicating what localisation information might be available for the data in this block. Note that a flag being set here is no guarantee that the data units will have a particular type of localisation data, since localisation may have failed on individual units.
      Overrides:
      addLocalisationContents in class PamDataBlock<PamDataUnit>
      Parameters:
      localisationContents - bitmap of localisation contents
    • getGroupSourceParameters

      public GroupedSourceParameters getGroupSourceParameters()
      Specified by:
      getGroupSourceParameters in interface GroupedDataSource
      Returns:
      the current group source parameters for this data source.