Package binaryFileStorage
Class BinaryOfflineDataMap
A binary offline data map is a datamap for a single data stream (i.e. the output
of a PamDataBlock).
For each binary file, one map point will be created in a list within the datamap which gives basic information about the data within that time period. The data include the headers and footers read from either the data file or the index file and possibly also a Datagram - which gives more detail of the data than the simple counts of detections.
Individual modules may also override the data map points within the datamap in order to provide more detailed information, such as numbers of clicks splitup by species.
For each binary file, one map point will be created in a list within the datamap which gives basic information about the data within that time period. The data include the headers and footers read from either the data file or the index file and possibly also a Datagram - which gives more detail of the data than the simple counts of detections.
Individual modules may also override the data map points within the datamap in order to provide more detailed information, such as numbers of clicks splitup by species.
- Author:
- Doug Gillespie
-
Field Summary
Fields inherited from class dataMap.OfflineDataMap
AFTER_LAST, BEFORE_FIRST, IN_DATA, IN_GAP, NO_DATA, POINT_END, POINT_START, SCALE_NONE, SCALE_PERDAY, SCALE_PERHOUR, SCALE_PERMINUTE, SCALE_PERSECOND
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindMapPoint
(File file) Finds the mapPoint of a specific binary filenewPamDataUnit
(PamDataUnit pamDataUnit) Called when new (not reloaded) data are added to a datablock so that the data map can update.int
removeMapPoint
(File file) Finds the mapPoint of a specific binary fileMethods inherited from class dataMap.OfflineDataMap
addDataMapObserver, addDataPoint, castMapPoint, checkOverlaps, clear, compareLists, findMapPoint, getDataCount, getDataMapName, getFirstDataTime, getHighestPoint, getHighestUID, getLastDataTime, getLastMapPoint, getListIterator, getLowestNonZeroPoint, getLowestPoint, getLowestUID, getMapEndTime, getMapPoints, getMapPoints, getMapStartTime, getMissingUIDs, getNextDataStart, getNumMapPoints, getNumMapPoints, getOfflineDataSource, getParentDataBlock, getPrevDataEnd, getRootlessMapPoints, getSpecialDrawing, isInGap, notifyMapObservers, removeDuplicates, scaleData, setFirstDataTime, setHighestUID, setLastDataTime, setLowestUID, setMapPoints, setMissingUIDs, setParentDataBlock, setSpecialDrawing, sortMapPoints, sortRanges, updatedPamDataUnit
-
Constructor Details
-
BinaryOfflineDataMap
-
-
Method Details
-
findMapPoint
Finds the mapPoint of a specific binary file- Parameters:
file
-- Returns:
-
removeMapPoint
Finds the mapPoint of a specific binary file- Parameters:
file
-- Returns:
-
newPamDataUnit
Description copied from class:OfflineDataMap
Called when new (not reloaded) data are added to a datablock so that the data map can update.- Overrides:
newPamDataUnit
in classOfflineDataMap<BinaryOfflineDataMapPoint>
- Returns:
- current data map point
-