BioSignalPi  v2
Public Member Functions | Public Attributes | List of all members
EcgStreamObject Struct Reference

Struct to store Biosignal data from a specific time, combined with DataStream it will store a sequence of sampled data. More...

#include <ecgstreamobject.h>

Public Member Functions

 EcgStreamObject ()
 
 EcgStreamObject (double frame1, double frame2, double frame3, double resp, double time)
 Constructor for a EcgStreamObject to be used in a DataStream vector. More...
 
virtual ~EcgStreamObject ()
 
virtual QString toText () const
 Converts the data from the struct into a QString representation. More...
 

Public Attributes

double frame1
 
double frame2
 
double frame3
 
double resp
 
double time
 

Detailed Description

Struct to store Biosignal data from a specific time, combined with DataStream it will store a sequence of sampled data.

Parameters
frame1,frame2,frame3Captured ECG-data
respRespiration data
timeTimestamp information
Author
Martin

Definition at line 14 of file ecgstreamobject.h.

Constructor & Destructor Documentation

EcgStreamObject::EcgStreamObject ( )

Definition at line 3 of file ecgstreamobject.cpp.

EcgStreamObject::EcgStreamObject ( double  frame1,
double  frame2,
double  frame3,
double  resp,
double  time 
)

Constructor for a EcgStreamObject to be used in a DataStream vector.

Parameters
[in]frame1,frame2,frame3Captured ECG-data
[in]respRespiration data
[in]timeTimestamp information

Definition at line 8 of file ecgstreamobject.cpp.

EcgStreamObject::~EcgStreamObject ( )
virtual

Definition at line 20 of file ecgstreamobject.cpp.

Member Function Documentation

QString EcgStreamObject::toText ( ) const
virtual

Converts the data from the struct into a QString representation.

Returns
String representation of the Data with tab between values.

Definition at line 13 of file ecgstreamobject.cpp.

Here is the caller graph for this function:

Member Data Documentation

double EcgStreamObject::frame1

Definition at line 31 of file ecgstreamobject.h.

double EcgStreamObject::frame2

Definition at line 31 of file ecgstreamobject.h.

double EcgStreamObject::frame3

Definition at line 31 of file ecgstreamobject.h.

double EcgStreamObject::resp

Definition at line 31 of file ecgstreamobject.h.

double EcgStreamObject::time

Definition at line 31 of file ecgstreamobject.h.


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