Alexandria  2.18
Please provide a description of the 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 
24 namespace Euclid {
25 namespace Configuration {
26 
27 Configuration::Configuration(long manager_id) : m_manager_id{manager_id} {}
28 
31 }
32 
33 void Configuration::preInitialize(const UserValues&) {}
34 
35 void Configuration::initialize(const UserValues&) {}
36 
37 void Configuration::postInitialize(const UserValues&) {}
38 
39 const std::set<std::type_index>& Configuration::getDependencies() {
40  return m_dependencies;
41 }
42 
43 Configuration::State& Configuration::getCurrentState() {
44  return m_state;
45 }
46 
47 Configuration::State Configuration::getCurrentState() const {
48  return m_state;
49 }
50 } // namespace Configuration
51 } // namespace Euclid
Euclid::Configuration::Configuration::m_dependencies
std::set< std::type_index > m_dependencies
Definition: Configuration.h:171
Euclid::Configuration::Configuration::m_state
State m_state
Definition: Configuration.h:172
std::map
STL class.
Euclid::Configuration::Configuration::State
State
Defines the different states the configuration object can be in.
Definition: Configuration.h:49
Euclid::Configuration::Configuration
Superclass of all configuration classes.
Definition: Configuration.h:45
Euclid
Definition: InstOrRefHolder.h:29
std::set< std::type_index >
Configuration.h