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  EDProducerAdaptorBase(const EDProducerAdaptorBase&) = delete; // stop default
57  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) = delete; // stop default
58 
59  // ---------- const member functions ---------------------
60 
61  // ---------- static member functions --------------------
62 
63  // ---------- member functions ---------------------------
64 
65  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>"; }
66 
67  protected:
69 
70  private:
72 
73  void doAcquire(EventTransitionInfo const&,
75  ModuleCallingContext const*,
77 
78  //For now this is a placeholder
79  /*virtual*/ void preActionBeforeRunEventAsync(WaitingTask*, ModuleCallingContext const&, Principal const&) const {
80  }
81  };
82  } // namespace stream
83 } // namespace edm
84 
85 #endif
edm::EventTransitionInfo
Definition: TransitionInfoTypes.h:26
edm::stream::EDProducerAdaptorBase::doAcquire
void doAcquire(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *, WaitingTaskWithArenaHolder &)
Definition: EDProducerAdaptorBase.cc:64
ActivityRegistry
ProducingModuleAdaptorBase.h
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
cudaStream_t stream
Definition: HistoContainer.h:57
edm::Principal
Definition: Principal.h:57
edm::WorkerT
Definition: Frameworkfwd.h:62
edm::stream::EDProducerAdaptorBase
Definition: EDProducerAdaptorBase.h:48
ModuleDescription.h
edm::WaitingTaskWithArenaHolder
Definition: WaitingTaskWithArenaHolder.h:31
WaitingTask
edm::ActivityRegistry
Definition: ActivityRegistry.h:133
edm::maker::ModuleHolderT
Definition: EDAnalyzer.h:25
RunIndex.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EDProducerBase
edm::stream::EDProducerAdaptorBase::doEvent
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
Definition: EDProducerAdaptorBase.cc:47
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:65
edm::stream::EDProducerAdaptorBase::EDProducerAdaptorBase
EDProducerAdaptorBase()
Definition: EDProducerAdaptorBase.cc:45
ParameterSetfwd.h
LuminosityBlockIndex.h
edm::stream::EDProducerAdaptorBase::operator=
const EDProducerAdaptorBase & operator=(const EDProducerAdaptorBase &)=delete
edm::stream::EDProducerAdaptorBase::preActionBeforeRunEventAsync
void preActionBeforeRunEventAsync(WaitingTask *, ModuleCallingContext const &, Principal const &) const
Definition: EDProducerAdaptorBase.h:79
StreamID.h
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29