MNE-CPP
beta 1.0
|
The EEGoSportsDriver class provides real time data acquisition of EEG data with a TMSi Refa device. More...
#include <eegosportsdriver.h>
Public Member Functions | |
EEGoSportsDriver (EEGoSportsProducer *pEEGoSportsProducer) | |
~EEGoSportsDriver () | |
bool | getSampleMatrixValue (MatrixXf &sampleMatrix) |
bool | initDevice (int iNumberOfChannels, int iSamplingFrequency, bool bUseChExponent, bool bWriteDriverDebugToFile, QString sOutpuFilePath, bool bMeasureImpedance) |
bool | uninitDevice () |
The EEGoSportsDriver class provides real time data acquisition of EEG data with a TMSi Refa device.
Definition at line 126 of file eegosportsdriver.h.
EEGoSportsDriver::EEGoSportsDriver | ( | EEGoSportsProducer * | pEEGoSportsProducer | ) |
Constructs a EEGoSportsDriver.
[in] | pEEGoSportsProducer | a pointer to the corresponding EEGoSports Producer class. |
Definition at line 59 of file eegosportsdriver.cpp.
EEGoSportsDriver::~EEGoSportsDriver | ( | ) |
Destroys the EEGoSportsDriver.
Definition at line 97 of file eegosportsdriver.cpp.
bool EEGoSportsDriver::getSampleMatrixValue | ( | MatrixXf & | sampleMatrix | ) |
Get sample from the device in form of a mtrix.
[in] | MatrixXf | the block sample values in form of a matrix. |
[out] | bool | returns true if sample was successfully written to the input variable, false otherwise. |
Definition at line 320 of file eegosportsdriver.cpp.
bool EEGoSportsDriver::initDevice | ( | int | iNumberOfChannels, |
int | iSamplingFrequency, | ||
bool | bUseChExponent, | ||
bool | bWriteDriverDebugToFile, | ||
QString | sOutpuFilePath, | ||
bool | bMeasureImpedance | ||
) |
Initialise device.
[in] | iNumberOfChannels | number of channels specified by the user. |
[in] | iSamplingFrequency | sampling frequency specified by the user. |
[in] | bUseChExponent | Flag for using the channels exponent. Defined by the user via the GUI. |
[in] | bWriteDriverDebugToFile | Flag for writing driver debug information to a file. Defined by the user via the GUI. |
[in] | sOutpuFilePath | Holds the path for the output file. Defined by the user via the GUI. |
[out] | bool | returns true if device was successfully initialised, false otherwise. |
[in] | bMeasureImpedance | Flag for measuring impedances. |
Definition at line 105 of file eegosportsdriver.cpp.
bool EEGoSportsDriver::uninitDevice | ( | ) |
Uninitialise device.
[out] | bool | returns true if device was successfully uninitialised, false otherwise. |
Definition at line 275 of file eegosportsdriver.cpp.