ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.openbci
Enum OpenBCICommand

java.lang.Object
  extended by java.lang.Enum<OpenBCICommand>
      extended by com.github.mrstampy.esp.openbci.OpenBCICommand
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OpenBCICommand>

public enum OpenBCICommand
extends java.lang.Enum<OpenBCICommand>

The Enum OpenBCICommand.


Enum Constant Summary
ACTIVATE_FILTERS
          The activate filters.
BIAS_AUTO
          The bias auto.
BIAS_FIXED
          The bias fixed.
DEACTIVATE_FILTERS
          The deactivate filters.
START_BINARY
          The start binary.
START_BINARY_4CHAN
          The STAR t_ binar y_4 chan.
START_BINARY_WAUX
          The start binary waux.
STOP
          The stop.
 
Method Summary
 java.lang.String getCommand()
          Gets the command.
static OpenBCICommand valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OpenBCICommand[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STOP

public static final OpenBCICommand STOP
The stop.


START_BINARY

public static final OpenBCICommand START_BINARY
The start binary.


START_BINARY_WAUX

public static final OpenBCICommand START_BINARY_WAUX
The start binary waux.


START_BINARY_4CHAN

public static final OpenBCICommand START_BINARY_4CHAN
The STAR t_ binar y_4 chan.


ACTIVATE_FILTERS

public static final OpenBCICommand ACTIVATE_FILTERS
The activate filters.


DEACTIVATE_FILTERS

public static final OpenBCICommand DEACTIVATE_FILTERS
The deactivate filters.


BIAS_AUTO

public static final OpenBCICommand BIAS_AUTO
The bias auto.


BIAS_FIXED

public static final OpenBCICommand BIAS_FIXED
The bias fixed.

Method Detail

values

public static OpenBCICommand[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OpenBCICommand c : OpenBCICommand.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OpenBCICommand valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCommand

public java.lang.String getCommand()
Gets the command.

Returns:
the command

brought to you by Mr. Stampy