Threaded client that connects to mne_rt_server, retrieves measurement info, and streams raw data buffers. More...
#include <rt_client.h>
Public Types | |
| typedef QSharedPointer< RtClient > | SPtr |
| typedef QSharedPointer< const RtClient > | ConstSPtr |
Signals | |
| void | rawBufferReceived (Eigen::MatrixXf p_rawBuffer) |
| void | connectionChanged (bool p_bStatus) |
Public Member Functions | |
| RtClient (QString p_sRtServerHostname, QString p_sClientAlias="rtclient", QObject *parent=0) | |
| ~RtClient () | |
| FIFFLIB::FiffInfo::SPtr & | getFiffInfo () |
| bool | getConnectionStatus () |
| virtual bool | stop () |
Protected Member Functions | |
| virtual void | run () |
Threaded client that connects to mne_rt_server, retrieves measurement info, and streams raw data buffers.
The real-time client class provides an interface to communicate with a running mne_rt_server.
Definition at line 80 of file rt_client.h.

| typedef QSharedPointer<const RtClient> COMLIB::RtClient::ConstSPtr |
Const shared pointer type for MNERtClient.
Definition at line 86 of file rt_client.h.
| typedef QSharedPointer<RtClient> COMLIB::RtClient::SPtr |
Shared pointer type for MNERtClient.
Definition at line 85 of file rt_client.h.
|
explicit |
Creates the real-time client.
| [in] | p_sRtServerHostname | The IP address of the mne_rt_server. |
| [in] | p_sClientAlias | The client alias of the data client. |
| [in] | parent | Parent QObject (optional). |
Definition at line 57 of file rt_client.cpp.
| RtClient::~RtClient | ( | ) |
Destroys the real time client.
Definition at line 70 of file rt_client.cpp.
|
signal |
Emitted when connection status changed
| [in] | p_bStatus | connection status. |
| bool RtClient::getConnectionStatus | ( | ) |
Rt Server status, returns true when rt server is started.
Definition at line 77 of file rt_client.cpp.
|
inline |
Request Fiff Info
Definition at line 166 of file rt_client.h.
|
signal |
Emits a received raw buffer - ToDo change the emits to fiff raw data.
| [in] | p_rawBuffer | the received raw buffer. |
|
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.
Definition at line 94 of file rt_client.cpp.
|
virtual |
Stops the RtClient by stopping the producer's thread.
Definition at line 84 of file rt_client.cpp.