38 ActionPlanValidationFailed,
39 "Action plan validation
failed: " << cmd << ", module " << module << ": " << message,
40 ((
std::
string)cmd)((
std::
string)module)((
std::
string)message))
44class ConfigurationManager
47 ConfigurationManager(std::string
const& config_spec, std::string
const& app_name, std::string
const& session_name);
57 const std::vector<const confmodel::Queue*>& queues()
62 const std::vector<const confmodel::NetworkConnection*>& networkconnections()
65 return m_networkconnections;
67 const std::vector<const confmodel::DaqModule*>& modules()
75 return m_connsvc_config;
78 const std::unordered_map<std::string, const confmodel::ActionPlan*>& action_plans()
81 return m_action_plans;
86 const T* get_dal(
const std::string& name)
88 return m_confdb->get<T>(name);
92 std::shared_ptr<conffwk::Configuration> m_confdb;
93 std::string m_app_name;
94 std::string m_session_name;
95 std::string m_oks_config_spec;
99 std::unordered_map<std::string, const confmodel::ActionPlan*> m_action_plans;
100 std::vector<const confmodel::DaqModule*> m_modules;
101 std::vector<const confmodel::Queue*> m_queues;
102 std::vector<const confmodel::NetworkConnection*> m_networkconnections;
105 bool m_initialized{
false };