roviz  0.7
Code Documentation of roviz
config.h
1 #ifndef CONFIG_H
2 #define CONFIG_H
3 
4 #include <memory>
5 #include "core/export_handling.h"
6 #include "config/config_storage_type.h"
7 #include "config/config_impl.h"
8 
19 template<typename T>
20 class ROVIZ_EXPORT Config
21 {
22 COPY_DELETE(Config<T>)
23 MOVE_DEFAULT(Config<T>)
24 
25 public:
29  Config() = default;
30  ~Config() = default;
31 
38  Config(ConfigImpl *impl);
39 
44  typename ConfigStorageType<T>::type value(void);
45 
51  bool changed(void);
52 
53 private:
54  std::unique_ptr<ConfigImpl> impl;
55 };
56 
57 #endif // CONFIG_H
Base class for all config implementations.
Definition: config_impl.h:11
Storage for the configuration of an item.
Definition: config.h:20