Class BackgroundBinaryWriter<Tunit extends BackgroundDataUnit>

java.lang.Object
PamguardMVC.background.BackgroundBinaryWriter<Tunit>
Direct Known Subclasses:
ClickBackgroundBinaryWriter, SpecBackgroundWriter

public abstract class BackgroundBinaryWriter<Tunit extends BackgroundDataUnit> extends Object
  • Constructor Details

  • Method Details

    • packBackgroundData

      public abstract BinaryObjectData packBackgroundData(Tunit backgroundUnit)
      Get packed binary data to write to
      Parameters:
      backgroundUnit -
      Returns:
      packed array to write to binary store
    • unpackBackgroundData

      public abstract Tunit unpackBackgroundData(BinaryObjectData binaryObjectData, BinaryHeader bh, int moduleVersion)
      Unpack data from the binary file
      Parameters:
      binaryObjectData -
      bh -
      moduleVersion -
      Returns:
    • getModuleVersion

      public int getModuleVersion()
      Version number for the background data has to match that of the main data. Could cause problems moving forwards!
      Returns: