#include <ProductResolvers.h>
Public Member Functions | |
InputProductResolver (std::shared_ptr< BranchDescription const > bd) | |
virtual void | setupUnscheduled (UnscheduledConfigurator const &) overridefinal |
Public Member Functions inherited from edm::DataManagingProductResolver | |
virtual void | connectTo (ProductResolverBase const &, Principal const *) overridefinal |
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 overridefinal |
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 overridefinal |
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.
|
finaloverrideprivatevirtual |
Implements edm::DataManagingProductResolver.
Definition at line 256 of file ProductResolvers.cc.
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 190 of file ProductResolvers.cc.
References edm::WaitingTaskList::add(), edm::ProductResolverBase::branchDescription(), edm::WaitingTaskList::doneWaiting(), edm::InEvent, edm::ServiceRegistry::instance(), m_prefetchRequested, m_waitingTasks, edm::make_functor_task(), edm::ServiceRegistry::presentToken(), cmsRelvalreport::principal(), edm::ProductResolverBase::productResolved(), edm::SerialTaskQueueChain::push(), edm::ProductResolverBase::putProduct(), mps_fire::queue, matplotRender::reader, t, and unpackBuffers-CaloStage2::token.
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 438 of file ProductResolvers.cc.
References eostools::move(), edm::ProductResolverBase::productResolved(), and edm::DataManagingProductResolver::setProduct().
|
overrideprivatevirtual |
Reimplemented from edm::DataManagingProductResolver.
Definition at line 243 of file ProductResolvers.cc.
References m_prefetchRequested, m_waitingTasks, edm::WaitingTaskList::reset(), and edm::DataManagingProductResolver::resetProductData_().
|
overrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 113 of file ProductResolvers.cc.
References aux_, 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 149 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 250 of file ProductResolvers.cc.
References aux_, and edm::UnscheduledConfigurator::auxiliary().
|
inlinefinaloverrideprivatevirtual |
Implements edm::ProductResolverBase.
Definition at line 122 of file ProductResolvers.h.
|
private |
Definition at line 128 of file ProductResolvers.h.
Referenced by resolveProduct_(), and setupUnscheduled().
|
mutableprivate |
Definition at line 126 of file ProductResolvers.h.
Referenced by prefetchAsync_(), and resetProductData_().
|
mutableprivate |
Definition at line 127 of file ProductResolvers.h.
Referenced by prefetchAsync_(), and resetProductData_().