MNE-CPP  beta 1.0
Public Member Functions | List of all members
EEGoSportsPlugin::EEGoSportsDriver Class Reference

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 ()
 

Detailed Description

The EEGoSportsDriver class provides real time data acquisition of EEG data with a TMSi Refa device.

EEGoSportsDriver

Definition at line 126 of file eegosportsdriver.h.

Constructor & Destructor Documentation

EEGoSportsDriver::EEGoSportsDriver ( EEGoSportsProducer pEEGoSportsProducer)

Constructs a EEGoSportsDriver.

Parameters
[in]pEEGoSportsProducera 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.

Member Function Documentation

bool EEGoSportsDriver::getSampleMatrixValue ( MatrixXf &  sampleMatrix)

Get sample from the device in form of a mtrix.

Parameters
[in]MatrixXfthe block sample values in form of a matrix.
[out]boolreturns 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.

Parameters
[in]iNumberOfChannelsnumber of channels specified by the user.
[in]iSamplingFrequencysampling frequency specified by the user.
[in]bUseChExponentFlag for using the channels exponent. Defined by the user via the GUI.
[in]bWriteDriverDebugToFileFlag for writing driver debug information to a file. Defined by the user via the GUI.
[in]sOutpuFilePathHolds the path for the output file. Defined by the user via the GUI.
[out]boolreturns true if device was successfully initialised, false otherwise.
[in]bMeasureImpedanceFlag for measuring impedances.

Definition at line 105 of file eegosportsdriver.cpp.

bool EEGoSportsDriver::uninitDevice ( )

Uninitialise device.

Parameters
[out]boolreturns true if device was successfully uninitialised, false otherwise.

Definition at line 275 of file eegosportsdriver.cpp.


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