CMS 3D CMS Logo

EDProducerAdaptor.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_stream_EDProducerAdaptor_h
2 #define FWCore_Framework_stream_EDProducerAdaptor_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : EDProducerAdaptor
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Fri, 02 Aug 2013 18:09:18 GMT
19 //
20 
21 // system include files
22 
23 // user include files
27 // forward declarations
28 
29 namespace edm {
30  namespace stream {
31  template <typename ABase, typename ModType>
32  struct BaseToAdaptor;
33 
34  template <typename T>
36 
37  template <typename ModType>
40  };
41  } // namespace stream
42 
43  template <>
46 
47  public:
48  template <typename ModType>
49  static std::unique_ptr<Base> makeModule(ParameterSet const& pset) {
50  typedef typename stream::BaseToAdaptor<Base, ModType>::Type Adaptor;
51  auto module = std::make_unique<Adaptor>(pset);
52  return std::unique_ptr<Base>(module.release());
53  }
54  };
55 } // namespace edm
56 
57 #endif
edm::stream::ProducingModuleAdaptor
Definition: ProducingModuleAdaptor.h:42
edm
HLT enums.
Definition: AlignableModifier.h:19
cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition: HistoContainer.h:51
edm::MakeModuleHelper< edm::stream::EDProducerAdaptorBase >::makeModule
static std::unique_ptr< Base > makeModule(ParameterSet const &pset)
Definition: EDProducerAdaptor.h:49
edm::stream::EDProducerAdaptorBase
Definition: EDProducerAdaptorBase.h:48
edm::stream::BaseToAdaptor< EDProducerAdaptorBase, ModType >::Type
EDProducerAdaptor< ModType > Type
Definition: EDProducerAdaptor.h:39
edm::MakeModuleHelper< edm::stream::EDProducerAdaptorBase >::Base
edm::stream::EDProducerAdaptorBase Base
Definition: EDProducerAdaptor.h:45
edm::MakeModuleHelper
Definition: MakeModuleHelper.h:30
EDProducerAdaptorBase.h
edm::ParameterSet
Definition: ParameterSet.h:47
MakeModuleHelper.h
edm::stream::BaseToAdaptor
Definition: EDAnalyzerAdaptor.h:44
callgraph.module
module
Definition: callgraph.py:61
ProducingModuleAdaptor.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27