BioSignalPi  v2
datalogger.h
Go to the documentation of this file.
1 #ifndef DATALOGGER_H
2 #define DATALOGGER_H
3 
9 #include <QObject>
10 #include "datastream.h"
11 
16 class DataLogger : public QObject
17 {
18  Q_OBJECT
19 public:
20  explicit DataLogger(QObject *parent = 0);
21  ~DataLogger();
22 
23  void save(DataStream& input);
24 private:
25  void saveAsText(DataStream& input);
26  void saveAsEdf(DataStream& input);
27 
28 
29 signals:
30  void updateStatus(QString status);
31 public slots:
32 };
33 
38 #endif // DATALOGGER_H
void updateStatus(QString status)
Signal emitting status messages during the process.
The DataLogger class.
Definition: datalogger.h:16
DataLogger(QObject *parent=0)
Definition: datalogger.cpp:9
void save(DataStream &input)
Saves the input to a txt-file, header-file and edf-file(if bool saveAsEdf in SettingsSingleton) ...
Definition: datalogger.cpp:21
Abstract Interface that should be used for storing data in the memory.
Definition: datastream.h:16