57 #include <unsupported/Eigen/FFT>
58 #include <Eigen/Geometry>
69 #include <QtConcurrent/QtConcurrent>
103 using namespace Eigen;
111 class EEGoSportsProducer;
123 Q_PLUGIN_METADATA(IID
"mne_x/1.0" FILE
"eegosports.json")
129 friend class EEGoSportsImpedanceWidget;
149 virtual QSharedPointer<IPlugin> clone()
const;
161 virtual void unload();
167 void setUpFiffInfo();
173 virtual bool start();
185 void setSampleData(MatrixXf &matRawBuffer);
188 virtual QString getName()
const;
190 virtual QWidget* setupWidget();
205 void showSetupProjectDialog();
211 void showStartRecording();
217 void changeRecordingButton();
223 bool dirExists(
const std::string& dirName_in);
227 QSharedPointer<EEGoSportsSetupProjectWidget> m_pEEGoSportsSetupProjectWidget;
229 QString m_qStringResourcePath;
232 int m_iNumberOfChannels;
233 int m_iSamplesPerBlock;
235 int m_iTriggerInterval;
236 QTime m_qTimerTrigger;
238 bool m_bUseChExponent;
240 bool m_bWriteDriverDebugToFile;
241 bool m_bUseFiltering;
244 bool m_bCheckImpedances;
246 ofstream m_outputFileStream;
247 QString m_sOutputFilePath;
248 QString m_sElcFilePath;
251 QSharedPointer<FiffInfo> m_pFiffInfo;
254 QSharedPointer<RawMatrixBuffer> m_pRawMatrixBuffer_In;
256 QSharedPointer<EEGoSportsProducer> m_pEEGoSportsProducer;
258 MatrixXf m_matOldMatrix;
262 QAction* m_pActionSetupProject;
263 QAction* m_pActionStartRecording;
265 QSharedPointer<QTimer> m_pTimerRecordingChange;
266 qint16 m_iBlinkStatus;
268 QList<MatrixXf> m_qListReceivedSamples;
276 #endif // EEGOSPORTS_H
Contains the EEGoSports library export/import macros.
CircularMatrixBuffer class declaration.
The EEGProducer class provides a EEG data producer for a given sampling rate.
#define EEGOSPORTSSHARED_EXPORT
QSharedPointer< PluginOutputData< T > > SPtr
The ISensor class provides an interface for a sensor plugin.
QSharedPointer< FiffStream > SPtr
Contains the declaration of the NewRealTimeMultiSampleArray class.
LayoutLoader class declaration.
The EEGoSports class provides a EEG connector. In order for this plugin to work properly the driver d...
FIFF class declaration, which provides static wrapper functions to stay consistent with mne matlab to...
Contains declaration of IIinverseAlgorithm interface class.