#include <ProductResolvers.h>
Private Member Functions | |
void | prefetchAsync_ (WaitingTaskHolder 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 | |
static constexpr 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 359 of file ProductResolvers.h.
edm::SwitchProducerProductResolver::SwitchProducerProductResolver | ( | std::shared_ptr< BranchDescription const > | bd, |
DataManagingOrAliasProductResolver & | realProduct | ||
) |
Definition at line 678 of file ProductResolvers.cc.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 692 of file ProductResolvers.cc.
References edm::WaitingTaskList::add(), edm::ProductResolverBase::branchDescription(), edm::Worker::callWhenDoneAsync(), edm::WaitingTaskList::doneWaiting(), edm::WaitingTaskHolder::group(), 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 743 of file ProductResolvers.cc.
References edm::ProductResolverBase::productUnavailable(), edm::SwitchBaseProductResolver::realProduct(), edm::DataManagingProductResolver::ResolveFailed, and status_.
|
finalprivatevirtual |
Implements edm::ProductPutterBase.
Definition at line 727 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 751 of file ProductResolvers.cc.
References defaultStatus_, edm::SwitchBaseProductResolver::resetProductData_(), and status_.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 682 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 376 of file ProductResolvers.h.
|
staticprivate |
Definition at line 380 of file ProductResolvers.h.
Referenced by putProduct(), and resetProductData_().
|
mutableprivate |
Definition at line 385 of file ProductResolvers.h.
Referenced by productUnavailable_(), putProduct(), resetProductData_(), and resolveProduct_().