Continued working on various aspects of the process-launching system.
[aesalon.git] / include / monitor / config / Group.h
blob9d1afaf17c5b5fdf9300c1d6194d412cfb6d8b73
1 /**
2 Aesalon, a tool to visualize a program's behaviour at run-time.
3 Copyright (C) 2010, Aesalon Development Team.
5 Aesalon is distributed under the terms of the GNU GPLv3. For more
6 licensing information, see the file LICENSE included with the distribution.
8 @file include/monitor/config/Group.h
12 #ifndef AesalonMonitor_Config_Group_H
13 #define AesalonMonitor_Config_Group_H
15 #include <string>
16 #include <map>
18 #include "Item.h"
20 namespace Monitor {
21 namespace Config {
23 class Group {
24 public:
25 typedef std::map<std::string, Item *> ItemMap;
26 private:
27 ItemMap m_itemMap;
28 public:
29 Group();
30 ~Group();
32 const ItemMap &itemMap() const { return m_itemMap; }
34 void addItem(Item *item);
35 Item *item(const std::string &name);
36 Item *getItem(const std::string &name);
39 } // namespace Config
40 } // namespace Monitor
42 #endif