Kind-of worked on the R-Tree; not really enough time to do much.
[aesalon.git] / include / visualizer / LogInput.h
blobf9c8a065968187fc815538edd8a89b2f4723072e
1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/visualizer/LogInput.h
8 */
10 #ifndef AesalonVisualizer_LogInput_H
11 #define AesalonVisualizer_LogInput_H
13 #include <string>
14 #include <QFile>
15 #include <QByteArray>
16 #include <QTimer>
18 #include "DataInput.h"
20 namespace Visualizer {
22 class LogInput : public DataInput { Q_OBJECT
23 private:
24 QFile m_file;
25 QTimer m_timer;
26 public:
27 LogInput(const std::string &filename, ArtisanManager *artisanManager);
28 virtual ~LogInput();
29 private slots:
30 void readMore();
31 signals:
32 void moreData(QByteArray buffer);
35 } // namespace Visualizer
37 #endif