CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
40  namespace maker {
41  template<typename T> class ModuleHolderT;
42  }
43 
44  namespace stream {
45  class EDProducerBase;
46  class EDProducerAdaptorBase : public ProducingModuleAdaptorBase<EDProducerBase>
47  {
48 
49  public:
50  template <typename T> friend class edm::maker::ModuleHolderT;
51  template <typename T> friend class edm::WorkerT;
52 
54 
55  // ---------- const member functions ---------------------
56 
57  // ---------- static member functions --------------------
58 
59  // ---------- member functions ---------------------------
60 
61  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>";}
62  protected:
64 
65  private:
66  EDProducerAdaptorBase(const EDProducerAdaptorBase&) =delete; // stop default
67 
68  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) =delete; // stop default
69 
70  bool doEvent(EventPrincipal const& ep, EventSetup const& c,
72  ModuleCallingContext const*) ;
73  };
74  }
75 }
76 
77 #endif
bool doEvent(EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *)
const EDProducerAdaptorBase & operator=(const EDProducerAdaptorBase &)=delete