#include <SharedModule.h>
|
template<BranchType BT = InEvent, typename... T> |
void | serialize (T const &...) |
|
template<BranchType BT = InEvent, typename... T> |
void | serializeExternal (T const &...) |
|
template<BranchType BT = InEvent> |
void | async () |
|
Definition at line 17 of file SharedModule.h.
art::detail::SharedModule::SharedModule |
( |
| ) |
|
art::detail::SharedModule::SharedModule |
( |
std::string const & |
moduleLabel | ) |
|
|
explicit |
template<BranchType BT = InEvent>
void art::detail::SharedModule::async |
( |
| ) |
|
|
inlineprotected |
Definition at line 36 of file SharedModule.h.
40 "async is currently supported only for the 'InEvent' level.");
void art::detail::SharedModule::createQueues |
( |
SharedResources const & |
resources | ) |
|
Definition at line 34 of file SharedModule.cc.
37 "An error occurred while processing scheduling options for a " 44 <<
"async<art::InEvent>() cannot be called in combination with any " 45 "serialize<art::InEvent>(...) calls.\n";
49 throw e <<
"Either 'async<art::InEvent>()' or " 50 "'serialize<art::InEvent>(...)'\n" 51 "must be called in a shared module's constructor.\n";
55 auto queues = resources.createQueues(
names);
56 chain_ = std::make_unique<SerialTaskQueueChain>(queues);
decltype(auto) constexpr cend(T &&obj)
ADL-aware version of std::cend.
std::set< std::string > resourceNames_
std::unique_ptr< hep::concurrency::SerialTaskQueueChain > chain_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
decltype(auto) constexpr cbegin(T &&obj)
ADL-aware version of std::cbegin.
static std::vector< std::string > const names
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
void art::detail::SharedModule::implicit_serialize |
( |
| ) |
|
|
private |
Definition at line 60 of file SharedModule.cc.
void serialize_for(std::string const &name)
template<BranchType BT = InEvent, typename... T>
void art::detail::SharedModule::serialize |
( |
T const & |
... | ) |
|
|
protected |
template<BranchType , typename... T>
void art::detail::SharedModule::serialize |
( |
T const &... |
resources | ) |
|
Definition at line 81 of file SharedModule.h.
void serialize_for_resource(T const &...t)
void art::detail::SharedModule::serialize_for |
( |
std::string const & |
name | ) |
|
|
private |
Definition at line 72 of file SharedModule.cc.
std::set< std::string > resourceNames_
template<typename... T>
void art::detail::SharedModule::serialize_for_external_resource |
( |
T const &... |
t | ) |
|
|
inlineprivate |
Definition at line 63 of file SharedModule.h.
65 static_assert(std::conjunction_v<std::is_same<std::string, T>...>);
66 if (
sizeof...(
t) == 0) {
void serialize_for(std::string const &name)
void implicit_serialize()
template<typename... T>
void art::detail::SharedModule::serialize_for_resource |
( |
T const &... |
t | ) |
|
|
inlineprivate |
Definition at line 50 of file SharedModule.h.
53 std::conjunction_v<std::is_same<detail::SharedResource_t, T>...>);
54 if (
sizeof...(
t) == 0) {
void serialize_for(std::string const &name)
void implicit_serialize()
template<BranchType BT = InEvent, typename... T>
void art::detail::SharedModule::serializeExternal |
( |
T const & |
... | ) |
|
|
protected |
template<BranchType , typename... T>
void art::detail::SharedModule::serializeExternal |
( |
T const &... |
resources | ) |
|
Definition at line 88 of file SharedModule.h.
void serialize_for_external_resource(T const &...t)
SerialTaskQueueChain * art::detail::SharedModule::serialTaskQueueChain |
( |
| ) |
const |
Definition at line 22 of file SharedModule.cc.
std::unique_ptr< hep::concurrency::SerialTaskQueueChain > chain_
std::set< std::string > const & art::detail::SharedModule::sharedResources |
( |
| ) |
const |
Definition at line 28 of file SharedModule.cc.
std::set< std::string > resourceNames_
bool art::detail::SharedModule::asyncDeclared_ {false} |
|
private |
std::unique_ptr<hep::concurrency::SerialTaskQueueChain> art::detail::SharedModule::chain_ {nullptr} |
|
private |
std::set<std::string> art::detail::SharedModule::resourceNames_ {} |
|
private |
The documentation for this class was generated from the following files: