Kind-of worked on the R-Tree; not really enough time to do much.
[aesalon.git] / include / visualizer / ArtisanManager.h
blob450cc377d182f28aa213da054e769b7c3e3ecb2a
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/ArtisanManager.h
8 */
10 #ifndef AesalonVisualizer_ArtisanManager_H
11 #define AesalonVisualizer_ArtisanManager_H
13 #include <string>
14 #include <QHash>
15 #include <QObject>
16 #include <QList>
18 #include "ArtisanWrapper.h"
20 namespace Visualizer {
22 class ArtisanManager : public QObject { Q_OBJECT
23 protected:
24 typedef QHash<std::string, ArtisanWrapper *> ArtisanHash;
25 private:
26 ArtisanHash m_artisanHash;
27 public:
28 ArtisanManager();
29 ~ArtisanManager();
31 ArtisanWrapper *artisan(const std::string &name);
33 QList<std::string> artisanList();
34 signals:
35 void newArtisan(std::string name);
38 } // namespace Visualizer
40 #endif