ESP OpenBCI - An EEG Signal Processing Library for OpenBCI Hardware

com.github.mrstampy.esp.multiconnectionsocket
Class EspChannel

java.lang.Object
  extended by com.github.mrstampy.esp.multiconnectionsocket.EspChannel
All Implemented Interfaces:
java.io.Serializable

public class EspChannel
extends java.lang.Object
implements java.io.Serializable

The Class EspChannel represents a channel of raw data available for processing.

See Also:
Lab, Serialized Form

Constructor Summary
EspChannel()
          Instantiates a new esp channel.
EspChannel(int channelNumber)
          Instantiates a new esp channel.
EspChannel(int channelNumber, java.lang.String description)
          Instantiates a new esp channel.
EspChannel(int channelNumber, java.lang.String description, java.lang.String identifier)
          Instantiates a new esp channel.
 
Method Summary
 int getChannelNumber()
          Gets the channel number.
 java.lang.String getDescription()
          Gets the description.
 java.lang.String getIdentifier()
          Gets the identifier.
 void setChannelNumber(int channelNumber)
          Sets the channel number.
 void setDescription(java.lang.String description)
          Sets the description.
 void setIdentifier(java.lang.String identifier)
          Sets the identifier.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EspChannel

public EspChannel()
Instantiates a new esp channel.


EspChannel

public EspChannel(int channelNumber)
Instantiates a new esp channel.

Parameters:
channelNumber - the channel number

EspChannel

public EspChannel(int channelNumber,
                  java.lang.String description)
Instantiates a new esp channel.

Parameters:
channelNumber - the channel number
description - the description

EspChannel

public EspChannel(int channelNumber,
                  java.lang.String description,
                  java.lang.String identifier)
Instantiates a new esp channel.

Parameters:
channelNumber - the channel number
description - the description
identifier - the identifier
Method Detail

getChannelNumber

public int getChannelNumber()
Gets the channel number.

Returns:
the channel number

setChannelNumber

public void setChannelNumber(int channelNumber)
Sets the channel number.

Parameters:
channelNumber - the new channel number

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the new description

getIdentifier

public java.lang.String getIdentifier()
Gets the identifier.

Returns:
the identifier

setIdentifier

public void setIdentifier(java.lang.String identifier)
Sets the identifier.

Parameters:
identifier - the new identifier

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

brought to you by Mr. Stampy