Package clickDetector

Class ClickDatagramProvider

java.lang.Object
clickDetector.ClickDatagramProvider
All Implemented Interfaces:
DatagramProvider

public class ClickDatagramProvider extends Object implements DatagramProvider
  • Constructor Details

    • ClickDatagramProvider

      public ClickDatagramProvider(ClickControl clickControl)
      Parameters:
      clickControl -
  • Method Details

    • 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 ?
    • 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
    • getScaleInformation

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