BioSignalPi
v2
|
Mock version of an device The EcgMock device will return sine and cosine functions as data. More...
#include <ecgmock.h>
Public Member Functions | |
EcgMock (DataStream &inputStream) | |
virtual | ~EcgMock () |
virtual void | getData (DataStream &) |
virtual bool | connected () |
true as long as close() isn't called. More... | |
virtual void | reconnect () |
sets state=true More... | |
virtual void | close () |
sets state=false More... | |
virtual void | stop () |
Public Member Functions inherited from DeviceInterface | |
DeviceInterface (DataStream &inputStream) | |
virtual | ~DeviceInterface () |
virtual void | init (DataStream &) |
Protected Member Functions | |
virtual void | run () |
Protected Member Functions inherited from DeviceInterface | |
void | updateStatusFunction (QString) |
void | sendSampleVectorFunction (QVector< QVector< QPointF > >) |
Additional Inherited Members | |
Signals inherited from DeviceInterface | |
void | sendSampleVector (QVector< QVector< QPointF > >) |
void | updateStatus (QString) |
Protected Attributes inherited from DeviceInterface | |
DataStream & | stream |
Mock version of an device The EcgMock device will return sine and cosine functions as data.
Call the EcgMock should render (sine(x),cosine(x),tan(x),sin(2x))
EcgMock::EcgMock | ( | DataStream & | inputStream | ) |
Definition at line 15 of file ecgmock.cpp.
|
virtual |
|
virtual |
sets state=false
Implements DeviceInterface.
Definition at line 107 of file ecgmock.cpp.
|
virtual |
true as long as close() isn't called.
Implements DeviceInterface.
Definition at line 99 of file ecgmock.cpp.
|
virtual |
DataStream | & |
Implements DeviceInterface.
Definition at line 28 of file ecgmock.cpp.
|
virtual |
sets state=true
Definition at line 103 of file ecgmock.cpp.
|
protectedvirtual |
Implements DeviceInterface.
Definition at line 47 of file ecgmock.cpp.
|
virtual |
Implements DeviceInterface.
Definition at line 94 of file ecgmock.cpp.