Package cpod

Class CPODDataGramProvider

java.lang.Object
cpod.CPODDataGramProvider
All Implemented Interfaces:
DatagramProvider

public class CPODDataGramProvider extends Object implements DatagramProvider
  • Constructor Details

  • Method Details

    • getNumDataGramPoints

      public int getNumDataGramPoints()
      Description copied from interface: DatagramProvider
      Get the number of points required in a datagram by these data (e.g. half the fft length)
      Specified by:
      getNumDataGramPoints in interface DatagramProvider
      Returns:
      the number of points in each time slice
    • addDatagramData

      public int addDatagramData(PamDataUnit dataUnit, float[] dataGramLine)
      Description copied from interface: DatagramProvider
      Add datagram data to the dataGram line. The implementation should simply add data into the passed array.
      Specified by:
      addDatagramData in interface DatagramProvider
      Returns:
      number of points added ?
    • getScaleInformation

      public DatagramScaleInformation getScaleInformation()
      Specified by:
      getScaleInformation in interface DatagramProvider
      Returns:
      information on the datagram scale