CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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
32 
33 // forward declarations
34 
35 namespace edm {
36 
37  class ModuleCallingContext;
38  class ActivityRegistry;
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  EDProducerAdaptorBase(const EDProducerAdaptorBase&) = delete; // stop default
57  const EDProducerAdaptorBase& operator=(const EDProducerAdaptorBase&) = delete; // stop default
58 
59  // ---------- const member functions ---------------------
60 
61  // ---------- static member functions --------------------
62 
63  // ---------- member functions ---------------------------
64 
65  std::string workerType() const { return "WorkerT<EDProducerAdaptorBase>"; }
66 
67  protected:
69 
70  private:
72 
73  void doAcquire(EventTransitionInfo const&,
75  ModuleCallingContext const*,
77 
78  //For now this is a placeholder
80  ModuleCallingContext const&,
81  Principal const&) const {}
82  };
83  } // namespace stream
84 } // namespace edm
85 
86 #endif
void doAcquire(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *, WaitingTaskWithArenaHolder &)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
const EDProducerAdaptorBase & operator=(const EDProducerAdaptorBase &)=delete