#include <ProductResolvers.h>
Private Member Functions | |
void | prefetchAsync_ (WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const noexcept 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 390 of file ProductResolvers.h.
edm::SwitchProducerProductResolver::SwitchProducerProductResolver | ( | std::shared_ptr< BranchDescription const > | bd, |
DataManagingOrAliasProductResolver & | realProduct | ||
) |
Definition at line 764 of file ProductResolvers.cc.
|
finalprivatevirtualnoexcept |
Implements edm::ProductResolverBase.
Definition at line 778 of file ProductResolvers.cc.
References edm::ParentContext::isAtEndTransition(), edm::make_waiting_task(), and edm::ModuleCallingContext::parent().
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 829 of file ProductResolvers.cc.
References edm::ProductResolverBase::productUnavailable(), edm::SwitchBaseProductResolver::realProduct(), edm::DataManagingProductResolver::ResolveFailed, and status_.
|
finalprivatevirtual |
Implements edm::ProductPutterBase.
Definition at line 813 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 837 of file ProductResolvers.cc.
References defaultStatus_, edm::SwitchBaseProductResolver::resetProductData_(), and status_.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 768 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 407 of file ProductResolvers.h.
|
staticprivate |
Definition at line 411 of file ProductResolvers.h.
Referenced by putProduct(), and resetProductData_().
|
mutableprivate |
Definition at line 416 of file ProductResolvers.h.
Referenced by productUnavailable_(), putProduct(), resetProductData_(), and resolveProduct_().