Rev 239 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 239 | Rev 240 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | #define CSVLOGGER_H |
22 | #define CSVLOGGER_H |
Line 23... | Line 23... | ||
23 | 23 | ||
24 | #include <QString> |
24 | #include <QString> |
25 | #include <QTextStream> |
25 | #include <QTextStream> |
- | 26 | #include <QFile> |
|
- | 27 | #include <QDate> |
|
- | 28 | #include <QTime> |
|
26 | #include <QFile> |
29 | #include "../global.h" |
27 | #include "../Classes/cSettings.h" |
30 | #include "../Classes/cSettings.h" |
Line 28... | Line 31... | ||
28 | #include "DefaultLogger.h" |
31 | #include "DefaultLogger.h" |
29 | 32 | ||
30 | class CSVLogger : public DefaultLogger |
33 | class CSVLogger : public DefaultLogger |
31 | { |
34 | { |
32 | private: |
35 | private: |
33 | // Object für das Datenfile; |
36 | // Object für das Datenfile; |
- | 37 | QFile * csvfile; |
|
34 | QFile * csvfile; |
38 | cSettings * settings; |
35 | cSettings * settings; |
39 | sMode * mode; |
36 | public: |
40 | public: |
Line 37... | Line 41... | ||
37 | CSVLogger(cSettings * settings); |
41 | CSVLogger(cSettings * settings, sMode * mode); |
38 | ~CSVLogger(); |
42 | ~CSVLogger(); |
Line 39... | Line 43... | ||
39 | 43 | ||
40 | //schreibe log |
44 | //schreibe log |
Line 41... | Line 45... | ||
41 | void write(int * analogData); |
45 | void write(int * analogData); |
42 | 46 | ||
Line 43... | Line 47... | ||
43 | //erzeuge neue Log-Datei/neuen Datensatz |
47 | //erzeuge neue Log-Datei/neuen Datensatz |