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
32 
33 // forward declarations
34 
35 namespace edm {
36 
37  class ModuleCallingContext;
38  class ActivityRegistry;
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
80  ModuleCallingContext const&,
81  Principal const&) const {}
82  };
83  } // namespace stream
84 } // namespace edm
85 
86 #endif
edm::EventTransitionInfo
Definition: TransitionInfoTypes.h:26
edm::stream::EDProducerAdaptorBase::doAcquire
void doAcquire(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *, WaitingTaskWithArenaHolder &)
Definition: EDProducerAdaptorBase.cc:66
ActivityRegistry
WaitingTaskHolder.h
ProducingModuleAdaptorBase.h
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition: HistoContainer.h:51
edm::Principal
Definition: Principal.h:56
edm::WorkerT
Definition: Frameworkfwd.h:63
edm::stream::EDProducerAdaptorBase
Definition: EDProducerAdaptorBase.h:48
ModuleDescription.h
edm::WaitingTaskWithArenaHolder
Definition: WaitingTaskWithArenaHolder.h:34
edm::stream::EDProducerAdaptorBase::preActionBeforeRunEventAsync
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
Definition: EDProducerAdaptorBase.h:79
edm::ActivityRegistry
Definition: ActivityRegistry.h:134
edm::maker::ModuleHolderT
Definition: EDAnalyzer.h:25
RunIndex.h
edm::WaitingTaskHolder
Definition: WaitingTaskHolder.h:32
EDProducerBase
edm::stream::EDProducerAdaptorBase::doEvent
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
Definition: EDProducerAdaptorBase.cc:48
edm::stream::ProducingModuleAdaptorBase
Definition: Event.h:70
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Frameworkfwd.h
edm::stream::EDProducerAdaptorBase::workerType
std::string workerType() const
Definition: EDProducerAdaptorBase.h:65
edm::stream::EDProducerAdaptorBase::EDProducerAdaptorBase
EDProducerAdaptorBase()
Definition: EDProducerAdaptorBase.cc:46
ParameterSetfwd.h
LuminosityBlockIndex.h
edm::stream::EDProducerAdaptorBase::operator=
const EDProducerAdaptorBase & operator=(const EDProducerAdaptorBase &)=delete
StreamID.h
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29