MNE-CPP
beta 1.0
|
The EEGProducer class provides a EEG data producer for a given sampling rate. More...
#include <eegosportsproducer.h>
Public Member Functions | |
EEGoSportsProducer (EEGoSports *pEEGoSports) | |
~EEGoSportsProducer () | |
virtual void | start (int iNumberOfChannels, int iSamplingFrequency, bool bUseChExponent, bool bWriteDriverDebugToFile, QString sOutputFilePath, bool bMeasureImpedance) |
void | stop () |
Protected Member Functions | |
virtual void | run () |
The EEGProducer class provides a EEG data producer for a given sampling rate.
DECLARE CLASS EEGProducer
Definition at line 91 of file eegosportsproducer.h.
EEGoSportsProducer::EEGoSportsProducer | ( | EEGoSports * | pEEGoSports | ) |
Constructs a EEGoSportsProducer.
[in] | pEEGoSports | a pointer to the corresponding EEGoSports class. |
Definition at line 62 of file eegosportsproducer.cpp.
EEGoSportsProducer::~EEGoSportsProducer | ( | ) |
Destroys the EEGoSportsProducer.
Definition at line 72 of file eegosportsproducer.cpp.
|
protectedvirtual |
The starting point for the thread. After calling start(), the newly created thread calls this function. Returning from this method will end the execution of the thread. Pure virtual method inherited by QThread.
Definition at line 123 of file eegosportsproducer.cpp.
|
virtual |
Starts the EEGoSportsProducer by starting the producer's thread and initialising the device.
[in] | iNumberOfChannels | The number of channels defined by the user via the GUI. |
[in] | iSamplingFrequency | The sampling frequency defined by the user via the GUI (in Hertz). |
[in] | bUseChExponent | Flag for using the channels exponent. Defined by the user via the GUI. |
[in] | sOutpuFilePath | Holds the path for the output file. Defined by the user via the GUI. |
[in] | bWriteDriverDebugToFile | Flag for writing the received samples to a file. Defined by the user via the GUI. |
[in] | bUseUnitOffset | Flag for using the channels unit offset. Defined by the user via the GUI. |
[in] | bMeasureImpedance | Flag for measuring impedances. |
Definition at line 80 of file eegosportsproducer.cpp.
void EEGoSportsProducer::stop | ( | ) |
Stops the EEGoSportsProducer by stopping the producer's thread.
Definition at line 105 of file eegosportsproducer.cpp.