Subversion Repositories Projects

Rev

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 LOGGER_H
22
#define LOGGER_H
Line 23... Line 23...
23
 
23
 
24
#include <QLinkedList>
24
#include <QLinkedList>
25
#include <QString>
25
#include <QString>
-
 
26
#include "DefaultLogger.h"
26
#include "DefaultLogger.h"
27
#include "../global.h"
Line 27... Line 28...
27
#include "../Classes/cSettings.h"
28
#include "../Classes/cSettings.h"
28
 
29
 
29
//Die verschiedenen header der einzelnen Logger
30
//Die verschiedenen header der einzelnen Logger
Line 38... Line 39...
38
    QLinkedList<DefaultLogger *> logger;
39
    QLinkedList<DefaultLogger *> logger;
Line 39... Line 40...
39
 
40
 
Line 40... Line 41...
40
    bool active;
41
    bool active;
41
 
42
 
42
public:
43
public:
Line 43... Line 44...
43
    Logger(cSettings * settings);
44
    Logger(cSettings * settings, sMode * mode);
Line 44... Line 45...
44
    ~Logger();
45
    ~Logger();
45
 
46
 
Line 46... Line 47...
46
    void start_Log();
47
    void start_Log();
47
 
48
 
Line 48... Line -...
48
    //soll geloggt werden?
-
 
49
    bool is_active();
-
 
50
 
-
 
51
    //schreibe log
49
    //soll geloggt werden?
52
    void write(int * analogData);
50
    bool is_active();
53
 
51
 
54
    //erzeuge neue Log-Datei/neuen Datensatz
52
    //schreibe log
55
    void newLog(QString name);
53
    void write(int * analogData);