Free Electron
PaletteMap.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __architecture_PaletteMap_h__
8 #define __architecture_PaletteMap_h__
9 
10 #include "fe/data.h"
11 namespace fe
12 {
13 namespace ext
14 {
15 
16 class PaletteMap :
17  virtual public PaletteI
18 {
19  public:
20  PaletteMap(void);
21 virtual ~PaletteMap(void);
22 virtual void set(const String &a_name, sp<Component> spCmp);
23 virtual sp<Component> get(const String &a_name);
24 virtual void remove(const String &a_name);
25 
26  private:
27  std::map<String, sp<Component> > m_map;
28 };
29 
30 } /* namespace ext */
31 } /* namespace fe */
32 
33 #endif /* __architecture_PaletteMap_h__ */
kernel
Definition: namespace.dox:3