Class AcousticDataGramGraphics.DataGramStore
java.lang.Object
pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticDataGramGraphics.DataGramStore
- Enclosing class:
AcousticDataGramGraphics
The datagram store.
- Author:
- Jamie Macaulay
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addData
(PamDataUnit rawData) Add data to the datagram.boolean
checkTimeGap
(PamDataUnit dataUnit) Checks everything is OK with the datagram and sets the correct time bin and prepares for writing datagram data.void
Rebuild the imagevoid
rebuildStore
(long timeRange) Rebuild the store.void
writeImageLine
(DatagramDataPoint datagramStore) Write the image line.
-
Field Details
-
currentIndex
public int currentIndexThe current index in the store.
-
-
Constructor Details
-
DataGramStore
public DataGramStore(long timeRange)
-
-
Method Details
-
addData
Add data to the datagram.- Parameters:
rawData
-
-
checkTimeGap
Checks everything is OK with the datagram and sets the correct time bin and prepares for writing datagram data.- Returns:
- true if a new datagram line has been completed.
-
writeImageLine
Write the image line.- Parameters:
datagramStore
-
-
rebuildStore
public void rebuildStore(long timeRange) Rebuild the store.- Parameters:
timeRange
- - the time range.
-
rebuildImage
public void rebuildImage()Rebuild the image
-