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 
33 // forward declarations
34 
35 namespace edm {
36 
37  class ModuleCallingContext;
38  class ActivityRegistry;
39  class WaitingTask;
40  class WaitingTaskWithArenaHolder;
41 
42  namespace maker {
43  template<typename T> class ModuleHolderT;
44  }
45 
46  namespace stream {
47  class EDProducerBase;
48  class EDProducerAdaptorBase : public ProducingModuleAdaptorBase<EDProducerBase>
49  {
50 
51  public:
52  template <typename T> friend class edm::maker::ModuleHolderT;
53  template <typename T> 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  protected:
66 
67  private:
68  EDProducerAdaptorBase(const EDProducerAdaptorBase&) =delete; // stop default
69 
70  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) =delete; // stop default
71 
72  bool doEvent(EventPrincipal const&, EventSetup const&,
74  ModuleCallingContext const*);
75 
76  void doAcquire(EventPrincipal const&, EventSetup const&,
78  ModuleCallingContext const*,
80 
81  //For now this is a placeholder
82  /*virtual*/ void preActionBeforeRunEventAsync(WaitingTask* iTask, ModuleCallingContext const& iModuleCallingContext, Principal const& iPrincipal) const {}
83 
84  };
85  }
86 }
87 
88 #endif
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Worker & operator=(Worker const &)=delete
HLT enums.