Improved the Artisan system enough to create artisan viewports.
[aesalon.git] / include / visualizer / ArtisanManager.h
blob8badbd0edc01dc43ca5a15394a2aafd3f100b8da
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 : 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(ArtisanWrapper *artisan);
38 } // namespace Visualizer
40 #endif