Scarab  v1.6.1
Project 8 C++ Utility Library
global_config.hh
Go to the documentation of this file.
1 /*
2  * global_config.hh
3  *
4  * Created on: Aug 25, 2016
5  * Author: nsoblath
6  */
7 
8 #ifndef SCARAB_GLOBAL_CONFIG_HH_
9 #define SCARAB_GLOBAL_CONFIG_HH_
10 
11 #include "param.hh"
12 #include "singleton.hh"
13 
14 namespace scarab
15 {
16 
17  class global_config : public singleton< global_config >
18  {
19  public:
20  void set_config( const param_node& a_config );
21 
22  const param_node& retrieve() const;
23 
24  private:
26 
27  protected:
30  global_config();
32 
33  };
34 
35 } /* namespace scarab */
36 
37 #endif /* MIDGE_SCARAB_LIBRARY_PARAM_GLOBAL_CONFIG_HH_ */
const param_node & retrieve() const
void set_config(const param_node &a_config)