public class CPODControl extends OfflineFileControl implements PamSettings
Constructor and Description |
---|
CPODControl(java.lang.String unitName) |
Modifier and Type | Method and Description |
---|---|
void |
detectionMenuAction(java.awt.Frame parentFrame) |
CPODClickDataBlock |
getCp1DataBlock() |
OfflineFileDataMap |
getOfflineFileDataMap(int cpFileType) |
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
boolean |
loadData(PamDataBlock dataBlock,
java.util.ArrayList<OfflineFileMapPoint> usedMapPoints,
long dataStart,
long dataEnd,
RequestCancellationObject cancellationObject,
ViewLoadObserver loadObserver)
Load data from the files and pack into appropriate datablocks.
|
static long |
podTimeToMillis(long podTime)
Convert POD time to JAVA millis - POD time is
integer minutes past the same epoc as Windows uses
i.e.
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
boolean |
saveData(PamDataBlock dataBlock)
Save data previously loaded from the store during
offline viewing.
|
long |
stretchClicktime(long rawTime) |
createDetectionMenu, createOfflineDataMap, getDatagramManager, getDataSourceName, getFileParams, getOfflineFileDataMap, getOfflineFileProcess, loadData, notifyModelChanged, rewriteIndexFile, setDatagramManager, setFileParams
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUnitName, getUnitType
public boolean saveData(PamDataBlock dataBlock)
OfflineDataStore
saveData
in interface OfflineDataStore
dataBlock
- datablock owner of the datapublic static long podTimeToMillis(long podTime)
podTime
- public long stretchClicktime(long rawTime)
public boolean loadData(PamDataBlock dataBlock, java.util.ArrayList<OfflineFileMapPoint> usedMapPoints, long dataStart, long dataEnd, RequestCancellationObject cancellationObject, ViewLoadObserver loadObserver)
OfflineFileControl
loadData
in class OfflineFileControl
dataBlock
- dataBlock for datausedMapPoints
- list of mappoints which may have data in the load timedataStart
- start of data loaddataEnd
- end of data loadcancellationObject
- cancellation object for threading loadingloadObserver
- update observer for loading data.public CPODClickDataBlock getCp1DataBlock()
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings
public void detectionMenuAction(java.awt.Frame parentFrame)
detectionMenuAction
in class OfflineFileControl
public OfflineFileDataMap getOfflineFileDataMap(int cpFileType)