1 #ifndef FWCore_Framework_stream_ProducingModuleAdaptorBase_h
2 #define FWCore_Framework_stream_ProducingModuleAdaptorBase_h
40 class ModuleCallingContext;
41 class ProductHolderIndexHelper;
43 class PreallocationConfiguration;
44 class ProductHolderIndexAndSkipBit;
47 template<
typename T>
class ModuleHolderT;
52 class ProducingModuleAdaptorBase
94 template<
typename L,
typename I>
ModuleDescription moduleDescription_
virtual void streamEndRunSummary(T *, edm::Run const &, edm::EventSetup const &)=0
void commit(Event &iEvent, L *iList, I *iID)
void doStreamEndRun(StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
const ModuleDescription & moduleDescription()
void doRespondToOpenInputFile(FileBlock const &fb)
void doPreallocate(PreallocationConfiguration const &)
void doPreForkReleaseResources()
virtual void doEndLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void doStreamBeginLuminosityBlock(StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
virtual void doBeginRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *)=0
const EDConsumerBase * consumer()
virtual ~ProducingModuleAdaptorBase()
virtual void setupRun(T *, RunIndex)=0
void itemsToGet(BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
void registerProductsAndCallbacks(ProducingModuleAdaptorBase const *, ProductRegistry *reg)
void setModuleDescription(ModuleDescription const &md)
virtual void streamEndLuminosityBlockSummary(T *, edm::LuminosityBlock const &, edm::EventSetup const &)=0
void doEndStream(StreamID id)
const ProducingModuleAdaptorBase & operator=(const ProducingModuleAdaptorBase &)=delete
void createStreamModules(F iFunc)
const std::complex< double > I
void doStreamEndLuminosityBlock(StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
ProducingModuleAdaptorBase()
void doBeginStream(StreamID id)
void itemsMayGet(BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
virtual void setupLuminosityBlock(T *, LuminosityBlockIndex)=0
void updateLookup(BranchType iBranchType, ProductHolderIndexHelper const &)
void commit_(std::vector< BranchID > *previousParentage=0, ParentageID *previousParentageId=0)
virtual void setupStreamModules()=0
void commit(LuminosityBlock &iLumi)
std::vector< ProductHolderIndexAndSkipBit > const & itemsToGetFromEvent() const
void doRespondToCloseInputFile(FileBlock const &fb)
std::vector< T * > m_streamModules
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
void doStreamBeginRun(StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
virtual void doEndRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *)=0
virtual void doBeginLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void doPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren)
virtual void doEndJob()=0