1 #ifndef FWCore_Framework_ProductHolder_h
2 #define FWCore_Framework_ProductHolder_h
20 #include "boost/shared_ptr.hpp"
25 class ProductProvenanceRetriever;
27 class ModuleCallingContext;
29 class WrapperInterfaceBase;
129 void write(std::ostream& os)
const;
434 boost::shared_ptr<BranchDescription const>
bd_;
441 std::vector<bool>
const& ambiguous,
virtual bool singleProduct_() const
virtual bool onDemand_() const
virtual void putProduct_(WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)=0
virtual ProductStatus & status_() const =0
void setPrincipal(Principal *principal)
virtual ProductData & getProductData()
virtual bool onDemand_() const =0
virtual void setProvenance_(boost::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid)
virtual void swap_(ProductHolderBase &rhs)
virtual bool onDemand_() const
virtual void resetProductData_()
bool provenanceAvailable() const
virtual void swap_(ProductHolderBase &rhs)
WrapperInterfaceBase const * getInterface() const
virtual void checkType_(WrapperOwningHolder const &prod) const
virtual void mergeProduct_(WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
void mergeProduct(WrapperOwningHolder const &edp) const
void resetBranchDescription(boost::shared_ptr< BranchDescription const > bd)
AliasProductHolder(boost::shared_ptr< BranchDescription const > bd, ProducedProductHolder &realProduct)
virtual ProductProvenance * productProvenancePtr_() const
std::vector< ProductHolderIndex > matchingHolders_
virtual BranchDescription const & branchDescription_() const
void setProvenance(boost::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid)
ProducedProductHolder::ProductStatus ProductStatus
virtual void resetStatus_()
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
virtual void mergeProduct_(WrapperOwningHolder const &edp, ProductProvenance &productProvenance)=0
virtual bool productUnavailable_() const
virtual BranchDescription const & branchDescription_() const
virtual void swap_(ProductHolderBase &rhs)
ProducedProductHolder::ProductStatus ProductStatus
ProductHolderBase & operator=(ProductHolderBase const &)=delete
virtual void setProcessHistory_(ProcessHistory const &ph)=0
virtual void resetBranchDescription_(boost::shared_ptr< BranchDescription const > bd)
ProductData const * resolveProduct(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
NoProcessProductHolder(std::vector< ProductHolderIndex > const &matchingHolders, std::vector< bool > const &ambiguous, Principal *principal)
std::string const & processName() const
virtual void setProductDeleted_()
virtual bool putOrMergeProduct_() const
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const =0
virtual bool productWasDeleted_() const
virtual BranchDescription const & branchDescription_() const =0
virtual void resetStatus_()
virtual bool productUnavailable_() const
void write(std::ostream &os) const
void swap(Association< C > &lhs, Association< C > &rhs)
virtual void setPrincipal_(Principal *principal)
void checkType(WrapperOwningHolder const &prod) const
boost::shared_ptr< void const > product() const
std::string const & moduleLabel() const
virtual void setProductDeleted_()
virtual ProductStatus & status_() const
virtual void mergeProduct_(WrapperOwningHolder const &edp) const
virtual bool singleProduct_() const =0
virtual ~SourceProductHolder()
virtual void setProcessHistory_(ProcessHistory const &ph)
virtual void swap_(ProductHolderBase &rhs)
virtual void resetStatus_()
Provenance * provenance() const
virtual void swap_(ProductHolderBase &rhs)
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
ProductProvenance * productProvenancePtr() const
virtual void mergeProduct_(WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
bool singleProduct() const
BranchDescription const & branchDescription() const
virtual ProductData const & getProductData() const
virtual ProductData & getProductData()
virtual void setProvenance_(boost::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid)
virtual void setPrincipal_(Principal *principal)
std::string const & moduleLabel() const
virtual bool productUnavailable_() const =0
std::string const & productInstanceName() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
virtual void swap_(ProductHolderBase &rhs)=0
virtual ProductProvenance * productProvenancePtr_() const =0
virtual void putProduct_(WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
virtual void setProductDeleted_()
virtual bool singleProduct_() const
virtual ~ProductHolderBase()
boost::shared_ptr< void const > wrapper_
ProductID const & productID() const
void mergeProduct(WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
virtual void putProduct_(WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
virtual void checkType_(WrapperOwningHolder const &prod) const
void swap(ProductHolderBase &rhs)
bool productWasDeleted() const
ProductData const & productData() const
virtual void resetBranchDescription_(boost::shared_ptr< BranchDescription const > bd)
virtual ProductData const & getProductData() const =0
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
virtual bool putOrMergeProduct_() const
virtual void resetStatus_()
virtual ProductStatus & status_() const
virtual bool singleProduct_() const
virtual void setProvenance_(boost::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid)
virtual std::string const & resolvedModuleLabel_() const
virtual void resetStatus_()=0
virtual void setProcessHistory_(ProcessHistory const &ph)
virtual ProductData const & getProductData() const
void mergeTheProduct(WrapperOwningHolder const &edp) const
std::string const & resolvedModuleLabel() const
virtual ProductStatus & status_() const
virtual bool putOrMergeProduct_() const =0
void throwProductDeletedException() const
void setProductProvenance(ProductProvenance const &prov) const
virtual void resetProductData_()=0
virtual void resetProductData_()
std::string const & processName() const
UnscheduledProductHolder(boost::shared_ptr< BranchDescription const > bd, Principal *principal)
virtual std::string const & resolvedModuleLabel_() const
virtual ProductStatus & status_() const
virtual void mergeProduct_(WrapperOwningHolder const &edp, ProductProvenance &productProvenance)
virtual ~NoProcessProductHolder()
bool putOrMergeProduct() const
void putProduct(WrapperOwningHolder const &edp) const
void reallyCheckType(WrapperOwningHolder const &prod) const
virtual void setProcessHistory_(ProcessHistory const &ph)
boost::shared_ptr< BranchDescription const > bd_
virtual bool putOrMergeProduct_() const
std::vector< bool > ambiguous_
virtual bool productWasDeleted_() const
virtual ~AliasProductHolder()
virtual ProductData & getProductData()
virtual ProductData & getProductData()
ScheduledProductHolder(boost::shared_ptr< BranchDescription const > bd)
virtual ~ScheduledProductHolder()
void resetBranchDescription(boost::shared_ptr< BranchDescription const > bd)
virtual void resetBranchDescription_(boost::shared_ptr< BranchDescription const > bd)
virtual ~UnscheduledProductHolder()
virtual ProductData const & getProductData() const
virtual void putProduct_(WrapperOwningHolder const &edp) const
virtual bool onDemand_() const
virtual void resetProductData_()
virtual std::string const & resolvedModuleLabel_() const
virtual ProductData const & getProductData() const
virtual ProductData const & getProductData() const
boost::shared_ptr< BranchDescription const > const & branchDescription() const
void putProduct(WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
virtual BranchDescription const & branchDescription_() const
ProductData & productData()
virtual void setPrincipal_(Principal *principal)
ProductStatus & status() const
virtual bool onDemand_() const
virtual bool productWasDeleted_() const =0
virtual void setProductDeleted_()=0
ProductID const & productID() const
virtual void checkType_(WrapperOwningHolder const &prod) const
virtual ProductProvenance * productProvenancePtr_() const
volatile std::atomic< bool > shutdown_flag false
virtual void putProduct_(WrapperOwningHolder const &edp, ProductProvenance const &productProvenance)
virtual void checkType_(WrapperOwningHolder const &prod) const =0
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const
virtual void resetBranchDescription_(boost::shared_ptr< BranchDescription const > bd)=0
virtual bool onDemand_() const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
void setProcessHistory(ProcessHistory const &ph)
TypeID productType() const
SourceProductHolder(boost::shared_ptr< BranchDescription const > bd)
virtual void setProvenance_(boost::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid)=0
virtual bool productUnavailable_() const
virtual ProductProvenance * productProvenancePtr_() const
std::string const & productInstanceName() const
ProducedProductHolder & realProduct_
virtual void setPrincipal_(Principal *principal)=0
virtual std::string const & resolvedModuleLabel_() const =0
virtual void resetStatus_()
virtual bool productWasDeleted_() const
virtual ~ProducedProductHolder()
WrapperHolder wrapper() const
bool productUnavailable() const