MNE-CPP
beta 1.0
|
The IIO class provides an interface for a real-time record plugin. More...
#include <IIO.h>
Public Types | |
typedef QSharedPointer< IIO > | SPtr |
typedef QSharedPointer< const IIO > | ConstSPtr |
![]() | |
enum | PluginType { _ISensor, _IAlgorithm, _IIO, _PluginSet } |
typedef QSharedPointer< IPlugin > | SPtr |
typedef QSharedPointer< const IPlugin > | ConstSPtr |
typedef QVector< QSharedPointer< PluginInputConnector > > | InputConnectorList |
typedef QVector< QSharedPointer< PluginOutputConnector > > | OutputConnectorList |
Public Member Functions | |
virtual | ~IIO () |
virtual QSharedPointer< IPlugin > | clone () const =0 |
virtual void | init ()=0 |
virtual void | unload ()=0 |
virtual bool | start ()=0 |
virtual bool | stop ()=0 |
virtual PluginType | getType () const =0 |
virtual QString | getName () const =0 |
virtual QWidget * | setupWidget () const =0 |
void | setRTRecordDirName (const QString &dirName) |
![]() | |
virtual | ~IPlugin () |
QList< QAction * > | getPluginActions () |
virtual bool | multiInstanceAllowed () const =0 |
virtual QWidget * | setupWidget ()=0 |
InputConnectorList & | getInputConnectors () |
OutputConnectorList & | getOutputConnectors () |
Protected Types | |
typedef QMap< unsigned short, QFile * > | t_FileMap |
Protected Member Functions | |
virtual void | run ()=0 |
![]() | |
void | addPluginAction (QAction *pAction) |
Protected Attributes | |
QString | m_RTRecordDirName |
t_FileMap | m_mapFiles |
![]() | |
InputConnectorList | m_inputConnectors |
OutputConnectorList | m_outputConnectors |
typedef QSharedPointer<const IIO> MNEX::IIO::ConstSPtr |
typedef QSharedPointer<IIO> MNEX::IIO::SPtr |
|
protected |
|
pure virtual |
Clone the plugin
Implements MNEX::IPlugin.
|
pure virtual |
Returns the plugin name. Pure virtual method inherited by IPlugin.
Implements MNEX::IPlugin.
|
pure virtual |
Returns the plugin type. Pure virtual method inherited by IPlugin.
Implements MNEX::IPlugin.
|
pure virtual |
Initializes the plugin.
Implements MNEX::IPlugin.
|
protectedpure virtual |
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::IPlugin.
|
inline |
|
pure virtual |
|
pure virtual |
Starts the IIO. Pure virtual method inherited by IPlugin.
Implements MNEX::IPlugin.
|
pure virtual |
Stops the IIO. Pure virtual method inherited by IPlugin.
Implements MNEX::IPlugin.
|
pure virtual |
Is called when plugin is detached of the stage. Can be used to safe settings.
Implements MNEX::IPlugin.
|
protected |