Package cpod
Class CPODControl
java.lang.Object
PamController.PamControlledUnit
fileOfflineData.OfflineFileControl
cpod.CPODControl
- All Implemented Interfaces:
OfflineDataStore
,PamSettings
,SettingsNameProvider
Deprecated.
Module for loading CPOD data and converting into PAMGuard binary fiel format.
- Author:
- Doug Gillespie, Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
detectionMenuAction
(Frame parentFrame) Deprecated.Deprecated.getOfflineFileDataMap
(int cpFileType) Deprecated.Deprecated.long
Deprecated.boolean
loadData
(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Deprecated.Load data from the files and pack into appropriate datablocks.static long
podTimeToMillis
(long podTime) Deprecated.Convert POD time to JAVA millis - POD time is integer minutes past the same epoc as Windows uses i.e.boolean
restoreSettings
(PamControlledUnitSettings pamControlledUnitSettings) Deprecated.boolean
saveData
(PamDataBlock dataBlock) Deprecated.Save data previously loaded from the store during offline viewing.long
stretchClicktime
(long rawTime) Deprecated.Methods inherited from class fileOfflineData.OfflineFileControl
createDetectionMenu, createOfflineDataMap, getDatagramManager, getDataLocation, getDataSourceName, getFileParams, getOfflineFileDataMap, getOfflineFileProcess, loadData, notifyModelChanged, rewriteIndexFile, setDatagramManager, setFileParams
Methods inherited from class PamController.PamControlledUnit
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addPamProcess, addRelatedMenuItems, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, flushDataBlockBuffers, getBackupInformation, getFrameNumber, getGUI, getGuiFrame, getInstanceIndex, getModuleStatus, getModuleStatusManager, getModuleSummary, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineState, getOfflineTaskGroup, getPamConfiguration, getPamController, getPamModuleInfo, getPamProcess, getPamView, getPlugin, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, setupControlledUnit, stopViewerSound, tellModule, terminalPrint, terminalPrintln, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface PamController.PamSettings
getUnitType
Methods inherited from interface PamController.SettingsNameProvider
getUnitName
-
Constructor Details
-
CPODControl
Deprecated.
-
-
Method Details
-
saveData
Deprecated.Description copied from interface:OfflineDataStore
Save data previously loaded from the store during offline viewing.- Specified by:
saveData
in interfaceOfflineDataStore
- Parameters:
dataBlock
- datablock owner of the data- Returns:
- true if saved or save not needed. False if an error prevents saving.
-
podTimeToMillis
public static long podTimeToMillis(long podTime) Deprecated.Convert POD time to JAVA millis - POD time is integer minutes past the same epoc as Windows uses i.e. 0th January 1900.- Parameters:
podTime
-- Returns:
- milliseconds.
-
stretchClicktime
public long stretchClicktime(long rawTime) Deprecated. -
getCp1DataBlock
Deprecated.- Returns:
- the cp1DataBlock
-
getSettingsReference
Deprecated.- Specified by:
getSettingsReference
in interfacePamSettings
- Returns:
- The serialisable object that will be stored
-
getSettingsVersion
public long getSettingsVersion()Deprecated.- Specified by:
getSettingsVersion
in interfacePamSettings
- Returns:
- An integer version number for the settings
-
restoreSettings
Deprecated.- Specified by:
restoreSettings
in interfacePamSettings
- Returns:
- true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
-
detectionMenuAction
Deprecated.- Overrides:
detectionMenuAction
in classOfflineFileControl
-
getOfflineFileDataMap
Deprecated. -
loadData
public boolean loadData(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Deprecated.Description copied from class:OfflineFileControl
Load data from the files and pack into appropriate datablocks.- Specified by:
loadData
in classOfflineFileControl
- Parameters:
dataBlock
- dataBlock for datausedMapPoints
- list of mappoints which may have data in the load timeloadObserver
- update observer for loading data.- Returns:
- true hopefully !
-