Class AcousticDataGramGraphics.DataGramStore

java.lang.Object
pamViewFX.fxNodes.pamScrollers.acousticScroller.AcousticDataGramGraphics.DataGramStore
Enclosing class:
AcousticDataGramGraphics

public class AcousticDataGramGraphics.DataGramStore extends Object
The datagram store.
Author:
Jamie Macaulay
  • Field Details

    • currentIndex

      public int currentIndex
      The current index in the store.
  • Constructor Details

    • DataGramStore

      public DataGramStore(long timeRange)
  • Method Details

    • addData

      public void addData(PamDataUnit rawData)
      Add data to the datagram.
      Parameters:
      rawData -
    • checkTimeGap

      public boolean checkTimeGap(PamDataUnit dataUnit)
      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

      public void writeImageLine(DatagramDataPoint datagramStore)
      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