#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 |
( |
| ) |
|
|
default |
art::detail::SharedModule::~SharedModule |
( |
| ) |
|
|
default |
art::detail::SharedModule::SharedModule |
( |
std::string const & |
moduleLabel | ) |
|
|
explicit |
template<BranchType BT = InEvent>
void art::detail::SharedModule::async |
( |
| ) |
|
|
inlineprotected |
void art::detail::SharedModule::createQueues |
( |
SharedResources const & |
resources | ) |
|
Definition at line 34 of file SharedModule.cc.
References asyncDeclared_, util::cbegin(), util::cend(), chain_, art::detail::SharedResources::createQueues(), e, util::empty(), art::errors::LogicError, and resourceNames_.
Referenced by art::OutputModule::doBeginJob(), art::SharedFilter::setupQueues(), art::SharedProducer::setupQueues(), art::EDFilter::setupQueues(), art::SharedAnalyzer::setupQueues(), art::EDProducer::setupQueues(), and art::EDAnalyzer::setupQueues().
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.
decltype(auto) constexpr empty(T &&obj)
ADL-aware version of std::empty.
void art::detail::SharedModule::implicit_serialize |
( |
| ) |
|
|
private |
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 | ) |
|
void art::detail::SharedModule::serialize_for |
( |
std::string const & |
name | ) |
|
|
private |
template<typename... T>
void art::detail::SharedModule::serialize_for_external_resource |
( |
T const &... |
t | ) |
|
|
inlineprivate |
template<typename... T>
void art::detail::SharedModule::serialize_for_resource |
( |
T const &... |
t | ) |
|
|
inlineprivate |
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 | ) |
|
SerialTaskQueueChain * art::detail::SharedModule::serialTaskQueueChain |
( |
| ) |
const |
Definition at line 22 of file SharedModule.cc.
References chain_.
std::unique_ptr< hep::concurrency::SerialTaskQueueChain > chain_
std::set< std::string > const & art::detail::SharedModule::sharedResources |
( |
| ) |
const |
bool art::detail::SharedModule::asyncDeclared_ {false} |
|
private |
std::unique_ptr<hep::concurrency::SerialTaskQueueChain> art::detail::SharedModule::chain_ {nullptr} |
|
private |
std::string art::detail::SharedModule::moduleLabel_ {} |
|
private |
std::set<std::string> art::detail::SharedModule::resourceNames_ {} |
|
private |
The documentation for this class was generated from the following files: