Alexandria
2.16
Please provide a description of the project.
Configuration
src
lib
Configuration.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012-2020 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
22
#include "
Configuration/Configuration.h
"
23
24
namespace
Euclid
{
25
namespace
Configuration {
26
27
Configuration::Configuration
(
long
manager_id) : m_manager_id{manager_id} {
28
}
29
30
std::map<std::string, Configuration::OptionDescriptionList>
Configuration::getProgramOptions() {
31
return
std::map<std::string, Configuration::OptionDescriptionList>
{};
32
}
33
34
void
Configuration::preInitialize(
const
UserValues
&) { }
35
36
void
Configuration::initialize(
const
UserValues
&) { }
37
38
void
Configuration::postInitialize(
const
UserValues
&) { }
39
40
const
std::set<std::type_index>
& Configuration::getDependencies() {
41
return
m_dependencies
;
42
}
43
44
Configuration::State
& Configuration::getCurrentState() {
45
return
m_state
;
46
}
47
48
Configuration::State
Configuration::getCurrentState()
const
{
49
return
m_state
;
50
}
51
}
// Configuration namespace
52
}
// Euclid namespace
53
54
55
Euclid::Configuration::Configuration
Superclass of all configuration classes.
Definition:
Configuration.h:45
std::map
STL class.
Euclid
Definition:
InstOrRefHolder.h:29
Euclid::Configuration::Configuration::m_state
State m_state
Definition:
Configuration.h:175
Euclid::Configuration::Configuration::m_dependencies
std::set< std::type_index > m_dependencies
Definition:
Configuration.h:174
std::set< std::type_index >
Configuration.h
Euclid::Configuration::Configuration::State
State
Defines the different states the configuration object can be in.
Definition:
Configuration.h:50
Generated by
1.8.15