SharpBCI
A multi-threaded brain control interface (BCI) library in C#
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
SharpBCI.EEGEvent Class Reference

A class which represent various types of events relating to EEG data. More...

Public Member Functions

 EEGEvent (DateTime timestamp, EEGDataType type, double[] data)
 Create an EEGEvent without any extra data. More...
 
 EEGEvent (DateTime timestamp, EEGDataType type, double[] data, object extra)
 Create an EEGEvent with additional extra data. More...
 
override string ToString ()
 Converts EEG data to string in predefined format. More...
 

Public Attributes

readonly DateTime timestamp
 The time at which the given EEGEvent occurred. More...
 
readonly EEGDataType type
 What type of EEGEvent this is. More...
 
readonly double[] data
 The data associated with a given EEGEvent. More...
 
readonly object extra
 An object which stores various extra data that cannot be captured by an array of doubles. More...
 

Detailed Description

A class which represent various types of events relating to EEG data.

Constructor & Destructor Documentation

SharpBCI.EEGEvent.EEGEvent ( DateTime  timestamp,
EEGDataType  type,
double[]  data 
)

Create an EEGEvent without any extra data.

SharpBCI.EEGEvent.EEGEvent ( DateTime  timestamp,
EEGDataType  type,
double[]  data,
object  extra 
)

Create an EEGEvent with additional extra data.

Member Function Documentation

override string SharpBCI.EEGEvent.ToString ( )

Converts EEG data to string in predefined format.

Member Data Documentation

readonly double [] SharpBCI.EEGEvent.data

The data associated with a given EEGEvent.

Semantics depends on type

readonly object SharpBCI.EEGEvent.extra

An object which stores various extra data that cannot be captured by an array of doubles.

readonly DateTime SharpBCI.EEGEvent.timestamp

The time at which the given EEGEvent occurred.

readonly EEGDataType SharpBCI.EEGEvent.type

What type of EEGEvent this is.

See Also
EEGDataType

The documentation for this class was generated from the following file: