Package PamguardMVC.background
Class BackgroundBinaryWriter<Tunit extends BackgroundDataUnit>
java.lang.Object
PamguardMVC.background.BackgroundBinaryWriter<Tunit>
- Direct Known Subclasses:
ClickBackgroundBinaryWriter
,SpecBackgroundWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Version number for the background data has to match that of the main data.abstract BinaryObjectData
packBackgroundData
(Tunit backgroundUnit) Get packed binary data to write toabstract Tunit
unpackBackgroundData
(BinaryObjectData binaryObjectData, BinaryHeader bh, int moduleVersion) Unpack data from the binary file
-
Constructor Details
-
BackgroundBinaryWriter
-
-
Method Details
-
packBackgroundData
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:
-