Renamed Interface to Monitor, since it's no longer the gdb interface . . .
[aesalon.git] / src / monitor / dwarf / EntryManager.h
blobaf7f4440a0af09c63032e2bb7d182b24a8eb0587
1 #ifndef AESALON_MONITOR_DWARF_ENTRY_MANAGER_H
2 #define AESALON_MONITOR_DWARF_ENTRY_MANAGER_H
4 #include <string>
5 #include <vector>
7 #include "Entry.h"
8 #include "misc/SmartPointer.h"
10 namespace Aesalon {
11 namespace Monitor {
12 namespace DWARF {
14 class EntryManager {
15 public:
16 typedef std::vector<Misc::SmartPointer<Entry> > entry_list_t;
17 Misc::SmartPointer<Entry> head;
18 private:
19 entry_list_t entry_list;
20 public:
21 EntryManager();
22 virtual ~EntryManager() {}
24 Misc::SmartPointer<Entry> get_entry(EntryID id) const;
25 Misc::SmartPointer<Entry> get_entry(std::string name) const;
26 Misc::SmartPointer<Entry> get_head() const { return head; }
29 } // namespace DWARF
30 } // namespace Monitor
31 } // namespace Aesalon
33 #endif