BioSignalPi  v2
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DeviceInterface Class Referenceabstract

Abstract interface for all devices. More...

#include <deviceinterface.h>

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

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
 

Detailed Description

Abstract interface for all devices.

Specifies pure virtual functions that specifies the functionality all devices should have

Author
Martin

Definition at line 29 of file deviceinterface.h.

Constructor & Destructor Documentation

DeviceInterface::DeviceInterface ( DataStream &  inputStream)

Definition at line 4 of file deviceinterface.cpp.

DeviceInterface::~DeviceInterface ( )
virtual

Definition at line 8 of file deviceinterface.cpp.

Member Function Documentation

virtual void DeviceInterface::close ( )
pure virtual

Implemented in SamplingThread, and EcgMock.

virtual bool DeviceInterface::connected ( )
pure virtual

Implemented in SamplingThread, and EcgMock.

virtual void DeviceInterface::getData ( DataStream &  )
pure virtual

Implemented in SamplingThread, and EcgMock.

Here is the caller graph for this function:

void DeviceInterface::init ( DataStream &  inputStream)
virtual

Definition at line 11 of file deviceinterface.cpp.

Here is the caller graph for this function:

virtual void DeviceInterface::run ( )
pure virtual

Implemented in SamplingThread, and EcgMock.

void DeviceInterface::sendSampleVector ( QVector< QVector< QPointF > >  )
signal

Here is the caller graph for this function:

void DeviceInterface::sendSampleVectorFunction ( QVector< QVector< QPointF > >  input)
protected

Definition at line 14 of file deviceinterface.cpp.

virtual void DeviceInterface::stop ( )
pure virtual

Implemented in SamplingThread, and EcgMock.

Here is the caller graph for this function:

void DeviceInterface::updateStatus ( QString  )
signal

Here is the caller graph for this function:

void DeviceInterface::updateStatusFunction ( QString  input)
protected

Definition at line 18 of file deviceinterface.cpp.

Member Data Documentation

DataStream& DeviceInterface::stream
protected

Definition at line 48 of file deviceinterface.h.


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