41 ActionPlanValidationFailed,
42 "Action plan validation
failed: " << cmd << ", module " << module << ": " << message,
43 ((
std::
string)cmd)((
std::
string)module)((
std::
string)message))
48class ConfigurationManager
51 ConfigurationManager(std::string
const& config_spec, std::string
const& app_name, std::string
const& session_name);
52 std::vector<ValidationReport>
initialize(
bool throw_on_fatal =
true);
61 const std::vector<const confmodel::Queue*>& get_queues()
66 const std::vector<const confmodel::NetworkConnection*>& get_networkconnections()
69 return m_networkconnections;
71 const std::vector<const confmodel::DaqModule*>& get_modules()
79 return m_connsvc_config;
82 const std::unordered_map<std::string, const confmodel::ActionPlan*>& get_action_plans()
85 return m_action_plans;
90 const T* get_dal(
const std::string& name)
92 return m_confdb->get<T>(name);
95 std::string get_app_name()
const {
return m_app_name; }
98 std::shared_ptr<conffwk::Configuration> m_confdb;
99 std::string m_app_name;
100 std::string m_session_name;
104 std::unordered_map<std::string, const confmodel::ActionPlan*> m_action_plans;
105 std::vector<const confmodel::DaqModule*> m_modules;
106 std::vector<const confmodel::Queue*> m_queues;
107 std::vector<const confmodel::NetworkConnection*> m_networkconnections;
110 bool m_initialized{
false };