CMS 3D CMS Logo

EDProducerAdaptorBase.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_stream_EDProducerAdaptorBase_h
2 #define FWCore_Framework_stream_EDProducerAdaptorBase_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : EDProducerAdaptorBase
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri, 02 Aug 2013 18:09:15 GMT
19 //
20 
21 // system include files
22 
23 // user include files
31 
32 // forward declarations
33 
34 namespace edm {
35 
36  class ModuleCallingContext;
37  class ActivityRegistry;
38  class WaitingTask;
39  class WaitingTaskWithArenaHolder;
40 
41  namespace maker {
42  template <typename T>
43  class ModuleHolderT;
44  }
45 
46  namespace stream {
47  class EDProducerBase;
48  class EDProducerAdaptorBase : public ProducingModuleAdaptorBase<EDProducerBase> {
49  public:
50  template <typename T>
52  template <typename T>
53  friend class edm::WorkerT;
54 
56 
57  // ---------- const member functions ---------------------
58 
59  // ---------- static member functions --------------------
60 
61  // ---------- member functions ---------------------------
62 
63  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>"; }
64 
65  protected:
67 
68  private:
69  EDProducerAdaptorBase(const EDProducerAdaptorBase&) = delete; // stop default
70 
71  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) = delete; // stop default
72 
74 
75  void doAcquire(EventPrincipal const&,
76  EventSetupImpl const&,
78  ModuleCallingContext const*,
80 
81  //For now this is a placeholder
82  /*virtual*/ void preActionBeforeRunEventAsync(WaitingTask* iTask,
83  ModuleCallingContext const& iModuleCallingContext,
84  Principal const& iPrincipal) const {}
85  };
86  } // namespace stream
87 } // namespace edm
88 
89 #endif
edm::stream::EDProducerAdaptorBase::doAcquire
void doAcquire(EventPrincipal const &, EventSetupImpl const &, ActivityRegistry *, ModuleCallingContext const *, WaitingTaskWithArenaHolder &)
Definition: EDProducerAdaptorBase.cc:63
ActivityRegistry
edm::EventSetupImpl
Definition: EventSetupImpl.h:44
ProducingModuleAdaptorBase.h
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
edm::stream::EDProducerAdaptorBase::doEvent
bool doEvent(EventPrincipal const &, EventSetupImpl const &, ActivityRegistry *, ModuleCallingContext const *)
Definition: EDProducerAdaptorBase.cc:46
edm::Principal
Definition: Principal.h:57
edm::WorkerT
Definition: Frameworkfwd.h:54
edm::stream::EDProducerAdaptorBase
Definition: EDProducerAdaptorBase.h:48
ModuleDescription.h
edm::WaitingTaskWithArenaHolder
Definition: WaitingTaskWithArenaHolder.h:31
edm::EventPrincipal
Definition: EventPrincipal.h:46
WaitingTask
edm::ActivityRegistry
Definition: ActivityRegistry.h:132
edm::maker::ModuleHolderT
Definition: EDAnalyzer.h:26
RunIndex.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::stream::EDProducerAdaptorBase::preActionBeforeRunEventAsync
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Definition: EDProducerAdaptorBase.h:82
EDProducerBase
edm::stream::ProducingModuleAdaptorBase
Definition: Event.h:70
edm::WaitingTask
Definition: WaitingTask.h:36
Frameworkfwd.h
edm::stream::EDProducerAdaptorBase::workerType
std::string workerType() const
Definition: EDProducerAdaptorBase.h:63
edm::stream::EDProducerAdaptorBase::EDProducerAdaptorBase
EDProducerAdaptorBase()
Definition: EDProducerAdaptorBase.cc:44
ParameterSetfwd.h
LuminosityBlockIndex.h
edm::stream::EDProducerAdaptorBase::operator=
const EDProducerAdaptorBase & operator=(const EDProducerAdaptorBase &)=delete
StreamID.h
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29