Interface SampleProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void fetchSample​(float[] sample, int offset)
      Fetches a sample from a sensor or filter.
      int sampleSize()
      Returns the number of elements in a sample.
      The number of elements does not change during runtime.
    • Method Detail

      • sampleSize

        int sampleSize()
        Returns the number of elements in a sample.
        The number of elements does not change during runtime.
        Returns:
        the number of elements in a sample
      • fetchSample

        void fetchSample​(float[] sample,
                         int offset)
        Fetches a sample from a sensor or filter.
        Parameters:
        sample - The array to store the sample in.
        offset - The elements of the sample are stored in the array starting at the offset position.