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 
41  namespace maker {
42  template<typename T> class ModuleHolderT;
43  }
44 
45  namespace stream {
46  class EDProducerBase;
47  class EDProducerAdaptorBase : public ProducingModuleAdaptorBase<EDProducerBase>
48  {
49 
50  public:
51  template <typename T> friend class edm::maker::ModuleHolderT;
52  template <typename T> friend class edm::WorkerT;
53 
55 
56  // ---------- const member functions ---------------------
57 
58  // ---------- static member functions --------------------
59 
60  // ---------- member functions ---------------------------
61 
62  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>";}
63  protected:
65 
66  private:
67  EDProducerAdaptorBase(const EDProducerAdaptorBase&) =delete; // stop default
68 
69  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) =delete; // stop default
70 
71  bool doEvent(EventPrincipal const& ep, EventSetup const& c,
73  ModuleCallingContext const*) ;
74  //For now this is a placeholder
75  /*virtual*/ void preActionBeforeRunEventAsync(WaitingTask* iTask, ModuleCallingContext const& iModuleCallingContext, Principal const& iPrincipal) const {}
76 
77  };
78  }
79 }
80 
81 #endif
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Worker & operator=(Worker const &)=delete
HLT enums.