#include <ProductResolverBase.h>
Classes | |
class | Resolution |
Private Member Functions | |
virtual BranchDescription const & | branchDescription_ () const =0 |
virtual void | prefetchAsync_ (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const =0 |
virtual ProductProvenance const * | productProvenancePtr_ () const =0 |
virtual bool | productResolved_ () const =0 |
virtual bool | productUnavailable_ () const =0 |
virtual bool | productWasDeleted_ () const =0 |
virtual bool | productWasFetchedAndIsValid_ (bool iSkipCurrentProcess) const =0 |
virtual Provenance const * | provenance_ () const =0 |
virtual void | putOrMergeProduct_ (std::unique_ptr< WrapperBase > edp) const =0 |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp) const =0 |
virtual void | resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd)=0 |
virtual void | resetProductData_ (bool deleteEarly)=0 |
virtual std::string const & | resolvedModuleLabel_ () const =0 |
virtual Resolution | resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const =0 |
virtual void | retrieveAndMerge_ (Principal const &principal) const |
virtual void | setProcessHistory_ (ProcessHistory const &ph)=0 |
virtual void | setProvenance_ (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid)=0 |
virtual bool | singleProduct_ () const =0 |
virtual bool | unscheduledWasNotRun_ () const =0 |
Definition at line 33 of file ProductResolverBase.h.
edm::ProductResolverBase::ProductResolverBase | ( | ) |
Definition at line 14 of file ProductResolverBase.cc.
|
virtual |
Definition at line 16 of file ProductResolverBase.cc.
|
delete |
|
inline |
Definition at line 107 of file ProductResolverBase.h.
References branchDescription_().
Referenced by edm::DataManagingProductResolver::checkType(), edm::PrincipalGetAdapter::getBranchDescription(), edm::Principal::getExistingProduct(), edm::DataManagingProductResolver::mergeProduct(), moduleLabel(), edm::InputProductResolver::prefetchAsync_(), edm::PuttableProductResolver::prefetchAsync_(), processName(), productInstanceName(), productType(), provenanceAvailable(), edm::ProducedProductResolver::putProduct_(), edm::InputProductResolver::resolveProduct_(), edm::InputProductResolver::retrieveAndMerge_(), edm::PuttableProductResolver::setupUnscheduled(), edm::UnscheduledProductResolver::setupUnscheduled(), and edm::DataManagingProductResolver::throwProductDeletedException().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by branchDescription(), and putOrMergeProduct().
|
pure virtual |
|
inline |
Definition at line 116 of file ProductResolverBase.h.
References branchDescription(), and edm::BranchDescription::moduleLabel().
Referenced by edm::DataManagingProductResolver::resolvedModuleLabel_(), edm::NoProcessProductResolver::resolvedModuleLabel_(), edm::SingleChoiceNoProcessProductResolver::resolvedModuleLabel_(), edm::PuttableProductResolver::setupUnscheduled(), edm::UnscheduledProductResolver::setupUnscheduled(), and edm::DataManagingProductResolver::throwProductDeletedException().
|
delete |
|
inline |
oDataFetchedIsValid is allowed to be nullptr in which case no value will be assigned
Definition at line 67 of file ProductResolverBase.h.
References prefetchAsync_().
Referenced by edm::NoProcessProductResolver::tryPrefetchResolverAsync().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, edm::UnscheduledProductResolver, edm::PuttableProductResolver, and edm::InputProductResolver.
Referenced by edm::InputProductResolver::InputProductResolver(), prefetchAsync(), putOrMergeProduct(), edm::PuttableProductResolver::PuttableProductResolver(), edm::SingleChoiceNoProcessProductResolver::SingleChoiceNoProcessProductResolver(), and edm::UnscheduledProductResolver::UnscheduledProductResolver().
|
inline |
Definition at line 127 of file ProductResolverBase.h.
References branchDescription(), edm::BranchDescription::processName(), and provenance().
Referenced by edm::DataManagingProductResolver::throwProductDeletedException().
|
inline |
Definition at line 150 of file ProductResolverBase.h.
References edm::Provenance::productID(), and provenance().
Referenced by write().
|
inline |
Definition at line 124 of file ProductResolverBase.h.
References branchDescription(), and edm::BranchDescription::productInstanceName().
Referenced by edm::DataManagingProductResolver::throwProductDeletedException().
|
inline |
Definition at line 104 of file ProductResolverBase.h.
References productProvenancePtr_().
|
privatepure virtual |
|
inline |
Definition at line 89 of file ProductResolverBase.h.
References productResolved_(), and provenanceAvailable().
Referenced by edm::InputProductResolver::prefetchAsync_(), provenanceAvailable(), edm::InputProductResolver::putProduct_(), and edm::InputProductResolver::resolveProduct_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by productResolved(), and putOrMergeProduct().
TypeID edm::ProductResolverBase::productType | ( | ) | const |
Definition at line 31 of file ProductResolverBase.cc.
References branchDescription().
Referenced by setProcessHistory().
|
inline |
Definition at line 86 of file ProductResolverBase.h.
References productUnavailable_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by productUnavailable(), and putOrMergeProduct().
|
inline |
Definition at line 99 of file ProductResolverBase.h.
References productWasDeleted_().
Referenced by edm::DataManagingProductResolver::resolveProductImpl().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by productWasDeleted(), and putOrMergeProduct().
|
inline |
Definition at line 101 of file ProductResolverBase.h.
References productWasFetchedAndIsValid_().
Referenced by edm::NoProcessProductResolver::dataValidFromResolver().
|
privatepure virtual |
Provenance const * edm::ProductResolverBase::provenance | ( | ) | const |
Definition at line 36 of file ProductResolverBase.cc.
References provenance_().
Referenced by processName(), productID(), edm::DataManagingProductResolver::productProvenancePtr_(), edm::AliasProductResolver::productProvenancePtr_(), and stableProvenance().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by provenance(), and putOrMergeProduct().
bool edm::ProductResolverBase::provenanceAvailable | ( | ) | const |
Definition at line 19 of file ProductResolverBase.cc.
References branchDescription(), edm::es::produced, and productResolved().
Referenced by productResolved().
|
inline |
Definition at line 158 of file ProductResolverBase.h.
References branchDescription_(), connectTo(), eostools::move(), sysUtil::pid, prefetchAsync_(), cmsRelvalreport::principal(), productProvenancePtr_(), productResolved_(), productUnavailable_(), productWasDeleted_(), productWasFetchedAndIsValid_(), provenance_(), putOrMergeProduct_(), putProduct_(), resetBranchDescription_(), resetProductData_(), resolvedModuleLabel_(), resolveProduct_(), retrieveAndMerge_(), setProcessHistory_(), setProvenance_(), setupUnscheduled(), singleProduct_(), AlCaHLTBitMon_QueryRunRegistry::string, and unscheduledWasNotRun_().
Referenced by edm::Principal::putOrMerge(), and edm::InputProductResolver::retrieveAndMerge_().
|
privatepure virtual |
|
inline |
Definition at line 153 of file ProductResolverBase.h.
References eostools::move(), and putProduct_().
Referenced by edm::InputProductResolver::prefetchAsync_(), edm::DataManagingProductResolver::putOrMergeProduct_(), and edm::InputProductResolver::resolveProduct_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, edm::PuttableProductResolver, edm::ProducedProductResolver, and edm::InputProductResolver.
Referenced by edm::InputProductResolver::InputProductResolver(), edm::ProducedProductResolver::ProducedProductResolver(), edm::AliasProductResolver::productWasFetchedAndIsValid_(), edm::ParentProcessProductResolver::productWasFetchedAndIsValid_(), putOrMergeProduct(), putProduct(), edm::SingleChoiceNoProcessProductResolver::SingleChoiceNoProcessProductResolver(), and edm::PuttableProductResolver::unscheduledWasNotRun_().
|
inline |
Definition at line 113 of file ProductResolverBase.h.
References resetBranchDescription_().
Referenced by edm::Principal::adjustToNewProductRegistry().
|
privatepure virtual |
|
inline |
Definition at line 79 of file ProductResolverBase.h.
References resetProductData_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, edm::UnscheduledProductResolver, edm::PuttableProductResolver, edm::InputProductResolver, and edm::DataManagingProductResolver.
Referenced by putOrMergeProduct(), resetProductData(), and unsafe_deleteProduct().
|
inline |
Definition at line 121 of file ProductResolverBase.h.
References resolvedModuleLabel_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by putOrMergeProduct(), and resolvedModuleLabel().
|
inline |
Definition at line 58 of file ProductResolverBase.h.
References resolveProduct_().
Referenced by edm::NoProcessProductResolver::tryResolver().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, edm::UnscheduledProductResolver, edm::PuttableProductResolver, and edm::InputProductResolver.
Referenced by edm::InputProductResolver::InputProductResolver(), putOrMergeProduct(), edm::PuttableProductResolver::PuttableProductResolver(), resolveProduct(), edm::SingleChoiceNoProcessProductResolver::SingleChoiceNoProcessProductResolver(), and edm::UnscheduledProductResolver::UnscheduledProductResolver().
|
inline |
Definition at line 76 of file ProductResolverBase.h.
References retrieveAndMerge_().
|
privatevirtual |
Reimplemented in edm::InputProductResolver.
Definition at line 41 of file ProductResolverBase.cc.
Referenced by edm::InputProductResolver::InputProductResolver(), putOrMergeProduct(), and retrieveAndMerge().
|
inline |
Definition at line 139 of file ProductResolverBase.h.
References productType(), setProcessHistory_(), and write().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by putOrMergeProduct(), and setProcessHistory().
|
inline |
Definition at line 136 of file ProductResolverBase.h.
References setProvenance_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by putOrMergeProduct(), and setProvenance().
|
virtual |
Reimplemented in edm::UnscheduledProductResolver, edm::PuttableProductResolver, and edm::InputProductResolver.
Definition at line 54 of file ProductResolverBase.cc.
Referenced by edm::InputProductResolver::InputProductResolver(), putOrMergeProduct(), edm::PuttableProductResolver::PuttableProductResolver(), edm::Principal::setupUnscheduled(), and edm::UnscheduledProductResolver::UnscheduledProductResolver().
|
inline |
Definition at line 110 of file ProductResolverBase.h.
References singleProduct_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, and edm::DataManagingProductResolver.
Referenced by putOrMergeProduct(), and singleProduct().
|
inline |
Definition at line 133 of file ProductResolverBase.h.
References provenance(), and edm::Provenance::stable().
Referenced by edm::PrincipalGetAdapter::getProductID().
|
inline |
Definition at line 81 of file ProductResolverBase.h.
References resetProductData_().
|
inline |
Definition at line 96 of file ProductResolverBase.h.
References unscheduledWasNotRun_().
|
privatepure virtual |
Implemented in edm::SingleChoiceNoProcessProductResolver, edm::NoProcessProductResolver, edm::ParentProcessProductResolver, edm::AliasProductResolver, edm::UnscheduledProductResolver, edm::PuttableProductResolver, and edm::InputProductResolver.
Referenced by putOrMergeProduct(), edm::SingleChoiceNoProcessProductResolver::SingleChoiceNoProcessProductResolver(), and unscheduledWasNotRun().
void edm::ProductResolverBase::write | ( | std::ostream & | os | ) | const |
Definition at line 46 of file ProductResolverBase.cc.
References productID(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by pkg.AbstractPkg::generate(), edm::operator<<(), and setProcessHistory().