BioSignalPi  v2
Public Slots | Public Member Functions | List of all members
SamplingThread Class Reference

DeviceInterface Class responsible for sampling ECG. More...

#include <samplingthread.h>

Inheritance diagram for SamplingThread:
Inheritance graph
[legend]
Collaboration diagram for SamplingThread:
Collaboration graph
[legend]

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
DataStreamstream
 

Detailed Description

DeviceInterface Class responsible for sampling ECG.

Author
Martin
Jonatan

Definition at line 27 of file samplingthread.h.

Constructor & Destructor Documentation

SamplingThread::SamplingThread ( DataStream inputStream)

Definition at line 16 of file samplingthread.cpp.

SamplingThread::~SamplingThread ( )
virtual

Definition at line 26 of file samplingthread.cpp.

Member Function Documentation

void SamplingThread::clearSamples ( )

Definition at line 131 of file samplingthread.cpp.

void SamplingThread::close ( )
virtual

Closes the connection to bcm2835.

SamplingThread::close.

Todo:
Implement function
Todo:
Implement

Implements DeviceInterface.

Definition at line 420 of file samplingthread.cpp.

bool SamplingThread::connected ( )
virtual

Boolean for check whether the device is connected<.

SamplingThread::connected.

Todo:
Implement function
Todo:
Implement
Returns

Implements DeviceInterface.

Definition at line 413 of file samplingthread.cpp.

void SamplingThread::getData ( DataStream inputStream)
virtual

Populates DataStream vector with values.

Todo:
Deprecated:
Not used

Implements DeviceInterface.

Definition at line 387 of file samplingthread.cpp.

Here is the call graph for this function:

void SamplingThread::run ( )
virtual

Implements DeviceInterface.

Definition at line 34 of file samplingthread.cpp.

Here is the call graph for this function:

void SamplingThread::setChannel ( int  channel)
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)

Definition at line 154 of file samplingthread.cpp.

Here is the call graph for this function:

void SamplingThread::setSource ( int  source)

Definition at line 142 of file samplingthread.cpp.

void SamplingThread::startThread ( )

Definition at line 67 of file samplingthread.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SamplingThread::stop ( )
virtual

Implements DeviceInterface.

Definition at line 62 of file samplingthread.cpp.


The documentation for this class was generated from the following files: