Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
2c9d2b15
Commit
2c9d2b15
authored
Dec 18, 2018
by
Simon Spannagel
Browse files
Module: allow retrieval of configuration
parent
e6890155
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/module/Module.cpp
View file @
2c9d2b15
...
...
@@ -78,3 +78,7 @@ bool Module::has_detector(std::string name) {
}
return
true
;
}
Configuration
&
Module
::
get_configuration
()
{
return
m_config
;
}
src/core/module/Module.hpp
View file @
2c9d2b15
...
...
@@ -123,7 +123,11 @@ namespace corryvreckan {
TDirectory
*
getROOTDirectory
()
const
;
protected:
// Configuration of this module
/**
* @brief Get the module configuration for internal use
* @return Configuration of the module
*/
Configuration
&
get_configuration
();
Configuration
m_config
;
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment