MNE-CPP
beta 1.0
|
The IConnector class is the interface class of all plugins. More...
#include <IConnector.h>
Signals | |
void | remitMeasInfo (qint32, FIFFLIB::FiffInfo) |
void | remitRawBuffer (QSharedPointer< Eigen::MatrixXf >) |
Public Member Functions | |
virtual | ~IConnector () |
CommandManager & | getCommandManager () |
virtual void | connectCommandManager ()=0 |
virtual ConnectorID | getConnectorID () const =0 |
virtual const char * | getName () const =0 |
bool | isActive () const |
virtual bool | start ()=0 |
virtual bool | stop ()=0 |
void | setMetaData (QJsonObject &p_MetaData) |
void | setStatus (bool status) |
virtual void | info (qint32 ID)=0 |
Protected Member Functions | |
virtual void | run ()=0 |
Protected Attributes | |
QJsonObject | m_qJsonObjectMetaData |
CommandManager | m_commandManager |
The IConnector class is the interface class of all plugins.
The IConnector class is the interface class for all connectors.
Definition at line 119 of file IConnector.h.
|
inlinevirtual |
Destroys the IConnector.
Definition at line 127 of file IConnector.h.
|
pure virtual |
Connects the command manager to the available slots.
Implemented in FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
inline |
|
pure virtual |
Returns the unique connector id Pure virtual method.
Implemented in FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
pure virtual |
Returns the plugin name. Pure virtual method.
Implemented in BabyMEGPlugin::BabyMEG, FiffSimulatorPlugin::FiffSimulator, FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
pure virtual |
Request FiffInfo to be released.
[in] | ID | ID of the data client to send to. ToDo Remove this - do this processing somewhere else |
Implemented in FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
inline |
Returns the activation status of the plugin.
Definition at line 247 of file IConnector.h.
|
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
Implemented in BabyMEGPlugin::BabyMEG, FiffSimulatorPlugin::FiffSimulator, NeuromagPlugin::Neuromag, FiffSimulatorPlugin::FiffSimulator, and BabyMEGPlugin::BabyMEG.
|
inline |
Sets itsmeta data of the plugin after it was laoded by the pluginmanager.
[in] | status | the new activation status of the plugin. |
Definition at line 255 of file IConnector.h.
|
inline |
Sets the activation status of the plugin.
[in] | status | the new activation status of the plugin. |
Definition at line 263 of file IConnector.h.
|
pure virtual |
Starts the IConnector. Pure virtual method.
Implemented in BabyMEGPlugin::BabyMEG, FiffSimulatorPlugin::FiffSimulator, FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
pure virtual |
Stops the IPlugin. Pure virtual method.
Implemented in BabyMEGPlugin::BabyMEG, FiffSimulatorPlugin::FiffSimulator, FiffSimulatorPlugin::FiffSimulator, and NeuromagPlugin::Neuromag.
|
protected |
The CommandManager of the connector.
Definition at line 228 of file IConnector.h.
|
protected |
The meta data of the plugin defined in Q_PLUGIN_METADATA and the corresponding json file.
Definition at line 226 of file IConnector.h.