MNE-CPP  beta 1.0
Signals | Public Member Functions | Protected Member Functions | List of all members
MNEPlugin::MNE Class Reference

The MNE class provides a dummy algorithm structure. More...

#include <mne.h>

Inheritance diagram for MNEPlugin::MNE:
MNEX::IAlgorithm MNEX::IPlugin

Signals

void clusteringStarted ()
 
void clusteringFinished ()
 

Public Member Functions

 MNE ()
 
 ~MNE ()
 
virtual QSharedPointer< IPluginclone () const
 
void init ()
 
virtual void unload ()
 
void calcFiffInfo ()
 
void doClustering ()
 
void finishedClustering ()
 
virtual bool start ()
 
virtual bool stop ()
 
virtual IPlugin::PluginType getType () const
 
virtual QString getName () const
 
virtual QWidget * setupWidget ()
 
void updateRTC (XMEASLIB::NewMeasurement::SPtr pMeasurement)
 
void updateRTE (XMEASLIB::NewMeasurement::SPtr pMeasurement)
 
void updateInvOp (MNEInverseOperator::SPtr p_pInvOp)
 
- Public Member Functions inherited from MNEX::IAlgorithm
virtual ~IAlgorithm ()
 
virtual bool multiInstanceAllowed () const
 
- Public Member Functions inherited from MNEX::IPlugin
virtual ~IPlugin ()
 
QList< QAction * > getPluginActions ()
 
InputConnectorListgetInputConnectors ()
 
OutputConnectorListgetOutputConnectors ()
 

Protected Member Functions

virtual void run ()
 
- Protected Member Functions inherited from MNEX::IPlugin
void addPluginAction (QAction *pAction)
 

Additional Inherited Members

- Public Types inherited from MNEX::IAlgorithm
typedef QSharedPointer< IAlgorithmSPtr
 
typedef QSharedPointer< const IAlgorithmConstSPtr
 
- 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 MNE class provides a dummy algorithm structure.

DECLARE CLASS MNE

Definition at line 109 of file mne.h.

Constructor & Destructor Documentation

MNE::MNE ( )

Constructs a MNE.

Definition at line 71 of file mne.cpp.

MNE::~MNE ( )

Destroys the MNE.

Definition at line 88 of file mne.cpp.

Member Function Documentation

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

Clone the plugin

Implements MNEX::IAlgorithm.

Definition at line 97 of file mne.cpp.

void MNEPlugin::MNE::clusteringFinished ( )
signal

Signal when clsutering has finished

void MNEPlugin::MNE::clusteringStarted ( )
signal

Signal when clsutering is started

QString MNE::getName ( ) const
virtual

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

Returns
the name of the IAlgorithm.

Implements MNEX::IAlgorithm.

Definition at line 262 of file mne.cpp.

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

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

Returns
type of the IAlgorithm

Implements MNEX::IAlgorithm.

Definition at line 254 of file mne.cpp.

void MNE::init ( )
virtual

Initialise the MNE.

Implements MNEX::IAlgorithm.

Definition at line 109 of file mne.cpp.

void MNE::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::IAlgorithm.

Definition at line 351 of file mne.cpp.

QWidget * MNE::setupWidget ( )
virtual

Returns the set up widget for configuration of IAlgorithm. Pure virtual method inherited by IPlugin.

Returns
the setup widget.

Implements MNEX::IAlgorithm.

Definition at line 270 of file mne.cpp.

bool MNE::start ( )
virtual

Starts the IAlgorithm. Pure virtual method inherited by IPlugin.

Returns
true if success, false otherwise

Implements MNEX::IAlgorithm.

Definition at line 209 of file mne.cpp.

bool MNE::stop ( )
virtual

Stops the IAlgorithm. Pure virtual method inherited by IPlugin.

Returns
true if success, false otherwise

Implements MNEX::IAlgorithm.

Definition at line 228 of file mne.cpp.

void MNE::unload ( )
virtual

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

Implements MNEX::IAlgorithm.

Definition at line 141 of file mne.cpp.

void MNE::updateInvOp ( MNEInverseOperator::SPtr  p_pInvOp)

Slot to update the inverse operator

Parameters
[in]p_pInvOpThe inverse operator to update

Definition at line 330 of file mne.cpp.

void MNE::updateRTC ( XMEASLIB::NewMeasurement::SPtr  pMeasurement)

Slot to update the fiff covariance

Definition at line 286 of file mne.cpp.

void MNE::updateRTE ( XMEASLIB::NewMeasurement::SPtr  pMeasurement)

Slot to update the fiff evoked

Parameters
[in]pMeasurementThe evoked to be appended

Definition at line 310 of file mne.cpp.


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