Project
Loading...
Searching...
No Matches
ConfigurationOptionsRetriever.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
#ifndef O2_FRAMEWORK_CONFIGURATIONOPTIONSRETRIEVER_H_
12
#define O2_FRAMEWORK_CONFIGURATIONOPTIONSRETRIEVER_H_
13
14
#include "
Framework/ParamRetriever.h
"
15
#include "
Framework/ConfigParamSpec.h
"
16
17
#include <boost/property_tree/ptree_fwd.hpp>
18
19
#include <string>
20
#include <vector>
21
22
namespace
o2::configuration
23
{
24
class
ConfigurationInterface
;
25
}
26
27
namespace
o2::framework
28
{
29
31
class
ConfigurationOptionsRetriever
:
public
ParamRetriever
32
{
33
public
:
34
ConfigurationOptionsRetriever
(configuration::ConfigurationInterface* cfg,
35
std::string
const
& mainKey);
36
void
update
(std::vector<ConfigParamSpec>
const
& schema,
37
boost::property_tree::ptree& store,
38
boost::property_tree::ptree& provenance)
override
;
39
40
private
:
41
configuration::ConfigurationInterface* mCfg;
42
std::string mMainKey;
43
};
44
45
}
// namespace o2::framework
46
#endif
// O2_FRAMEWORK_CONFIGURATIONOPTIONSRETRIEVER_H_
ConfigParamSpec.h
ConfigurationInterface
o2::configuration::ConfigurationInterface ConfigurationInterface
Definition
DataProcessingDevice.cxx:96
ParamRetriever.h
o2::framework::ConfigurationOptionsRetriever
ParamRetriever which uses AliceO2Group/Configuration to get the options.
Definition
ConfigurationOptionsRetriever.h:32
o2::framework::ConfigurationOptionsRetriever::update
void update(std::vector< ConfigParamSpec > const &schema, boost::property_tree::ptree &store, boost::property_tree::ptree &provenance) override
Definition
ConfigurationOptionsRetriever.cxx:41
o2::framework::ParamRetriever
Definition
ParamRetriever.h:25
o2::configuration
Definition
ConfigurationOptionsRetriever.h:23
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
Framework
Core
src
ConfigurationOptionsRetriever.h
Generated on Tue Feb 25 2025 23:16:39 for Project by
1.9.8