BioSignalPi
v2
|
DeviceInterface Class responsible for sampling ECG. More...
#include <samplingthread.h>
Public Slots | |
void | setChannel (int) |
Public Member Functions | |
SamplingThread (DataStream &inputStream) | |
virtual | ~SamplingThread () |
void | clearSamples () |
void | setSource (int) |
void | setFileName (QString) |
void | setFileType (QString) |
void | startThread () |
virtual void | stop () |
virtual void | run () |
virtual void | getData (DataStream &) |
Populates DataStream vector with values. More... | |
virtual bool | connected () |
Boolean for check whether the device is connected<. More... | |
virtual void | close () |
Closes the connection to bcm2835. More... | |
Public Member Functions inherited from DeviceInterface | |
DeviceInterface (DataStream &inputStream) | |
virtual | ~DeviceInterface () |
virtual void | init (DataStream &) |
Additional Inherited Members | |
Signals inherited from DeviceInterface | |
void | sendSampleVector (QVector< QVector< QPointF > >) |
void | updateStatus (QString) |
Protected Member Functions inherited from DeviceInterface | |
void | updateStatusFunction (QString) |
void | sendSampleVectorFunction (QVector< QVector< QPointF > >) |
Protected Attributes inherited from DeviceInterface | |
DataStream & | stream |
DeviceInterface Class responsible for sampling ECG.
Definition at line 27 of file samplingthread.h.
SamplingThread::SamplingThread | ( | DataStream & | inputStream | ) |
Definition at line 16 of file samplingthread.cpp.
|
virtual |
Definition at line 26 of file samplingthread.cpp.
void SamplingThread::clearSamples | ( | ) |
Definition at line 131 of file samplingthread.cpp.
|
virtual |
Closes the connection to bcm2835.
Implements DeviceInterface.
Definition at line 420 of file samplingthread.cpp.
|
virtual |
Boolean for check whether the device is connected<.
Implements DeviceInterface.
Definition at line 413 of file samplingthread.cpp.
|
virtual |
Populates DataStream vector with values.
Implements DeviceInterface.
Definition at line 387 of file samplingthread.cpp.
|
virtual |
Implements DeviceInterface.
Definition at line 34 of file samplingthread.cpp.
|
slot |
Definition at line 136 of file samplingthread.cpp.
void SamplingThread::setFileName | ( | QString | fname | ) |
Definition at line 147 of file samplingthread.cpp.
void SamplingThread::setFileType | ( | QString | ftype | ) |
void SamplingThread::setSource | ( | int | source | ) |
Definition at line 142 of file samplingthread.cpp.
void SamplingThread::startThread | ( | ) |
Definition at line 67 of file samplingthread.cpp.
|
virtual |
Implements DeviceInterface.
Definition at line 62 of file samplingthread.cpp.