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

The EEGoSports class provides a EEG connector. In order for this plugin to work properly the driver dll "RTINST.dll" must be installed in the system directory. This dll is automatically copied in the system directory during the driver installtion of the TMSi Refa device. More...

#include <eegosports.h>

Inheritance diagram for EEGoSportsPlugin::EEGoSports:
MNEX::ISensor MNEX::IPlugin

Public Member Functions

 EEGoSports ()
 
virtual ~EEGoSports ()
 
virtual QSharedPointer< IPluginclone () const
 
virtual void init ()
 
virtual void unload ()
 
void setUpFiffInfo ()
 
virtual bool start ()
 
virtual bool stop ()
 
void setSampleData (MatrixXf &matRawBuffer)
 
virtual IPlugin::PluginType getType () const
 
virtual QString getName () const
 
virtual QWidget * setupWidget ()
 
- Public Member Functions inherited from MNEX::ISensor
virtual ~ISensor ()
 
virtual bool multiInstanceAllowed () const
 
- Public Member Functions inherited from MNEX::IPlugin
virtual ~IPlugin ()
 
QList< QAction * > getPluginActions ()
 
InputConnectorListgetInputConnectors ()
 
OutputConnectorListgetOutputConnectors ()
 

Protected Member Functions

virtual void run ()
 
void showSetupProjectDialog ()
 
void showStartRecording ()
 
void changeRecordingButton ()
 
bool dirExists (const std::string &dirName_in)
 
- Protected Member Functions inherited from MNEX::IPlugin
void addPluginAction (QAction *pAction)
 

Friends

class EEGoSportsSetupWidget
 
class EEGoSportsImpedanceWidget
 
class EEGoSportsSetupProjectWidget
 

Additional Inherited Members

- Public Types inherited from MNEX::IPlugin
enum  PluginType { _ISensor, _IAlgorithm, _IIO, _PluginSet }
 
typedef QSharedPointer< IPluginSPtr
 
typedef QSharedPointer< const IPluginConstSPtr
 
typedef QVector< QSharedPointer< PluginInputConnector > > InputConnectorList
 
typedef QVector< QSharedPointer< PluginOutputConnector > > OutputConnectorList
 
- Protected Attributes inherited from MNEX::IPlugin
InputConnectorList m_inputConnectors
 
OutputConnectorList m_outputConnectors
 

Detailed Description

The EEGoSports class provides a EEG connector. In order for this plugin to work properly the driver dll "RTINST.dll" must be installed in the system directory. This dll is automatically copied in the system directory during the driver installtion of the TMSi Refa device.

EEGoSports...

Definition at line 120 of file eegosports.h.

Constructor & Destructor Documentation

EEGoSports::EEGoSports ( )

Constructs a EEGoSports.

Definition at line 69 of file eegosports.cpp.

EEGoSports::~EEGoSports ( )
virtual

Destroys the EEGoSports.

Definition at line 91 of file eegosports.cpp.

Member Function Documentation

void EEGoSports::changeRecordingButton ( )
protected

Implements blinking recording button

Definition at line 688 of file eegosports.cpp.

QSharedPointer< IPlugin > EEGoSports::clone ( ) const
virtual

Clone the plugin

Implements MNEX::ISensor.

Definition at line 103 of file eegosports.cpp.

bool EEGoSports::dirExists ( const std::string &  dirName_in)
protected

Checks if a dir exists

Definition at line 705 of file eegosports.cpp.

QString EEGoSports::getName ( ) const
virtual

Returns the plugin name. Pure virtual method inherited by IModule.

Returns
the name of the ISensor.

Implements MNEX::ISensor.

Definition at line 520 of file eegosports.cpp.

IPlugin::PluginType EEGoSports::getType ( ) const
virtual

Returns the plugin type. Pure virtual method inherited by IModule.

Returns
type of the ISensor

Implements MNEX::ISensor.

Definition at line 512 of file eegosports.cpp.

void EEGoSports::init ( )
virtual

Initialise input and output connectors.

Implements MNEX::ISensor.

Definition at line 112 of file eegosports.cpp.

void EEGoSports::run ( )
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.

Implements MNEX::ISensor.

Definition at line 541 of file eegosports.cpp.

void EEGoSports::setSampleData ( MatrixXf &  matRawBuffer)

Set/Add received samples to a QList.

Definition at line 502 of file eegosports.cpp.

void EEGoSports::setUpFiffInfo ( )

Sets up the fiff info with the current data chosen by the user.

Definition at line 153 of file eegosports.cpp.

QWidget * EEGoSports::setupWidget ( )
virtual

Returns the set up widget for configuration of ISensor. Pure virtual method inherited by IModule.

Returns
the setup widget.

Implements MNEX::ISensor.

Definition at line 528 of file eegosports.cpp.

void EEGoSports::showSetupProjectDialog ( )
protected

Opens a dialog to setup the project to check the impedance values

Definition at line 604 of file eegosports.cpp.

void EEGoSports::showStartRecording ( )
protected

Starts data recording

Definition at line 621 of file eegosports.cpp.

bool EEGoSports::start ( )
virtual

Starts the EEGoSports by starting the tmsi's thread.

Implements MNEX::ISensor.

Definition at line 435 of file eegosports.cpp.

bool EEGoSports::stop ( )
virtual

Stops the EEGoSports by stopping the tmsi's thread.

Implements MNEX::ISensor.

Definition at line 479 of file eegosports.cpp.

void EEGoSports::unload ( )
virtual

Is called when plugin is detached of the stage. Can be used to safe settings.

Implements MNEX::ISensor.

Definition at line 145 of file eegosports.cpp.


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