10#ifndef APPMODEL_INCLUDE_CONFIGURATIONHELPER_HPP_
11#define APPMODEL_INCLUDE_CONFIGURATIONHELPER_HPP_
28 class NetworkConnectionDescriptor;
52 std::vector<const confmodel::Service*>
get_services(std::string app_class,
53 std::string data_type);
63 std::vector<std::pair<std::string, const appmodel::NetworkConnectionDescriptor*>>
65 const std::string& data_type,
66 const std::string& app_class=
"");
81 std::map<std::string, std::vector<const SourceIDConf*>>
91 std::vector<std::string>
get_app_uids(std::string app_class=
"");
106 std::string app_class=
"");
123 std::map<std::string, std::map<std::string, const SourceIDConf*>>
ConfigurationHelper(const confmodel::Session *ses)
std::vector< std::string > get_app_uids(std::string app_class="")
Get list of uids of applications that match given type.
std::map< std::string, const SourceIDConf * > get_app_source_ids(std::string app_class="")
Get list of source ids for applications that match given type.
const confmodel::Session * m_session
std::map< std::string, std::map< std::string, const SourceIDConf * > > get_all_app_source_ids(std::string app_class="")
Get list of all source ids for applications that match given type. Follows any single value SourceIDC...
bool is_disabled(const conffwk::DalObject *item)
Check the enabled state of the given item.
std::map< std::string, std::vector< uint32_t > > get_stream_source_ids()
Get the source ids of all DetectorStreams in the Session.
bool is_enabled(const conffwk::DalObject *item)
Check the enabled state of the given item.
std::map< std::string, std::vector< const SourceIDConf * > > get_tp_source_ids()
Get the source ids of all the TP streams in all ReadoutApplications and TriggerApplications.
std::vector< const confmodel::Service * > get_services(std::string app_class, std::string data_type)
Get the exposed Services of all network connections with given data_type from all smart daq applicati...
std::vector< std::pair< std::string, const appmodel::NetworkConnectionDescriptor * > > get_netdescriptors(const std::string &data_type, const std::string &app_class="")
Get all NetworkConnectionDescriptors with given data_type from all applications of given type.
The base class for any generated DAL object.