38 std::vector<const confmodel::DaqModule*> modules;
40 std::string snbBookkeeperUid(
"snb-sample-config-" +
UID());
41 TLOG_DEBUG(7) <<
"creating OKS configuration object for SNBBookkeeperModule class ";
42 auto snbBookkeeperObj = obj_fac.
create(
"SNBTransferBookkeeper", snbBookkeeperUid);
45 snbBookkeeperObj.set_obj(
"configuration", &snbBookkeeperConf->config_object());
47 if (snbBookkeeperConf == 0) {
48 throw(BadConf(
ERS_HERE,
"No SNBBookkeeperConf configuration given"));
51 std::vector<const conffwk::ConfigObject*> input_conns;
55 auto endpoint_class = rule->get_endpoint_class();
56 auto descriptor = rule->get_descriptor();
60 if (descriptor->get_data_type() ==
"notification_t") {
61 notificationInObj = connObj;
62 input_conns.push_back(¬ificationInObj);
66 if (notificationInObj ==
nullptr) {
67 throw(BadConf(
ERS_HERE,
"No Notification input connection descriptor given"));
70 snbBookkeeperObj.set_objs(
"inputs", input_conns);