#include <ProductResolvers.h>
Public Types | |
using | ProductStatus = DataManagingProductResolver::ProductStatus |
Protected Member Functions | |
std::atomic< bool > & | prefetchRequested () const |
DataManagingOrAliasProductResolver const & | realProduct () const |
Resolution | resolveProductImpl (Resolution) const |
ProductStatus | status () const |
WaitingTaskList & | waitingTasks () const |
Worker * | worker () const |
Private Member Functions | |
BranchDescription const & | branchDescription_ () const final |
ProductProvenance const * | productProvenancePtr_ () const final |
bool | productResolved_ () const final |
bool | productWasDeleted_ () const final |
bool | productWasFetchedAndIsValid_ (bool iSkipCurrentProcess) const final |
Provenance const * | provenance_ () const final |
void | putOrMergeProduct_ (std::unique_ptr< WrapperBase > edp, MergeableRunProductMetadata const *mergeableRunProductMetadata) const final |
void | putProduct_ (std::unique_ptr< WrapperBase > edp) const final |
void | resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd) final |
void | resetProductData_ (bool deleteEarly) final |
std::string const & | resolvedModuleLabel_ () const final |
void | setProcessHistory_ (ProcessHistory const &ph) final |
void | setProvenance_ (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) final |
bool | singleProduct_ () const final |
Private Attributes | |
ParentageID | parentageID_ |
std::atomic< bool > | prefetchRequested_ |
ProductData | productData_ |
DataManagingOrAliasProductResolver & | realProduct_ |
ProductStatus | status_ |
WaitingTaskList | waitingTasks_ |
Worker * | worker_ = nullptr |
Static Private Attributes | |
static constexpr const ProductStatus | defaultStatus_ = ProductStatus::NotPut |
Definition at line 265 of file ProductResolvers.h.
Definition at line 267 of file ProductResolvers.h.
edm::SwitchBaseProductResolver::SwitchBaseProductResolver | ( | std::shared_ptr< BranchDescription const > | bd, |
DataManagingOrAliasProductResolver & | realProduct | ||
) |
Definition at line 601 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::Parentage::id(), edm::ParentageRegistry::insertMapped(), edm::ParentageRegistry::instance(), edm::BranchDescription::originalBranchID(), AlCaHLTBitMon_ParallelJobs::p, parentageID_, and edm::Parentage::setParents().
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 291 of file ProductResolvers.h.
|
finalvirtual |
Implements edm::ProductResolverBase.
Definition at line 611 of file ProductResolvers.cc.
References Exception, and edm::errors::LogicError.
|
inlineprotected |
Definition at line 280 of file ProductResolvers.h.
References edm::ProductResolverBase::productResolved_().
Referenced by edm::SwitchProducerProductResolver::prefetchAsync_().
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 304 of file ProductResolvers.h.
References edm::Provenance::productProvenance(), edm::ProductResolverBase::provenance(), and edm::DataManagingOrAliasProductResolver::resetProductData_().
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 629 of file ProductResolvers.cc.
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 284 of file ProductResolvers.h.
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 285 of file ProductResolvers.h.
References edm::ProductResolverBase::putOrMergeProduct_(), and edm::ProductResolverBase::putProduct_().
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 298 of file ProductResolvers.h.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 652 of file ProductResolvers.cc.
References Exception, and edm::errors::LogicError.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 637 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::BranchDescription::branchName(), defaultStatus_, edm::WaitingTaskList::doneWaiting(), Exception, edm::errors::InsertFailure, prefetchRequested_, edm::DataManagingProductResolver::ResolveFailed, status_, and waitingTasks_.
|
inlineprotected |
Definition at line 279 of file ProductResolvers.h.
Referenced by edm::SwitchAliasProductResolver::prefetchAsync_(), edm::SwitchProducerProductResolver::productUnavailable_(), edm::SwitchProducerProductResolver::resolveProduct_(), and edm::SwitchAliasProductResolver::resolveProduct_().
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 295 of file ProductResolvers.h.
|
finalprivatevirtual |
Implements edm::DataManagingOrAliasProductResolver.
Definition at line 668 of file ProductResolvers.cc.
References defaultStatus_, productData_, realProduct_, edm::ProductData::resetProductData(), edm::DataManagingOrAliasProductResolver::resetProductData_(), and status_.
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 299 of file ProductResolvers.h.
References edm::ProductResolverBase::moduleLabel(), sysUtil::pid, and edm::ProductResolverBase::setProvenance_().
|
protected |
Definition at line 621 of file ProductResolvers.cc.
References edm::ProductResolverBase::Resolution::data(), productData_, Resolution, edm::ProductData::sharedConstWrapper(), and edm::ProductData::unsafe_setWrapper().
Referenced by edm::SwitchProducerProductResolver::resolveProduct_(), and edm::SwitchAliasProductResolver::resolveProduct_().
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 303 of file ProductResolvers.h.
|
finalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 660 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::ProductProvenanceRetriever::insertIntoSet(), parentageID_, productData_, and edm::ProductData::setProvenance().
|
finalvirtual |
Reimplemented from edm::ProductResolverBase.
Definition at line 617 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::UnscheduledConfigurator::findWorker(), edm::ProductResolverBase::moduleLabel(), and worker_.
|
inlinefinalprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 306 of file ProductResolvers.h.
|
inlineprotected |
Definition at line 278 of file ProductResolvers.h.
Referenced by edm::SwitchProducerProductResolver::productUnavailable_(), and edm::SwitchProducerProductResolver::resolveProduct_().
|
inlineprotected |
Definition at line 276 of file ProductResolvers.h.
Referenced by edm::SwitchProducerProductResolver::prefetchAsync_().
|
inlineprotected |
Definition at line 277 of file ProductResolvers.h.
Referenced by edm::SwitchProducerProductResolver::prefetchAsync_().
|
staticprivate |
Definition at line 308 of file ProductResolvers.h.
Referenced by putProduct_(), and resetProductData_().
|
private |
Definition at line 318 of file ProductResolvers.h.
Referenced by setProvenance_(), and SwitchBaseProductResolver().
|
mutableprivate |
Definition at line 316 of file ProductResolvers.h.
Referenced by putProduct_().
|
private |
Definition at line 313 of file ProductResolvers.h.
Referenced by resetProductData_(), resolveProductImpl(), and setProvenance_().
|
private |
Definition at line 311 of file ProductResolvers.h.
Referenced by resetProductData_().
|
mutableprivate |
Definition at line 320 of file ProductResolvers.h.
Referenced by putProduct_(), and resetProductData_().
|
mutableprivate |
Definition at line 315 of file ProductResolvers.h.
Referenced by putProduct_().
Definition at line 314 of file ProductResolvers.h.
Referenced by setupUnscheduled().