@@ -84,7 +84,8 @@ namespace dunedaq::appmodel {
8484
8585 // / @brief Get list of uids of applications that match given type
8686 // /
87- // / @param app_class Class of applications to match
87+ // / @param app_class Class name to select applications by. Empty
88+ // / string implies no selection by class
8889 // /
8990 // / @returns A vector of uids of matching applications
9091 std::vector<std::string> get_app_uids (std::string app_class=" " );
@@ -93,6 +94,13 @@ namespace dunedaq::appmodel {
9394 // / @brief Get list of source ids for applications that match
9495 // / given type
9596 // /
97+ // / Gather the content of the SmartDaqApplication::source_id
98+ // / relationship for all enabled SmartDaqApplications (or those
99+ // / that match the given class)
100+ // /
101+ // / @param app_class Class name to select applications by. Empty
102+ // / string implies no selection by class
103+ // /
96104 // / @returns A map of application uids to application source ids
97105 std::map<std::string, const SourceIDConf*> get_app_source_ids (
98106 std::string app_class=" " );
@@ -101,8 +109,15 @@ namespace dunedaq::appmodel {
101109 // / @brief Get list of all source ids for applications that match
102110 // / given type. Follows any single value SourceIDConf relationship
103111 // /
112+ // / Examine all relationships of applications checking for type
113+ // / SourceIDConf generating a map of relationship name to
114+ // / SourceIDConf object pointers
115+ // /
104116 // / NB: Does not look at multi-value SourceIDConf relationships
105117 // /
118+ // / @param app_class Class name to select applications by. Empty
119+ // / string implies no selection by class
120+ // /
106121 // / @returns A map of application uids to maps relationship to contained
107122 // / source ids
108123 std::map<std::string, std::map<std::string, const SourceIDConf*>>
@@ -111,13 +126,17 @@ namespace dunedaq::appmodel {
111126
112127 // / @brief Check the enabled state of the given item
113128 // /
129+ // / @param item The item to be checked.
130+ // /
114131 // / @returns True if the object is not disabled
115132 inline bool is_enabled (const conffwk::DalObject* item) {
116133 return !is_disabled (item);
117134 }
118135
119136 // / @brief Check the enabled state of the given item
120137 // /
138+ // / @param item The item to be checked.
139+ // /
121140 // / @returns True if the object is disabled
122141 bool is_disabled (const conffwk::DalObject* item);
123142
0 commit comments