42 ActionPlanValidationFailed,
43 "Action plan validation
failed: " << cmd << ", module " << module << ": " << message,
44 ((
std::
string)cmd)((
std::
string)module)((
std::
string)message))
49class ConfigurationManager
52 ConfigurationManager(std::string
const& config_spec, std::string
const& app_name, std::string
const& session_name);
53 std::vector<ValidationReport>
initialize(
bool throw_on_fatal =
true);
62 const std::vector<const confmodel::Queue*>& get_queues()
67 const std::vector<const confmodel::NetworkConnection*>& get_networkconnections()
70 return m_networkconnections;
72 const std::vector<const confmodel::DaqModule*>& get_modules()
80 return m_connsvc_config;
83 const std::unordered_map<std::string, const confmodel::ActionPlan*>& get_action_plans()
86 return m_action_plans;
91 const T* get_dal(
const std::string& name)
93 return m_confdb->get<T>(name);
96 std::string get_app_name()
const {
return m_app_name; }
99 std::shared_ptr<conffwk::Configuration> m_confdb;
100 std::shared_ptr<appmodel::ConfigurationHelper> m_helper;
101 std::string m_app_name;
102 std::string m_session_name;
106 std::unordered_map<std::string, const confmodel::ActionPlan*> m_action_plans;
107 std::vector<const confmodel::DaqModule*> m_modules;
108 std::vector<const confmodel::Queue*> m_queues;
109 std::vector<const confmodel::NetworkConnection*> m_networkconnections;
112 bool m_initialized{
false };