#include <ProductResolvers.h>
Public Member Functions | |
InputProductResolver (std::shared_ptr< BranchDescription const > bd) | |
virtual void | setupUnscheduled (UnscheduledConfigurator const &) override final |
Public Member Functions inherited from edm::DataManagingProductResolver | |
virtual void | connectTo (ProductResolverBase const &, Principal const *) override final |
DataManagingProductResolver (std::shared_ptr< BranchDescription const > bd, ProductStatus iDefaultStatus) | |
void | resetStatus () |
template<bool callResolver, typename FUNC > | |
ProductResolverBase::Resolution | resolveProductImpl (FUNC resolver) const |
Public Member Functions inherited from edm::ProductResolverBase | |
BranchDescription const & | branchDescription () const |
std::string const & | moduleLabel () const |
ProductResolverBase & | operator= (ProductResolverBase const &)=delete |
void | prefetchAsync (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
std::string const & | processName () const |
ProductID const & | productID () const |
std::string const & | productInstanceName () const |
ProductProvenance const * | productProvenancePtr () const |
bool | productResolved () const |
ProductResolverBase () | |
ProductResolverBase (ProductResolverBase const &)=delete | |
TypeID | productType () const |
bool | productUnavailable () const |
bool | productWasDeleted () const |
bool | productWasFetchedAndIsValid (bool iSkipCurrentProcess) const |
Provenance const * | provenance () const |
bool | provenanceAvailable () const |
void | putOrMergeProduct (std::unique_ptr< WrapperBase > edp) const |
void | putProduct (std::unique_ptr< WrapperBase > edp) const |
void | resetBranchDescription (std::shared_ptr< BranchDescription const > bd) |
virtual void | resetFailedFromThisProcess () |
void | resetProductData () |
std::string const & | resolvedModuleLabel () const |
Resolution | resolveProduct (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
void | retrieveAndMerge (Principal const &principal) const |
void | setProcessHistory (ProcessHistory const &ph) |
void | setProvenance (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) |
bool | singleProduct () const |
StableProvenance const * | stableProvenance () const |
void | unsafe_deleteProduct () const |
bool | unscheduledWasNotRun () const |
void | write (std::ostream &os) const |
virtual | ~ProductResolverBase () |
Private Member Functions | |
virtual bool | isFromCurrentProcess () const override final |
virtual void | prefetchAsync_ (WaitingTask *waitTask, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual void | resetProductData_ (bool deleteEarly) override |
virtual Resolution | resolveProduct_ (Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override |
virtual void | retrieveAndMerge_ (Principal const &principal) const override |
virtual bool | unscheduledWasNotRun_ () const override final |
Private Attributes | |
UnscheduledAuxiliary const * | aux_ |
std::atomic< bool > | m_prefetchRequested |
WaitingTaskList | m_waitingTasks |
Additional Inherited Members | |
Public Types inherited from edm::DataManagingProductResolver | |
enum | ProductStatus { ProductStatus::ProductSet, ProductStatus::NotPut, ProductStatus::ResolveFailed, ProductStatus::ResolveNotRun, ProductStatus::ProductDeleted } |
Protected Member Functions inherited from edm::DataManagingProductResolver | |
ProductStatus | defaultStatus () const |
template<bool callResolver, typename FUNC > | |
Resolution | resolveProductImpl (FUNC resolver) const |
void | setFailedStatus () const |
void | setProduct (std::unique_ptr< WrapperBase > edp) const |
ProductStatus | status () const |
Definition at line 96 of file ProductResolvers.h.
|
inlineexplicit |
Definition at line 98 of file ProductResolvers.h.
References edm::DataManagingProductResolver::isFromCurrentProcess(), edm::ProductResolverBase::prefetchAsync_(), cmsRelvalreport::principal(), edm::ProductResolverBase::putProduct_(), edm::ProductResolverBase::resolveProduct_(), edm::ProductResolverBase::retrieveAndMerge_(), and edm::ProductResolverBase::setupUnscheduled().
|
finaloverrideprivatevirtual |
Implements edm::DataManagingProductResolver.
Definition at line 238 of file ProductResolvers.cc.
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 172 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::InEvent, edm::ServiceRegistry::instance(), edm::make_functor_task(), edm::ServiceRegistry::presentToken(), cmsRelvalreport::principal(), edm::ProductResolverBase::productResolved(), edm::SerialTaskQueueChain::push(), edm::ProductResolverBase::putProduct(), mps_fire::queue, matplotRender::reader, and lumiQTWidget::t.
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 424 of file ProductResolvers.cc.
References eostools::move(), edm::ProductResolverBase::productResolved(), and edm::DataManagingProductResolver::setProduct().
|
overrideprivatevirtual |
Reimplemented from edm::DataManagingProductResolver.
Definition at line 225 of file ProductResolvers.cc.
References edm::DataManagingProductResolver::resetProductData_().
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 114 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), revisionDML::branchType(), edm::ModuleCallingContext::getStreamContext(), edm::InEvent, edm::make_sentry(), cmsRelvalreport::principal(), edm::ProductResolverBase::productResolved(), edm::ProductResolverBase::putProduct(), and matplotRender::reader.
|
overrideprivatevirtual |
Reimplemented from edm::ProductResolverBase.
Definition at line 150 of file ProductResolvers.cc.
References edm::ProductResolverBase::branchDescription(), edm::DataManagingProductResolver::defaultStatus(), eostools::move(), edm::ProductResolverBase::putOrMergeProduct(), edm::Principal::reader(), matplotRender::reader, edm::DataManagingProductResolver::setFailedStatus(), and edm::DataManagingProductResolver::status().
|
finaloverridevirtual |
Reimplemented from edm::ProductResolverBase.
Definition at line 232 of file ProductResolvers.cc.
References edm::UnscheduledConfigurator::auxiliary().
|
inlinefinaloverrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 122 of file ProductResolvers.h.
References edm::DataManagingProductResolver::resetProductData_().
|
private |
Definition at line 128 of file ProductResolvers.h.
|
mutableprivate |
Definition at line 126 of file ProductResolvers.h.
|
mutableprivate |
Definition at line 127 of file ProductResolvers.h.