DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
ConfigurationManagerOwner.hpp
Go to the documentation of this file.
1
9#ifndef APPFWK_SRC_CONFIGURATIONMANAGEROWNER_HPP_
10#define APPFWK_SRC_CONFIGURATIONMANAGEROWNER_HPP_
11
13
14#include <memory>
15#include <string>
16
17namespace dunedaq::appfwk {
18
26{
27public:
28 ConfigurationManagerOwner(std::string confimpl, std::string app_name, std::string session_name)
29 : m_config_mgr(std::make_shared<ConfigurationManager>(confimpl, app_name, session_name))
30 {
31 }
32
33 std::shared_ptr<ConfigurationManager> get_config_manager() const { return m_config_mgr; }
34
35private:
36 std::shared_ptr<ConfigurationManager> m_config_mgr;
37};
38
39} // namespace dunedaq::appfwk
40
41#endif // APPFWK_SRC_CONFIGURATIONMANAGEROWNER_HPP_
std::shared_ptr< ConfigurationManager > get_config_manager() const
ConfigurationManagerOwner(std::string confimpl, std::string app_name, std::string session_name)
std::shared_ptr< ConfigurationManager > m_config_mgr