EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
FileConfig.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CONFIG_FILECONFIG_HPP_
2 #define ORG_EEROS_CONFIG_FILECONFIG_HPP_
3 
5 
6 namespace eeros {
7  namespace config {
8 
14  class FileConfig : public Config {
15  public:
20  FileConfig(const char *path = nullptr);
24  virtual ~FileConfig();
25 
31  virtual bool save(const char *path = nullptr);
37  virtual bool load(const char *path = nullptr);
38 
39  static constexpr int buffer_size = 256;
40  };
41  };
42 };
43 
44 #endif // ORG_EEROS_CONFIG_FILECONFIG_HPP_
virtual bool load(const char *path=nullptr)
Definition: FileConfig.cpp:44
virtual ~FileConfig()
Definition: FileConfig.cpp:21
FileConfig(const char *path=nullptr)
Definition: FileConfig.cpp:19
Configuration saved to and loaded from file.
Definition: FileConfig.hpp:14
virtual bool save(const char *path=nullptr)
Definition: FileConfig.cpp:23
Definition: Config.hpp:14
Configuration.
Definition: Config.hpp:35
const char * path
Definition: Config.hpp:74
static constexpr int buffer_size
Definition: FileConfig.hpp:39