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/DataInput.h
10 #ifndef AesalonVisualizer_DataInput_H
11 #define AesalonVisualizer_DataInput_H
19 #include "comm/Packet.h"
20 #include "ArtisanWrapper.h"
21 #include "ArtisanManager.h"
23 namespace Visualizer
{
25 class DataInput
: public QThread
{ Q_OBJECT
27 QByteArray m_unprocessed
;
28 QHash
<uint32_t, uint32_t> m_processIDMap
;
29 ArtisanManager
*m_artisanManager
;
30 QHash
<ModuleID
, ArtisanWrapper
*> m_artisanMap
;
32 DataInput(ArtisanManager
*artisanManager
);
33 virtual ~DataInput() {}
35 void addData(QByteArray data
);
37 void processInformerPacket(Comm::Packet
*packet
);
40 } // namespace Visualizer