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