public class ClickDataBlock extends AcousticDataBlock<ClickDetection> implements AlarmDataSource, StaticLocaliserProvider
ITERATOR_END, MATCH_AFTER, MATCH_BEFORE, MATCH_EXACT, MIX_DONOTHING, MIX_INTODATABASE, MIX_OUTOFDATABASE, NOTIFY_NEW_DATA, NOTIFY_UPDATE_DATA, OFFLINE_DATA_CANCEL, OFFLINE_DATA_INTERRUPT, OFFLINE_DATA_WAIT, orderLock, 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
Constructor and Description |
---|
ClickDataBlock(ClickControl clickControl,
PamProcess parentProcess,
int channelMap) |
Modifier and Type | Method and Description |
---|---|
AlarmCounterProvider |
getAlarmCounterProvider()
Get an alarmCounterProvider which can then generate
any number of alarm counters for a datablock.
|
DataSelectorCreator |
getDataSelectCreator() |
OfflineClickLogging |
getOfflineClickLogging() |
OfflineDataMap |
getPrimaryDataMap()
New plan - always use the binary store if it has any data at all.
|
AbstractLocaliserControl |
getSLControlDialog(StaticLocaliserControl staticLocaliserControl)
Get the control panel for clicks for the staticlocaliser module.
|
boolean |
loadViewerData(long dataStart,
long dataEnd,
ViewLoadObserver loadObserver)
Click detector loading has to be a bit different to normal - first
data are loaded from the binary store, then a subset of these data
are loaded from the Offline database.
|
void |
notifyModelChanged(int changeType)
Receive notifications from the main PamController.
|
boolean |
saveViewerData()
Saves data in this data block in offline viewer mode.
|
getChannelListManager, getParentSourceData
addDataAnnotationType, addLocalisationContents, addObserver, addObserver, addOfflineDataMap, addPamData, autoSetDataBlockMixMode, cancelDataOrder, clearAll, clearChannelIterators, clearDeletedList, createProcessAnnotations, createProcessAnnotations, dumpBlockContents, findAnnotation, findAnnotation, findByDatabaseIndex, findDataUnit, findDataUnit, findUnitsinInterval, getBinaryDataSource, getCanLog, getChannelIterator, getChannelIteratorCount, getChannelMap, getClosestUnitMillis, getClosestUnitMillis, getCurrentViewDataEnd, getCurrentViewDataStart, getDataAnnotationType, getDataGain, getDatagrammedMap, getDatagramProvider, getDataName, getDataSelector, getDataUnit, getFirstUnit, getFirstUnit, getFirstUnitAfter, getLastUnit, getLastUnit, getListIterator, getListIterator, getListIteratorFromEnd, getListIteratorFromStart, getLocalisationContents, getLogging, getLoggingName, getLongDataName, getMixedDirection, getNaturalLifetime, getNaturalLifetimeMillis, getNextDataStart, getNextUnit, getNextUnit, getNumDataAnnotationTypes, getNumOfflineDataMaps, getNumRequiredBeforeLoadTime, getOfflineData, getOfflineDataMap, getOfflineDataMap, getOrderStatus, getParentProcess, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPreceedingUnit, getPrevDataEnd, getProcessAnnotations, getQuickId, getRawSourceDataBlock, getRawSourceDataBlock2, getRecycledUnit, getRecyclingStoreLength, getRemovedItems, getReverseChannelIterator, getSampleRate, getSaveRequirements, getShouldBinary, getShouldLog, getSourceDataBlock, getSourceProcess, getUnitClass, getUnitIndex, getUnitsCount, getUnitsCountFromTime, isCanClipGenerate, isClearAtStart, isLinkGpsData, isRecycling, masterClockUpdate, noteNewSettings, orderOfflineData, orderOfflineData, remove, remove, removeOfflineDataMap, reset, setBinaryDataSource, setCanClipGenerate, setChannelMap, setClearAtStart, setDatagramProvider, setDataName, setLinkGpsData, setLocalisationContents, SetLogging, setMixedDirection, setNaturalLifetime, setNaturalLifetimeMillis, setRecordingTrigger, setRecycling, setRecyclingStoreLength, setSampleRate, setShouldBinary, setShouldLog, shouldNotify, sortData, toString, updatePamData
canDraw, clearchanged, countObservers, createKeyItem, deleteObserver, deleteObservers, drawDataUnit, findThreadedObserver, getCPUPercent, getCPUPercent, getHoverText, getLongestObserver, getPamObservers, getRequiredHistory, hasOptionsDialog, notifyObservers, notifyObservers, setChanged, setOverlayDraw, showOptions, waitForThreadedObservers
public ClickDataBlock(ClickControl clickControl, PamProcess parentProcess, int channelMap)
public boolean loadViewerData(long dataStart, long dataEnd, ViewLoadObserver loadObserver)
loadViewerData
in class PamDataBlock<ClickDetection>
dataStart
- data start time in millisdataEnd
- data end time in millis.public boolean saveViewerData()
PamDataBlock
saveViewerData
in class PamDataBlock<ClickDetection>
public OfflineDataMap getPrimaryDataMap()
PamDataBlock
getPrimaryDataMap
in class PamDataBlock<ClickDetection>
public void notifyModelChanged(int changeType)
PamDataBlock
notifyModelChanged
in class AcousticDataBlock<ClickDetection>
public OfflineClickLogging getOfflineClickLogging()
public AbstractLocaliserControl getSLControlDialog(StaticLocaliserControl staticLocaliserControl)
getSLControlDialog
in interface StaticLocaliserProvider
public AlarmCounterProvider getAlarmCounterProvider()
AlarmDataSource
getAlarmCounterProvider
in interface AlarmDataSource
public DataSelectorCreator getDataSelectCreator()
getDataSelectCreator
in class PamDataBlock<ClickDetection>