#include <ProductResolvers.h>
Private Member Functions | |
void | prefetchAsync_ (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final |
bool | productUnavailable_ () const final |
void | putProduct_ (std::unique_ptr< WrapperBase > edp) const final |
void | resetProductData_ (bool deleteEarly) final |
Resolution | resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final |
bool | unscheduledWasNotRun_ () const final |
Private Attributes | |
ProductStatus | status_ |
Static Private Attributes | |
constexpr static const ProductStatus | defaultStatus_ = ProductStatus::NotPut |
Additional Inherited Members | |
Public Types inherited from edm::SwitchBaseProductResolver | |
using | ProductStatus = DataManagingProductResolver::ProductStatus |
Protected Member Functions inherited from edm::SwitchBaseProductResolver | |
std::atomic< bool > & | prefetchRequested () const |
DataManagingOrAliasProductResolver const & | realProduct () const |
Resolution | resolveProductImpl (Resolution) const |
void | unsafe_setWrapperAndProvenance () const |
WaitingTaskList & | waitingTasks () const |
Worker * | worker () const |
Definition at line 317 of file ProductResolvers.h.
edm::SwitchProducerProductResolver::SwitchProducerProductResolver | ( | std::shared_ptr< BranchDescription const > | bd, |
DataManagingOrAliasProductResolver & | realProduct | ||
) |
Definition at line 681 of file ProductResolvers.cc.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 695 of file ProductResolvers.cc.
References edm::WaitingTaskList::add(), edm::ProductResolverBase::branchDescription(), edm::Worker::callWhenDoneAsync(), edm::WaitingTaskList::doneWaiting(), edm::ParentContext::isAtEndTransition(), edm::make_waiting_task(), edm::ModuleCallingContext::parent(), edm::SwitchBaseProductResolver::prefetchRequested(), edm::SwitchBaseProductResolver::unsafe_setWrapperAndProvenance(), edm::SwitchBaseProductResolver::waitingTasks(), and edm::SwitchBaseProductResolver::worker().
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 746 of file ProductResolvers.cc.
References edm::ProductResolverBase::productUnavailable(), edm::SwitchBaseProductResolver::realProduct(), edm::DataManagingProductResolver::ResolveFailed, and status_.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 730 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::BranchDescription::branchName(), defaultStatus_, edm::WaitingTaskList::doneWaiting(), Exception, edm::errors::InsertFailure, edm::SwitchBaseProductResolver::prefetchRequested(), edm::DataManagingProductResolver::ResolveFailed, status_, edm::SwitchBaseProductResolver::unsafe_setWrapperAndProvenance(), and edm::SwitchBaseProductResolver::waitingTasks().
|
finalprivatevirtual |
Reimplemented from edm::SwitchBaseProductResolver.
Definition at line 754 of file ProductResolvers.cc.
References defaultStatus_, edm::SwitchBaseProductResolver::resetProductData_(), and status_.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 685 of file ProductResolvers.cc.
References edm::SwitchBaseProductResolver::realProduct(), Resolution, edm::DataManagingProductResolver::ResolveFailed, edm::ProductResolverBase::resolveProduct(), edm::SwitchBaseProductResolver::resolveProductImpl(), and status_.
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 334 of file ProductResolvers.h.
|
staticconstexprprivate |
Definition at line 338 of file ProductResolvers.h.
Referenced by putProduct_(), and resetProductData_().
|
mutableprivate |
Definition at line 343 of file ProductResolvers.h.
Referenced by productUnavailable_(), putProduct_(), resetProductData_(), and resolveProduct_().