![]() |
Project
|
#include <ConfigParamStore.h>
Public Member Functions | |
ConfigParamStore (std::vector< ConfigParamSpec > const &specs, std::vector< std::unique_ptr< ParamRetriever > > retrievers) | |
void | preload () |
void | load (std::vector< ConfigParamSpec > &specs) |
boost::property_tree::ptree & | store () |
Get the store. | |
boost::property_tree::ptree & | provenanceTree () |
std::vector< ConfigParamSpec > const & | specs () const |
Get the specs. | |
void | activate () |
Activate the next store. | |
std::string | provenance (const char *) const |
This provides unified store for the parameters specified in the ConfigParamSpecs. This provides only the store, not the actual API to access it. Notice how the loading of the data is done in to steps, to allow doing a diff between the old and the new configuration.
Definition at line 27 of file ConfigParamStore.h.
o2::framework::ConfigParamStore::ConfigParamStore | ( | std::vector< ConfigParamSpec > const & | specs, |
std::vector< std::unique_ptr< ParamRetriever > > | retrievers | ||
) |
Definition at line 20 of file ConfigParamStore.cxx.
void o2::framework::ConfigParamStore::activate | ( | ) |
Activate the next store.
Definition at line 56 of file ConfigParamStore.cxx.
void o2::framework::ConfigParamStore::load | ( | std::vector< ConfigParamSpec > & | specs | ) |
Definition at line 44 of file ConfigParamStore.cxx.
void o2::framework::ConfigParamStore::preload | ( | ) |
Preload the next store with a new copy of the configuration.
Definition at line 33 of file ConfigParamStore.cxx.
std::string o2::framework::ConfigParamStore::provenance | ( | const char * | key | ) | const |
Definition at line 62 of file ConfigParamStore.cxx.
|
inline |
Definition at line 41 of file ConfigParamStore.h.
|
inline |
Get the specs.
Definition at line 44 of file ConfigParamStore.h.
|
inline |
Get the store.
Definition at line 40 of file ConfigParamStore.h.