#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 ConstBranchDescription const & | branchDescription_ () const |
virtual void | checkType_ (WrapperOwningHolder const &prod) const |
virtual void | mergeProduct_ (WrapperOwningHolder const &edp, ProductProvenance &productProvenance) |
virtual void | mergeProduct_ (WrapperOwningHolder const &edp) const |
virtual ProductProvenance * | productProvenancePtr_ () const |
virtual bool | productUnavailable_ () const |
virtual bool | productWasDeleted_ () const |
virtual bool | putOrMergeProduct_ () const |
virtual void | putProduct_ (WrapperOwningHolder const &edp, ProductProvenance const &productProvenance) |
virtual void | putProduct_ (WrapperOwningHolder const &edp) const |
virtual void | resetBranchDescription_ (boost::shared_ptr< ConstBranchDescription > bd) |
virtual void | resetProductData_ () |
virtual std::string const & | resolvedModuleLabel_ () const |
virtual void | setPrincipal_ (Principal *principal) |
virtual void | setProcessHistoryID_ (ProcessHistoryID const &phid) |
virtual void | setProductDeleted_ () |
virtual void | setProvenance_ (boost::shared_ptr< BranchMapper > mapper, ProcessHistoryID const &phid, ProductID const &pid) |
virtual bool | singleProduct_ () const |
virtual ProductStatus & | status_ () const =0 |
Definition at line 264 of file ProductHolder.h.
Enumerator | |
---|---|
Present | |
NotRun | |
NotCompleted | |
NotPut | |
UnscheduledNotRun | |
ProductDeleted | |
Uninitialized |
Definition at line 266 of file ProductHolder.h.
|
inline |
Definition at line 275 of file ProductHolder.h.
|
virtual |
Definition at line 31 of file ProductHolder.cc.
|
inlineprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 293 of file ProductHolder.h.
References edm::ProductData::branchDescription(), and edm::ProductHolderBase::productData().
|
inlineprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 286 of file ProductHolder.h.
References edm::ProductHolderBase::reallyCheckType().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 129 of file ProductHolder.cc.
References edm::ProductHolderBase::mergeTheProduct(), Present, edm::ProductHolderBase::provenance(), edm::ProductHolderBase::setProductProvenance(), and status().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 144 of file ProductHolder.cc.
References edm::ProductHolderBase::mergeTheProduct(), Present, and status().
void edm::ProducedProductHolder::producerCompleted | ( | ) |
void edm::ProducedProductHolder::producerStarted | ( | ) |
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 321 of file ProductHolder.cc.
References edm::Provenance::productProvenance(), and edm::ProductHolderBase::provenance().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 292 of file ProductHolder.cc.
References edm::WrapperHolder::isPresent(), edm::ProductHolderBase::onDemand(), edm::ProductHolderBase::product(), and edm::ProductHolderBase::wrapper().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 302 of file ProductHolder.cc.
References ProductDeleted, and status().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 139 of file ProductHolder.cc.
References edm::ProductHolderBase::productUnavailable().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 107 of file ProductHolder.cc.
References edm::ProductHolderBase::branchDescription(), edm::ConstBranchDescription::branchName(), edm::hlt::Exception, edm::errors::InsertFailure, edm::WrapperHolder::interface(), edm::WrapperHolder::isValid(), Present, edm::es::produced, edm::WrapperOwningHolder::product(), edm::ProductHolderBase::product(), edm::ProductHolderBase::productData(), edm::ProductHolderBase::provenance(), edm::ProductHolderBase::setProductProvenance(), status(), status_(), Uninitialized, and edm::ProductData::wrapper_.
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 150 of file ProductHolder.cc.
References edm::ProductHolderBase::branchDescription(), edm::ConstBranchDescription::branchName(), edm::hlt::Exception, edm::errors::InsertFailure, edm::WrapperHolder::interface(), edm::WrapperHolder::isValid(), Present, edm::es::produced, edm::WrapperOwningHolder::product(), edm::ProductHolderBase::product(), edm::ProductHolderBase::productData(), status(), status_(), Uninitialized, and edm::ProductData::wrapper_.
|
inlineprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 294 of file ProductHolder.h.
References edm::ProductHolderBase::productData(), and edm::ProductData::resetBranchDescription().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 325 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::resetProductData(), and edm::ProductHolderBase::resetStatus().
|
inlineprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 295 of file ProductHolder.h.
References edm::ProductHolderBase::moduleLabel().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 334 of file ProductHolder.cc.
References edm::hlt::Exception, and edm::errors::LogicError.
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 317 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, and edm::Provenance::setProcessHistoryID().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 307 of file ProductHolder.cc.
References ProductDeleted, and status().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 311 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, edm::Provenance::setProcessHistoryID(), edm::Provenance::setProductID(), and edm::Provenance::setStore().
|
privatevirtual |
Implements edm::ProductHolderBase.
Definition at line 330 of file ProductHolder.cc.
|
inline |
Definition at line 279 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().