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

The TMSI 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 <tmsi.h>

Inheritance diagram for TMSIPlugin::TMSI:
MNEX::ISensor MNEX::IPlugin

Public Member Functions

 TMSI ()
 
virtual ~TMSI ()
 
virtual QSharedPointer< IPluginclone () const
 
virtual void init ()
 
virtual void unload ()
 
void setUpFiffInfo ()
 
virtual bool start ()
 
virtual bool stop ()
 
virtual IPlugin::PluginType getType () const
 
virtual QString getName () const
 
virtual QWidget * setupWidget ()
 
void setKeyboardTriggerType (int type)
 
- 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 showImpedanceDialog ()
 
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 TMSISetupWidget
 
class TMSIImpedanceWidget
 
class TMSISetupProjectWidget
 

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 TMSI 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.

TMSI...

Definition at line 122 of file tmsi.h.

Constructor & Destructor Documentation

TMSI::TMSI ( )

Constructs a TMSI.

Definition at line 69 of file tmsi.cpp.

TMSI::~TMSI ( )
virtual

Destroys the TMSI.

Definition at line 97 of file tmsi.cpp.

Member Function Documentation

void TMSI::changeRecordingButton ( )
protected

Implements blinking recording button

Definition at line 846 of file tmsi.cpp.

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

Clone the plugin

Implements MNEX::ISensor.

Definition at line 109 of file tmsi.cpp.

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

Checks if a dir exists

Definition at line 863 of file tmsi.cpp.

QString TMSI::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 577 of file tmsi.cpp.

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

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

Returns
type of the ISensor

Implements MNEX::ISensor.

Definition at line 569 of file tmsi.cpp.

void TMSI::init ( )
virtual

Initialise input and output connectors.

Implements MNEX::ISensor.

Definition at line 118 of file tmsi.cpp.

void TMSI::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 608 of file tmsi.cpp.

void TMSI::setUpFiffInfo ( )

Sets up the fiff info with the current data chosen by the user. Note: Only works for ANT Neuro Waveguard Duke caps.

Definition at line 167 of file tmsi.cpp.

QWidget * TMSI::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 585 of file tmsi.cpp.

void TMSI::showImpedanceDialog ( )
protected

Opens a widget to check the impedance values

Definition at line 741 of file tmsi.cpp.

void TMSI::showSetupProjectDialog ( )
protected

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

Definition at line 762 of file tmsi.cpp.

void TMSI::showStartRecording ( )
protected

Starts data recording

Definition at line 779 of file tmsi.cpp.

bool TMSI::start ( )
virtual

Starts the TMSI by starting the tmsi's thread.

Implements MNEX::ISensor.

Definition at line 490 of file tmsi.cpp.

bool TMSI::stop ( )
virtual

Stops the TMSI by stopping the tmsi's thread.

Implements MNEX::ISensor.

Definition at line 546 of file tmsi.cpp.

void TMSI::unload ( )
virtual

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

Implements MNEX::ISensor.

Definition at line 159 of file tmsi.cpp.


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