MNE-CPP
beta 1.0
|
The BabyMEG class provides a Fiff data simulator. More...
#include <babymeg.h>
Signals | |
void | cmdConnectionChanged (bool p_bStatus) |
void | fiffInfoAvailable () |
void | DataToSquidCtrlGUI (MatrixXf tmp) |
void | SendCMDDataToSQUIDControl (QByteArray DATA) |
![]() | |
void | remitMeasInfo (qint32, FIFFLIB::FiffInfo) |
void | remitRawBuffer (QSharedPointer< Eigen::MatrixXf >) |
Public Member Functions | |
BabyMEG () | |
virtual | ~BabyMEG () |
void | clear () |
virtual QSharedPointer< IPlugin > | clone () const |
QString | getFilePath (bool currentTime=false) const |
virtual void | init () |
virtual void | unload () |
void | showProjectDialog () |
void | showSqdCtrlDialog () |
void | splitRecordingFile () |
void | toggleRecordingFile () |
virtual bool | start () |
virtual bool | stop () |
virtual IPlugin::PluginType | getType () const |
virtual QString | getName () const |
virtual QWidget * | setupWidget () |
void | setFiffInfo (FIFFLIB::FiffInfo) |
void | setFiffData (QByteArray DATA) |
void | setCMDData (QByteArray DATA) |
void | setFiffGainInfo (QStringList) |
void | comFLL (QString t_sFLLControlCommand) |
void | UpdateFiffInfo () |
![]() | |
virtual | ~ISensor () |
virtual bool | multiInstanceAllowed () const |
![]() | |
virtual | ~IPlugin () |
QList< QAction * > | getPluginActions () |
InputConnectorList & | getInputConnectors () |
OutputConnectorList & | getOutputConnectors () |
![]() | |
virtual | ~IConnector () |
CommandManager & | getCommandManager () |
bool | isActive () const |
void | setMetaData (QJsonObject &p_MetaData) |
void | setStatus (bool status) |
Public Attributes | |
double | sfreq |
Protected Member Functions | |
virtual void | run () |
virtual void | run () |
![]() | |
void | addPluginAction (QAction *pAction) |
Friends | |
class | BabyMEGProjectDialog |
class | BabyMEGSQUIDControlDgl |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
InputConnectorList | m_inputConnectors |
OutputConnectorList | m_outputConnectors |
![]() | |
QJsonObject | m_qJsonObjectMetaData |
CommandManager | m_commandManager |
The BabyMEG class provides a Fiff data simulator.
The BabyMEG class provides a RT server connection.
DECLARE CLASS BabyMEG
BabyMEG::BabyMEG | ( | ) |
Constructs a BabyMEG.
Definition at line 91 of file babymeg.cpp.
|
virtual |
Destroys the BabyMEG.
Definition at line 123 of file babymeg.cpp.
void BabyMEG::clear | ( | ) |
Clears the rt server
Definition at line 240 of file babymeg.cpp.
|
virtual |
|
signal |
Emitted when command clients connection status changed
[in] | p_bStatus | connection status |
void BabyMEG::comFLL | ( | QString | t_sFLLControlCommand | ) |
Returns information from FLL hardware
[in] | t_sFLLControlCommand | FLL command. |
Definition at line 491 of file babymeg.cpp.
|
signal |
Emitted when data is ready
|
signal |
Emitted when fiffInfo is available
QString BabyMEG::getFilePath | ( | bool | currentTime = false | ) | const |
Initialise the BabyMEG.
[in] | currentTime | insert current time stamp. |
Definition at line 144 of file babymeg.cpp.
|
virtual |
Returns the plugin name. Pure virtual method.
Implements RTSERVER::IConnector.
|
virtual |
Returns the plugin type. Pure virtual method inherited by IModule.
Implements MNEX::ISensor.
Definition at line 548 of file babymeg.cpp.
|
virtual |
Initialise the BabyMEG.
Implements MNEX::ISensor.
|
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 394 of file babymeg.cpp.
|
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.
|
signal |
Emitted when data received from tcp/ip socket
|
virtual |
Returns the set up widget for configuration of ISensor. Pure virtual method inherited by IModule.
Implements MNEX::ISensor.
Definition at line 564 of file babymeg.cpp.
void BabyMEG::splitRecordingFile | ( | ) |
Determines current file. And starts a new one.
Definition at line 291 of file babymeg.cpp.
|
virtual |
Starts the IConnector. Pure virtual method.
Implements RTSERVER::IConnector.
|
virtual |
Stops the IPlugin. Pure virtual method.
Implements RTSERVER::IConnector.
void BabyMEG::toggleRecordingFile | ( | ) |
Starts or stops a file recording depending on the current recording state.
Definition at line 324 of file babymeg.cpp.
|
virtual |
Is called when plugin is detached of the stage. Can be used to safe settings.
Implements MNEX::ISensor.
Definition at line 208 of file babymeg.cpp.
void BabyMEG::UpdateFiffInfo | ( | ) |
Update fiff information
Definition at line 276 of file babymeg.cpp.