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

The Neuromag class provides a RT server connection. More...

#include <neuromag.h>

Inheritance diagram for MneRtClientPlugin::Neuromag:
MNEX::ISensor MNEX::IPlugin

Signals

void cmdConnectionChanged (bool p_bStatus)
 
void fiffInfoAvailable ()
 

Public Member Functions

 Neuromag ()
 
virtual ~Neuromag ()
 
void clear ()
 
virtual QSharedPointer< IPluginclone () const
 
virtual void init ()
 
virtual void unload ()
 
virtual bool start ()
 
virtual bool stop ()
 
virtual IPlugin::PluginType getType () const
 
virtual QString getName () const
 
virtual QWidget * setupWidget ()
 
void changeConnector (qint32 p_iNewConnectorId)
 
void connectCmdClient ()
 
void disconnectCmdClient ()
 
void requestInfo ()
 
- 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 ()
 
- Protected Member Functions inherited from MNEX::IPlugin
void addPluginAction (QAction *pAction)
 

Friends

class NeuromagSetupWidget
 

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 Neuromag class provides a RT server connection.

DECLARE CLASS Neuromag

Definition at line 115 of file neuromag.h.

Constructor & Destructor Documentation

Neuromag::Neuromag ( )

Constructs a Neuromag.

Definition at line 76 of file neuromag.cpp.

Neuromag::~Neuromag ( )
virtual

Destroys the Neuromag.

Definition at line 92 of file neuromag.cpp.

Member Function Documentation

void Neuromag::changeConnector ( qint32  p_iNewConnectorId)

Change connector

Parameters
[in]p_iNewConnectorIdnew connector ID

Definition at line 157 of file neuromag.cpp.

void Neuromag::clear ( )

Clears the rt server

Definition at line 193 of file neuromag.cpp.

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

Clone the plugin

Implements MNEX::ISensor.

Definition at line 101 of file neuromag.cpp.

void MneRtClientPlugin::Neuromag::cmdConnectionChanged ( bool  p_bStatus)
signal

Emitted when command clients connection status changed

Parameters
[in]p_bStatusconnection status
void Neuromag::connectCmdClient ( )

Connects the cmd client.

Definition at line 202 of file neuromag.cpp.

void Neuromag::disconnectCmdClient ( )

Disconnects the cmd client.

Definition at line 259 of file neuromag.cpp.

void MneRtClientPlugin::Neuromag::fiffInfoAvailable ( )
signal

Emitted when fiffInfo is available

QString Neuromag::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 371 of file neuromag.cpp.

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

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

Returns
type of the ISensor

Implements MNEX::ISensor.

Definition at line 363 of file neuromag.cpp.

void Neuromag::init ( )
virtual

Initialise the Neuromag.

Implements MNEX::ISensor.

Definition at line 110 of file neuromag.cpp.

void Neuromag::requestInfo ( )

Request FiffInfo using cmd client and producer (data client)

Definition at line 275 of file neuromag.cpp.

void Neuromag::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 389 of file neuromag.cpp.

QWidget * Neuromag::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 379 of file neuromag.cpp.

bool Neuromag::start ( )
virtual

Starts the ISensor. Pure virtual method inherited by IModule.

Returns
true if success, false otherwise

Implements MNEX::ISensor.

Definition at line 297 of file neuromag.cpp.

bool Neuromag::stop ( )
virtual

Stops the ISensor. Pure virtual method inherited by IModule.

Returns
true if success, false otherwise

Implements MNEX::ISensor.

Definition at line 339 of file neuromag.cpp.

void Neuromag::unload ( )
virtual

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

Implements MNEX::ISensor.

Definition at line 125 of file neuromag.cpp.


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