BioSignalPi
v2
|
Abstract interface for all devices. More...
#include <deviceinterface.h>
Signals | |
void | sendSampleVector (QVector< QVector< QPointF > >) |
void | updateStatus (QString) |
Public Member Functions | |
DeviceInterface (DataStream &inputStream) | |
virtual | ~DeviceInterface () |
virtual void | getData (DataStream &)=0 |
virtual bool | connected ()=0 |
virtual void | init (DataStream &) |
virtual void | close ()=0 |
virtual void | run ()=0 |
virtual void | stop ()=0 |
Protected Member Functions | |
void | updateStatusFunction (QString) |
void | sendSampleVectorFunction (QVector< QVector< QPointF > >) |
Protected Attributes | |
DataStream & | stream |
Abstract interface for all devices.
Specifies pure virtual functions that specifies the functionality all devices should have
Definition at line 29 of file deviceinterface.h.
DeviceInterface::DeviceInterface | ( | DataStream & | inputStream | ) |
Definition at line 4 of file deviceinterface.cpp.
|
virtual |
Definition at line 8 of file deviceinterface.cpp.
|
pure virtual |
Implemented in SamplingThread, and EcgMock.
|
pure virtual |
Implemented in SamplingThread, and EcgMock.
|
pure virtual |
|
virtual |
|
pure virtual |
Implemented in SamplingThread, and EcgMock.
|
signal |
|
protected |
Definition at line 14 of file deviceinterface.cpp.
|
pure virtual |
|
signal |
|
protected |
Definition at line 18 of file deviceinterface.cpp.
|
protected |
Definition at line 48 of file deviceinterface.h.