
public abstract class AbstractFilter extends java.lang.Object implements SampleProvider
| Modifier and Type | Field and Description |
|---|---|
protected int |
sampleSize |
protected SampleProvider |
source |
| Constructor and Description |
|---|
AbstractFilter(SampleProvider source) |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchSample(float[] sample,
int offset)
Fetches a sample from a sensors or filter.
|
int |
sampleSize()
Returns the number of elements in a sample.
|
protected final SampleProvider source
protected int sampleSize
public AbstractFilter(SampleProvider source)
public int sampleSize()
SampleProvidersampleSize in interface SampleProviderpublic void fetchSample(float[] sample,
int offset)
SampleProviderfetchSample in interface SampleProvidersample - The array to store the sample in.offset - The elements of the sample are stored in the array starting at the offset position.