BioSignalPi  v2
ecgstreamobject.cpp
Go to the documentation of this file.
1 #include "ecgstreamobject.h"
2 
4 {
5 
6 }
7 
8 EcgStreamObject::EcgStreamObject(double _frame1, double _frame2, double _frame3, double _resp, double _time)
9  : frame1(_frame1),frame2(_frame2),frame3(_frame3),time(_time),resp(_resp){
10 
11 }
12 
13 QString EcgStreamObject::toText() const{
14  QString tmp=QString::number(time) + "\t" + QString::number(frame1) + "\t"
15  +QString::number(frame2) + "\t"
16  + QString::number(frame3) + "\t"
17  + QString::number(resp);
18  return tmp;
19 }
21 
22 }
virtual QString toText() const
Converts the data from the struct into a QString representation.
virtual ~EcgStreamObject()