#include <ProductHolder.h>
Public Types | |
enum | ProductStatus { Present = 0, NotRun = 3, NotCompleted = 4, NotPut = 5, UnscheduledNotRun = 6, ProductDeleted =7, Uninitialized = 0xff } |
Public Types inherited from edm::ProductHolderBase | |
enum | ResolveStatus { ProductFound, ProductNotFound, Ambiguous } |
Private Member Functions | |
virtual BranchDescription const & | branchDescription_ () const override |
virtual void | checkType_ (WrapperBase const &prod) const override |
virtual void | mergeProduct_ (std::unique_ptr< WrapperBase > edp, ProductProvenance &productProvenance) override |
virtual void | mergeProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual ProductProvenance * | productProvenancePtr_ () const override |
virtual bool | productUnavailable_ () const override |
virtual bool | productWasDeleted_ () const override |
virtual bool | putOrMergeProduct_ () const override |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) override |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual void | resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd) override |
virtual void | resetProductData_ () override |
virtual std::string const & | resolvedModuleLabel_ () const override |
virtual void | setPrincipal_ (Principal *principal) override |
virtual void | setProcessHistory_ (ProcessHistory const &ph) override |
virtual void | setProductDeleted_ () override |
virtual void | setProvenance_ (std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override |
virtual bool | singleProduct_ () const override |
virtual ProductStatus & | status_ () const =0 |
Definition at line 263 of file ProductHolder.h.
Enumerator | |
---|---|
Present | |
NotRun | |
NotCompleted | |
NotPut | |
UnscheduledNotRun | |
ProductDeleted | |
Uninitialized |
Definition at line 265 of file ProductHolder.h.
|
inline |
Definition at line 274 of file ProductHolder.h.
|
virtual |
Definition at line 31 of file ProductHolder.cc.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 292 of file ProductHolder.h.
References edm::ProductData::branchDescription(), and edm::ProductHolderBase::productData().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 285 of file ProductHolder.h.
References edm::ProductHolderBase::reallyCheckType().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 131 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::mergeTheProduct(), Present, edm::ProductHolderBase::provenance(), edm::ProductHolderBase::setProductProvenance(), and status().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 146 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::mergeTheProduct(), Present, and status().
void edm::ProducedProductHolder::producerCompleted | ( | ) |
void edm::ProducedProductHolder::producerStarted | ( | ) |
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 319 of file ProductHolder.cc.
References edm::Provenance::productProvenance(), and edm::ProductHolderBase::provenance().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 290 of file ProductHolder.cc.
References edm::WrapperBase::isPresent(), edm::ProductHolderBase::onDemand(), and edm::ProductHolderBase::product().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 300 of file ProductHolder.cc.
References ProductDeleted, and status().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 141 of file ProductHolder.cc.
References edm::ProductHolderBase::productUnavailable().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 112 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::branchDescription(), edm::BranchDescription::branchName(), Exception, edm::errors::InsertFailure, Present, edm::es::produced, edm::ProductHolderBase::product(), edm::ProductHolderBase::productData(), edm::ProductHolderBase::provenance(), edm::ProductHolderBase::setProductProvenance(), status(), status_(), Uninitialized, and edm::ProductData::wrapper_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 152 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::branchDescription(), edm::BranchDescription::branchName(), Exception, edm::errors::InsertFailure, Present, edm::es::produced, edm::ProductHolderBase::product(), edm::ProductHolderBase::productData(), status(), status_(), Uninitialized, and edm::ProductData::wrapper_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 293 of file ProductHolder.h.
References edm::ProductHolderBase::productData(), and edm::ProductData::resetBranchDescription().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 323 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::resetProductData(), and edm::ProductHolderBase::resetStatus().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 294 of file ProductHolder.h.
References edm::ProductHolderBase::moduleLabel().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 332 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 315 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, and edm::Provenance::setProcessHistory().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 305 of file ProductHolder.cc.
References ProductDeleted, and status().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 309 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, edm::Provenance::setProcessHistory(), edm::Provenance::setProductID(), and edm::Provenance::setStore().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 328 of file ProductHolder.cc.
|
inline |
Definition at line 278 of file ProductHolder.h.
References status_().
Referenced by mergeProduct_(), edm::UnscheduledProductHolder::onDemand_(), productWasDeleted_(), putProduct_(), setProductDeleted_(), and edm::AliasProductHolder::status().
|
privatepure virtual |
Implemented in edm::SourceProductHolder, edm::UnscheduledProductHolder, and edm::ScheduledProductHolder.
Referenced by putProduct_(), and status().