LoveBrains  1.0.0
config_manager.h
1 /*
2 ** config_manager.h for LoveBrains in /home/robin_f/Programming/Git/CPP/LoveBrains
3 **
4 ** Made by Guillaume ROBIN
5 ** Login <robin_f@epitech.eu>
6 **
7 ** Started on Fri Jul 31 11:39:48 2015 Guillaume ROBIN
8 ** Last update Fri Aug 21 05:39:15 2015 Guillaume ROBIN
9 */
10 
11 #ifndef CONFIG_MANAGER_H_
12 # define CONFIG_MANAGER_H_
13 
14 # include "Simulator/simulator_config.h"
15 
16 namespace App
17 {
22  {
23  public:
27  ConfigManager(void);
31  ~ConfigManager(void);
32 
33  /*
34  ** Getters.
35  */
36 
41  Simulator::SConfig const& getConfiguration(void) const;
42 
43  /*
44  ** Methods.
45  */
46 
51  void getConfigFromFile(const char *path);
52 
53  private:
54  Simulator::SConfig _config;
55  };
56 }
57 
58 #endif /* !CONFIG_MANAGER_H_ */
Simulator::SConfig const & getConfiguration(void) const
Get the configuration object of class "SConfig".
Definition: config_manager.cc:53
Contains all the tools which compose the application.
Definition: app.h:27
Manage the configuration of the simulator and the engines.
Definition: config_manager.h:21
Manage the configuration of the simulator.
Definition: simulator_config.h:26
void getConfigFromFile(const char *path)
Get the configuration of the simulator from a file.
Definition: config_manager.cc:89
~ConfigManager(void)
Destructor.
Definition: config_manager.cc:46
ConfigManager(void)
Constructor.
Definition: config_manager.cc:42