|
ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.mrstampy.esp.dsp.AbstractDSPValues
public abstract class AbstractDSPValues
The Class AbstractDSPValues.
| Field Summary | |
|---|---|
static int |
ONE_BILLION
The Constant ONE_BILLION. |
static int |
ONE_MILLION
The Constant ONE_MILLION. |
static int |
ONE_THOUSAND
The Constant ONE_THOUSAND. |
| Constructor Summary | |
|---|---|
protected |
AbstractDSPValues()
Call this constructor from subclasses. |
| Method Summary | |
|---|---|
void |
addDSPValueListener(DSPValueListener l)
Adds the dsp value listener. |
int |
getSampleRate()
Gets the sample rate. |
long |
getSampleRateSleepTime()
Gets the sample rate sleep time. |
java.util.concurrent.TimeUnit |
getSampleRateUnits()
Gets the sample rate units. |
int |
getSampleSize()
Gets the sample size. |
protected abstract void |
initialize()
Initialize. |
void |
removeDSPValueListener(DSPValueListener l)
Removes the dsp value listener. |
void |
setSampleRate(int sampleRate)
Sets the sample rate. |
void |
setSampleSize(int sampleSize)
Sets the sample size. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ONE_THOUSAND
public static final int ONE_MILLION
public static final int ONE_BILLION
| Constructor Detail |
|---|
protected AbstractDSPValues()
| Method Detail |
|---|
protected abstract void initialize()
public void addDSPValueListener(DSPValueListener l)
l - the lpublic void removeDSPValueListener(DSPValueListener l)
l - the lpublic int getSampleRate()
public void setSampleRate(int sampleRate)
sampleRate - the new sample ratepublic java.util.concurrent.TimeUnit getSampleRateUnits()
public int getSampleSize()
public void setSampleSize(int sampleSize)
sampleSize - the new sample sizepublic long getSampleRateSleepTime()
|
brought to you by Mr. Stampy | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||