CMS 3D CMS Logo

EDProducer.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_EDProducer_h
2 #define FWCore_Framework_one_EDProducer_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::one::EDProducer
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu, 09 May 2013 19:53:55 GMT
19 //
20 
21 // system include files
22 
23 // user include files
25 
26 // forward declarations
27 namespace edm {
28  namespace one {
29  template <typename... T>
30  class EDProducer : public virtual EDProducerBase, public producer::AbilityToImplementor<T>::Type... {
31  public:
34  "Cannot use both WatchRuns and RunCache");
37  "Cannot use both WatchLuminosityBlocks and LuminosityBLockCache");
38 
39  EDProducer() = default;
40 #ifdef __INTEL_COMPILER
41  virtual ~EDProducer() = default;
42 #endif
43  //
44 
45  // ---------- const member functions ---------------------
46  bool wantsGlobalRuns() const final { return WantsGlobalRunTransitions<T...>::value; }
48 
50 
52 
53  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue(); }
55 
56  // ---------- static member functions --------------------
57 
58  // ---------- member functions ---------------------------
59 
60  private:
61  EDProducer(const EDProducer&) = delete;
62  const EDProducer& operator=(const EDProducer&) = delete;
63 
64  // ---------- member data --------------------------------
68  };
69 
70  } // namespace one
71 } // namespace edm
72 
73 #endif
const EDProducer & operator=(const EDProducer &)=delete
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDProducer.h:65
bool wantsGlobalRuns() const final
Definition: EDProducer.h:46
bool wantsGlobalLuminosityBlocks() const final
Definition: EDProducer.h:47
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDProducer.h:67
bool hasAbilityToProduceInLumis() const final
Definition: EDProducer.h:51
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: EDProducer.h:54
SerialTaskQueue * globalRunsQueue() final
Definition: EDProducer.h:53
HLT enums.
long double T
bool hasAbilityToProduceInRuns() const final
Definition: EDProducer.h:49