4 #include "cetlib/container_algorithms.h" 5 #include "hep_concurrency/assert_only_one_thread.h" 12 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
13 cet::for_all(callbacks_,
14 [&tables](
auto const& callback) { callback(tables); });
20 HEP_CONCURRENCY_ASSERT_ONLY_ONE_THREAD();
21 callbacks_.push_back(cb);
void registerCallback(ProductListUpdatedCallback cb)
std::function< void(ProductTables const &)> ProductListUpdatedCallback
void invoke(ProductTables const &)