Project
Loading...
Searching...
No Matches
o2::framework::ConfigParamStore Class Reference

#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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConfigParamStore()

o2::framework::ConfigParamStore::ConfigParamStore ( std::vector< ConfigParamSpec > const &  specs,
std::vector< std::unique_ptr< ParamRetriever > >  retrievers 
)

Definition at line 20 of file ConfigParamStore.cxx.

Member Function Documentation

◆ activate()

void o2::framework::ConfigParamStore::activate ( )

Activate the next store.

Definition at line 56 of file ConfigParamStore.cxx.

◆ load()

void o2::framework::ConfigParamStore::load ( std::vector< ConfigParamSpec > &  specs)

Definition at line 44 of file ConfigParamStore.cxx.

◆ preload()

void o2::framework::ConfigParamStore::preload ( )

Preload the next store with a new copy of the configuration.

Definition at line 33 of file ConfigParamStore.cxx.

◆ provenance()

std::string o2::framework::ConfigParamStore::provenance ( const char key) const

Definition at line 62 of file ConfigParamStore.cxx.

◆ provenanceTree()

boost::property_tree::ptree & o2::framework::ConfigParamStore::provenanceTree ( )
inline

Definition at line 41 of file ConfigParamStore.h.

◆ specs()

std::vector< ConfigParamSpec > const & o2::framework::ConfigParamStore::specs ( ) const
inline

Get the specs.

Definition at line 44 of file ConfigParamStore.h.

◆ store()

boost::property_tree::ptree & o2::framework::ConfigParamStore::store ( )
inline

Get the store.

Definition at line 40 of file ConfigParamStore.h.


The documentation for this class was generated from the following files: