Package qa
Class QADataBlock<Tunit extends QADataUnit>
java.lang.Object
PamguardMVC.PamObservable
PamguardMVC.PamDataBlock<Tunit>
PamguardMVC.superdet.SuperDetDataBlock<Tunit,QADataUnit>
qa.QADataBlock<Tunit>
- Type Parameters:
Tunit
-
@Deprecated
public class QADataBlock<Tunit extends QADataUnit>
extends SuperDetDataBlock<Tunit,QADataUnit>
Deprecated.
Modified base datablock so that we can have data reloaded for analysis during real time operations.
does cause some problems with SuperDetectionDatablock though since it insists that the
logging is SuperDetLogging.
- Author:
- dg50
-
Nested Class Summary
Nested classes/interfaces inherited from class PamguardMVC.superdet.SuperDetDataBlock
SuperDetDataBlock.ViewerLoadPolicy
-
Field Summary
Fields inherited from class PamguardMVC.PamDataBlock
ITERATOR_END, MATCH_AFTER, MATCH_BEFORE, MATCH_EXACT, MIX_DONOTHING, MIX_INTODATABASE, MIX_OUTOFDATABASE, naturalLifetime, NOTIFY_NEW_DATA, NOTIFY_UPDATE_DATA, pamDataUnits, parentProcess, POSITION_AFTER, POSITION_BEFORE, REFERENCE_ABSOLUTE, REFERENCE_CURRENT, REQUEST_DATA_LOADED, REQUEST_DATA_PARTIAL_LOAD, REQUEST_EXCEPTION, REQUEST_INTERRUPTED, REQUEST_NO_DATA, REQUEST_SAME_REQUEST, unitsAdded, unitsRemoved, unitsUpdated
Fields inherited from class PamguardMVC.PamObservable
masterClockSample, objectChanged, overlayDraw, pamProfiler
-
Method Summary
Modifier and TypeMethodDescriptionlong
Deprecated.long
Deprecated.int
Deprecated.Get the natural lifetime in secondsint
Deprecated.Get the natural lifetime in millisecondsboolean
Deprecated.boolean
Deprecated.boolean
loadViewerData
(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Deprecated.Instruction from the viewer scroll manager to load new data.protected int
removeOldUnitsS
(long mastrClockSample) Deprecated.protected int
removeOldUnitsT
(long currentTimeMS) Deprecated.Removes olderPamDataUnits from memory, starting at the first unit and continuing until if finds one with data coming earlier than the given time in milliseconds.Methods inherited from class PamguardMVC.superdet.SuperDetDataBlock
canSuperDetection, clearOnViewerLoad, dummyClassResolve, findSubDetDataBlock, getLogging, getSubDetectionClass, getSubtableData, getViewerLoadPolicy, makeSubDetectionInfo, reattachAllSubDetections, reattachSubdetections, setSubtableData, setViewerLoadPolicy
Methods inherited from class PamguardMVC.PamDataBlock
addDataAnnotationType, addLocalisationContents, addObserver, addObserver, addOfflineDataMap, addOldPamData, addPamData, addPamData, autoEffortProvider, autoSetDataBlockMixMode, cancelDataOrder, cancelDataOrder, checkOfflineDataUIDs, clearAll, clearAll, clearChannelIterators, clearDeletedList, copyDataList, createProcessAnnotations, createProcessAnnotations, dispose, dumpBlockContents, dumpBufferStatus, findAnnotation, findAnnotation, findByDatabaseIndex, findDataUnit, findDataUnit, findFirstUnitAfter, findLastUnitBefore, findUnitByUIDandUTC, findUnitsinInterval, getAbsoluteDataUnit, getAnnotationHandler, getARealChannel, getBackgroundManager, getBespokeDataMapGraphic, getBinaryDataSource, getCanLog, getChannelIterator, getChannelIteratorCount, getChannelMap, getChannelsForSequenceMap, getClosestUnitMillis, getClosestUnitMillis, getClosestUnitMillisUsingSeq, getCrossReferenceInformation, getCumulativeGain, getCurrentViewDataEnd, getCurrentViewDataStart, getDataAutomationInfo, getDatablockSpeciesManager, getDataBlockXML, getDataCopy, getDataCopy, getDataCopy, getDataCopy, getDataCopyFromEnd, getDataCopyFromStart, getDataGain, getDatagrammedMap, getDatagramProvider, getDataName, getDataSelectCreator, getDataSelector, getDataSelector, getDataSelector, getDataUnit, getDataUnitMenuItems, getDataUnitPopupMenu, getDurationRange, getEffortProvider, getFirstRawSourceDataBlock, getFirstUnit, getFirstUnit, getFirstUnitAfter, getFrequencyRange, getHydrophoneMap, getJSONDataSource, getLastUnit, getLastUnit, getLastUnitMillis, getListIterator, getListIterator, getListIteratorFromEnd, getListIteratorFromStart, getLocalisationAlgorithm, getLocalisationContents, getLoggingName, getLongDataName, getMixedDirection, getMyDataUnits, getNanoTimeCalculator, getNextDataStart, getNextUnit, getNextUnit, getNumOfflineDataMaps, getNumRequiredBeforeLoadTime, getOfflineData, getOfflineDataMap, getOfflineDataMap, getPamConfiguration, getPamSymbolManager, getParentProcess, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPreceedingUnitFromSeq, getPreceedingUnitFromSeq, getPrevDataEnd, getPrimaryDataMap, getProcessAnnotations, getQuickId, getQuickId2, getRawSourceDataBlock, getRawSourceDataBlock2, getRecordingTrigger, getRecycledUnit, getRecyclingStoreLength, getRemovedItems, getReverseChannelIterator, getSampleRate, getSaveRequirements, getSequenceCount, getSequenceIterator, getSequenceMap, getSequenceMapObject, getShouldBinary, getShouldLog, getShouldLog, getSourceDataBlock, getSourceProcess, getSuperDetectionClass, getSynchLock, getTaskDataCopy, getTethysDataProvider, getTOADCalculator, getUidHandler, getUIDRepairLogging, getUniqueParentList, getUnitClass, getUnitIndex, getUnitsCount, getUnitsCountFromTime, hasDataRange, isCanClipGenerate, isClearAtStart, isLinkGpsData, isOffline, isRecycling, loadViewerData, masterClockUpdate, needViewerDataLoad, noteNewSettings, notifyModelChanged, notifyOfflineObservers, orderOfflineData, orderOfflineData, orderOfflineData, pamStart, pamStop, remove, remove, remove, removedDataUnit, removeOfflineDataMap, reset, saveViewerData, setAnnotationHandler, setBackgroundManager, setBinaryDataSource, setCanClipGenerate, setChannelMap, setClearAtStart, setCurrentViewDataEnd, setCurrentViewDataStart, setDatagramProvider, setDataName, setDataSelectCreator, setEffortProvider, setJSONDataSource, setLinkGpsData, setLocalisationContents, SetLogging, setMixedDirection, setNanoTimeCalculator, setNaturalLifetime, setNaturalLifetimeMillis, setPamSymbolManager, setParentProcess, setRecordingTrigger, setRecycling, setRecyclingStoreLength, setSampleRate, setSequenceMap, setShouldBinary, setShouldLog, setSynchLock, setUidHandler, shouldNotify, sortData, sortOutputMaps, stopTimer, toString, updatePamData
Methods inherited from class PamguardMVC.PamObservable
addInstantObserver, canDraw, canDraw, clearchanged, countObservers, createKeyItem, deleteObserver, deleteObservers, drawDataUnit, findThreadedObserver, getCPUPercent, getCPUPercent, getHoverText, getInstantObservers, getLongestObserver, getMaxThreadJitter, getOverlayDraw, getPamObserver, getPamObservers, getRequiredHistory, isInstantObserver, notifyInstantObservers, notifyNornalObservers, notifyObservers, notifyObservers, setChanged, setOverlayDraw, updateObservers, waitForThreadedObservers
-
Method Details
-
removeOldUnitsT
protected int removeOldUnitsT(long currentTimeMS) Deprecated.Description copied from class:PamDataBlock
Removes olderPamDataUnits from memory, starting at the first unit and continuing until if finds one with data coming earlier than the given time in milliseconds.If the data are acoustic, it tries to find the data source and looks to see how much data has been placed in the source data unit and does the calculation in samples.
- Overrides:
removeOldUnitsT
in classPamDataBlock<Tunit extends QADataUnit>
- Parameters:
currentTimeMS
- Time in milliseconds of the first data which must be kept- Returns:
- the number of units removed
-
removeOldUnitsS
protected int removeOldUnitsS(long mastrClockSample) Deprecated.- Overrides:
removeOldUnitsS
in classPamDataBlock<Tunit extends QADataUnit>
-
getNaturalLifetime
public int getNaturalLifetime()Deprecated.Description copied from class:PamDataBlock
Get the natural lifetime in seconds- Overrides:
getNaturalLifetime
in classPamDataBlock<Tunit extends QADataUnit>
- Returns:
- lifetime in seconds
-
getNaturalLifetimeMillis
public int getNaturalLifetimeMillis()Deprecated.Description copied from class:PamDataBlock
Get the natural lifetime in milliseconds- Overrides:
getNaturalLifetimeMillis
in classPamDataBlock<Tunit extends QADataUnit>
- Returns:
-
getFirstViewerUID
public long getFirstViewerUID()Deprecated.- Overrides:
getFirstViewerUID
in classPamDataBlock<Tunit extends QADataUnit>
- Returns:
- the firstViewerUID
-
getLastViewerUID
public long getLastViewerUID()Deprecated.- Overrides:
getLastViewerUID
in classPamDataBlock<Tunit extends QADataUnit>
- Returns:
- the lastViewerUID
-
isGenerator
public boolean isGenerator()Deprecated.- Returns:
- the isGenerator
-
isAnalyser
public boolean isAnalyser()Deprecated.- Returns:
- the isAnalyser
-
loadViewerData
public boolean loadViewerData(OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Deprecated.Description copied from class:PamDataBlock
Instruction from the viewer scroll manager to load new data.- Overrides:
loadViewerData
in classPamDataBlock<Tunit extends QADataUnit>
- Parameters:
offlineDataLoadInfo
- - the load object which contains all info on the data to be loaded.loadObserver
- - the load observer. Can be used as a callback for load progress.
-