Class WhistleBinaryModuleHeader

java.lang.Object
binaryFileStorage.ModuleHeader
whistlesAndMoans.WhistleBinaryModuleHeader
All Implemented Interfaces:
Serializable, ManagedParameters

public class WhistleBinaryModuleHeader extends ModuleHeader implements Serializable
See Also:
  • Field Details

    • delayScale

      public int delayScale
  • Constructor Details

    • WhistleBinaryModuleHeader

      public WhistleBinaryModuleHeader(int moduleVersion)
  • Method Details

    • createHeader

      public boolean createHeader(BinaryObjectData binaryObjectData, BinaryHeader binaryHeader)
      Description copied from class: ModuleHeader
      Read data from a byte array to recreate a module header being read back from file.

      The BinaryHeader and ModuleHeader can be used to check version numbers if required.

      Specified by:
      createHeader in class ModuleHeader
      Parameters:
      binaryObjectData - data read from file
      binaryHeader - binary Header from data file
      Returns:
      true if unpacked successfully.
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.