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 // forward declarations
33 
34 namespace edm {
35 
36  class ModuleCallingContext;
37  class ActivityRegistry;
38  class WaitingTask;
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 
57  // ---------- const member functions ---------------------
58 
59  // ---------- static member functions --------------------
60 
61  // ---------- member functions ---------------------------
62 
63  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>"; }
64 
65  protected:
67 
68  private:
69  EDProducerAdaptorBase(const EDProducerAdaptorBase&) = delete; // stop default
70 
71  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) = delete; // stop default
72 
73  bool doEvent(EventPrincipal const&, EventSetupImpl const&, ActivityRegistry*, ModuleCallingContext const*);
74 
75  void doAcquire(EventPrincipal const&,
76  EventSetupImpl const&,
78  ModuleCallingContext const*,
80 
81  //For now this is a placeholder
82  /*virtual*/ void preActionBeforeRunEventAsync(WaitingTask* iTask,
83  ModuleCallingContext const& iModuleCallingContext,
84  Principal const& iPrincipal) const {}
85  };
86  } // namespace stream
87 } // namespace edm
88 
89 #endif
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
Worker & operator=(Worker const &)=delete
HLT enums.