HOPS
HOPS class reference
MHO_ParameterManager.hh
Go to the documentation of this file.
1 #ifndef MHO_ParameterManager_HH__
2 #define MHO_ParameterManager_HH__
3 
5 
6 namespace hops
7 {
8 
18 {
19  public:
20  MHO_ParameterManager(MHO_ParameterStore* pstore, const mho_json& control_format)
21  : fDefaultParameterConfig(pstore, control_format)
22  {
23  fFormat = control_format;
24  };
25 
26  virtual ~MHO_ParameterManager(){};
27 
33  void SetControlStatements(mho_json* statements) { fControl = statements; };
34 
38  void ConfigureAll();
39 
40  private:
41  mho_json* fControl;
42 
43  mho_json fFormat;
44  MHO_ParameterConfigurator fDefaultParameterConfig;
45 };
46 
47 } // namespace hops
48 
49 #endif
nlohmann::json mho_json
Definition: MHO_JSONHeaderWrapper.hh:5
some control statements simply trigger a parameter value to be set to a certain value,...
Definition: MHO_ParameterConfigurator.hh:24
Manager class for the MHO_ParameterConfigurator.
Definition: MHO_ParameterManager.hh:18
MHO_ParameterManager(MHO_ParameterStore *pstore, const mho_json &control_format)
Definition: MHO_ParameterManager.hh:20
void ConfigureAll()
Configures all control file set parameters by iterating through control statements and processing par...
Definition: MHO_ParameterManager.cc:6
virtual ~MHO_ParameterManager()
Definition: MHO_ParameterManager.hh:26
void SetControlStatements(mho_json *statements)
Setter for control statements.
Definition: MHO_ParameterManager.hh:33
Class MHO_ParameterStore.
Definition: MHO_ParameterStore.hh:52
Definition: MHO_ChannelLabeler.hh:17