Alexandria 2.25.0
SDC-CH common library for the Euclid project
Configuration.cpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2012-2021 Euclid Science Ground Segment
3 *
4 * This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
5 * Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option)
6 * any later version.
7 *
8 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
9 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
10 * details.
11 *
12 * You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to
13 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
14 */
15
23
24namespace Euclid {
25namespace Configuration {
26
27Configuration::Configuration(long manager_id) : m_manager_id{manager_id} {}
28
31}
32
33void Configuration::preInitialize(const UserValues&) {}
34
35void Configuration::initialize(const UserValues&) {}
36
37void Configuration::postInitialize(const UserValues&) {}
38
39const std::set<std::type_index>& Configuration::getDependencies() {
40 return m_dependencies;
41}
42
43Configuration::State& Configuration::getCurrentState() {
44 return m_state;
45}
46
47Configuration::State Configuration::getCurrentState() const {
48 return m_state;
49}
50} // namespace Configuration
51} // namespace Euclid
Superclass of all configuration classes.
Definition: Configuration.h:45
std::set< std::type_index > m_dependencies
State
Defines the different states the configuration object can be in.
Definition: Configuration.h:49