MNE-CPP
beta 1.0
|
The NeuromagProducer class provides a Rt Client data producer for a given sampling rate. More...
#include <neuromagproducer.h>
Signals | |
void | dataConnectionChanged (bool p_bStatus) |
Public Member Functions | |
NeuromagProducer (Neuromag *p_pNeuromag) | |
~NeuromagProducer () | |
void | connectDataClient (QString p_sRtSeverIP) |
void | disconnectDataClient () |
void | stop () |
Protected Member Functions | |
virtual void | run () |
Friends | |
class | Neuromag |
The NeuromagProducer class provides a Rt Client data producer for a given sampling rate.
DECLARE CLASS NeuromagProducer
Definition at line 97 of file neuromagproducer.h.
NeuromagProducer::NeuromagProducer | ( | Neuromag * | p_pNeuromag | ) |
Constructs a NeuromagProducer.
[in] | p_pNeuromag | a pointer to the corresponding Neuromag. |
Definition at line 58 of file neuromagproducer.cpp.
NeuromagProducer::~NeuromagProducer | ( | ) |
Destroys the NeuromagProducer.
Definition at line 72 of file neuromagproducer.cpp.
void NeuromagProducer::connectDataClient | ( | QString | p_sRtSeverIP | ) |
Connects the data client.
[in] | p_sRtSeverIP | real-time server ip |
Definition at line 80 of file neuromagproducer.cpp.
|
signal |
Emitted when data clients connection status changed
[in] | p_bStatus | connection status |
void NeuromagProducer::disconnectDataClient | ( | ) |
Disconnects the data client.
Definition at line 118 of file neuromagproducer.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.
Definition at line 163 of file neuromagproducer.cpp.
void NeuromagProducer::stop | ( | ) |
Stops the NeuromagProducer by stopping the producer's thread.
Definition at line 135 of file neuromagproducer.cpp.