39 ActionPlanValidationFailed,
40 "
Error validating action plan " << cmd << ", module " << module << ": " << message,
41 ((
std::
string)cmd)((
std::
string)module)((
std::
string)message))
45class ConfigurationManager
48 ConfigurationManager(std::string& config_spec, std::string& app_name, std::string& session_name);
58 const std::vector<const confmodel::Queue*>& queues()
63 const std::vector<const confmodel::NetworkConnection*>& networkconnections()
66 return m_networkconnections;
68 const std::vector<const confmodel::DaqModule*>& modules()
76 return m_connsvc_config;
79 const std::unordered_map<std::string, const confmodel::ActionPlan*>& action_plans()
82 return m_action_plans;
87 const T* get_dal(
const std::string& name)
89 return m_confdb->get<T>(name);
93 std::shared_ptr<conffwk::Configuration> m_confdb;
94 std::string m_app_name;
95 std::string m_session_name;
96 std::string m_oks_config_spec;
100 std::unordered_map<std::string, const confmodel::ActionPlan*> m_action_plans;
101 std::vector<const confmodel::DaqModule*> m_modules;
102 std::vector<const confmodel::Queue*> m_queues;
103 std::vector<const confmodel::NetworkConnection*> m_networkconnections;
106 bool m_initialized{
false };