CMS 3D CMS Logo

OutputModule.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_OutputModule_h
2 #define FWCore_Framework_one_OutputModule_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : edm::one::OutputModule
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Wed, 31 Jul 2013 18:21:29 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>
31  public:
33  : OutputModuleBase(iPSet), outputmodule::AbilityToImplementor<T>::Type(iPSet)... {}
34  OutputModule(const OutputModule&) = delete; // stop default
35  const OutputModule& operator=(const OutputModule&) = delete; // stop default
36 
37  // Required to work around ICC bug, but possible source of bloat in gcc.
38  // We do this only in the case of the intel compiler as this might end up
39  // creating a lot of code bloat due to inline symbols being generated in
40  // each DSO which uses this header.
41 #ifdef __INTEL_COMPILER
42  virtual ~OutputModule() = default;
43 #endif
44 
45  // ---------- const member functions ---------------------
46  bool wantsProcessBlocks() const noexcept final { return WantsProcessBlockTransitions<T...>::value; }
48  bool wantsGlobalRuns() const noexcept final { return WantsGlobalRunTransitions<T...>::value; }
49  bool wantsGlobalLuminosityBlocks() const noexcept final {
51  }
52 
53  SerialTaskQueue* globalRunsQueue() final { return globalRunsQueue_.queue(); }
55 
56  // ---------- static member functions --------------------
57 
58  // ---------- member functions ---------------------------
59 
60  private:
61  // ---------- member data --------------------------------
65  };
66  } // namespace one
67 } // namespace edm
68 
69 #endif
const OutputModule & operator=(const OutputModule &)=delete
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: OutputModule.h:62
SerialTaskQueue * globalRunsQueue() final
Definition: OutputModule.h:53
bool wantsInputProcessBlocks() const noexcept final
Definition: OutputModule.h:47
bool wantsProcessBlocks() const noexcept final
Definition: OutputModule.h:46
bool wantsGlobalRuns() const noexcept final
Definition: OutputModule.h:48
bool wantsGlobalLuminosityBlocks() const noexcept final
Definition: OutputModule.h:49
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: OutputModule.h:64
HLT enums.
SerialTaskQueue * globalLuminosityBlocksQueue() final
Definition: OutputModule.h:54
long double T
OutputModule(edm::ParameterSet const &iPSet)
Definition: OutputModule.h:32