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

The Neuromag class provides an Elekta Neuromag connector. More...

#include <neuromag.h>

Inheritance diagram for NeuromagPlugin::Neuromag:
RTSERVER::IConnector

Public Member Functions

 Neuromag ()
 
virtual ~Neuromag ()
 
virtual void connectCommandManager ()
 
virtual ConnectorID getConnectorID () const
 
virtual const char * getName () const
 
virtual void info (qint32 ID)
 
virtual bool start ()
 
virtual bool stop ()
 
void releaseMeasInfo ()
 
- Public Member Functions inherited from RTSERVER::IConnector
virtual ~IConnector ()
 
CommandManagergetCommandManager ()
 
bool isActive () const
 
void setMetaData (QJsonObject &p_MetaData)
 
void setStatus (bool status)
 

Protected Member Functions

virtual void run ()
 

Additional Inherited Members

- Signals inherited from RTSERVER::IConnector
void remitMeasInfo (qint32, FIFFLIB::FiffInfo)
 
void remitRawBuffer (QSharedPointer< Eigen::MatrixXf >)
 
- Protected Attributes inherited from RTSERVER::IConnector
QJsonObject m_qJsonObjectMetaData
 
CommandManager m_commandManager
 

Detailed Description

The Neuromag class provides an Elekta Neuromag connector.

DECLARE CLASS Neuromag

Definition at line 100 of file neuromag.h.

Constructor & Destructor Documentation

Neuromag::Neuromag ( )

Constructs a Neuromag Connector.

Definition at line 89 of file neuromag.cpp.

Neuromag::~Neuromag ( )
virtual

Destroys the Neuromag Connector.

Definition at line 102 of file neuromag.cpp.

Member Function Documentation

void Neuromag::connectCommandManager ( )
virtual

Connects the command manager to the available slots.

Implements RTSERVER::IConnector.

Definition at line 168 of file neuromag.cpp.

ConnectorID Neuromag::getConnectorID ( ) const
virtual

Returns the unique connector id Pure virtual method.

Returns
the connector ID.

Implements RTSERVER::IConnector.

Definition at line 179 of file neuromag.cpp.

const char * Neuromag::getName ( ) const
virtual

Returns the plugin name. Pure virtual method.

Returns
the name of plugin.

Implements RTSERVER::IConnector.

Definition at line 187 of file neuromag.cpp.

void Neuromag::info ( qint32  ID)
virtual

Request FiffInfo to be released.

Parameters
[in]IDID of the data client to send to. ToDo Remove this - do this processing somewhere else

Implements RTSERVER::IConnector.

Definition at line 203 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 RTSERVER::IConnector.

Definition at line 273 of file neuromag.cpp.

bool Neuromag::start ( )
virtual

Starts the IConnector. Pure virtual method.

Returns
true if successful, false otherwise

Implements RTSERVER::IConnector.

Definition at line 240 of file neuromag.cpp.

bool Neuromag::stop ( )
virtual

Stops the IPlugin. Pure virtual method.

Returns
true if success, false otherwise

Implements RTSERVER::IConnector.

Definition at line 257 of file neuromag.cpp.


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