CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
edm::MakeModuleHelper< Base > Class Template Reference

#include "MakeModuleHelper.h"

Public Member Functions

 MakeModuleHelper ()=delete
 
 MakeModuleHelper (const MakeModuleHelper &)=delete
 
const MakeModuleHelperoperator= (const MakeModuleHelper &)=delete
 

Static Public Member Functions

template<typename T >
static std::unique_ptr< Base > makeModule (ParameterSet const &pset)
 

Detailed Description

template<typename Base>
class edm::MakeModuleHelper< Base >

Description: A template class which can be specialized to create a module from a user type

Usage: <usage>

Definition at line 30 of file MakeModuleHelper.h.

Constructor & Destructor Documentation

◆ MakeModuleHelper() [1/2]

template<typename Base >
edm::MakeModuleHelper< Base >::MakeModuleHelper ( )
delete

◆ MakeModuleHelper() [2/2]

template<typename Base >
edm::MakeModuleHelper< Base >::MakeModuleHelper ( const MakeModuleHelper< Base > &  )
delete

Member Function Documentation

◆ makeModule()

template<typename Base >
template<typename T >
static std::unique_ptr<Base> edm::MakeModuleHelper< Base >::makeModule ( ParameterSet const &  pset)
inlinestatic

Definition at line 38 of file MakeModuleHelper.h.

38  {
39  auto module = std::make_unique<T>(pset);
40  return std::unique_ptr<Base>(module.release());
41  }

References callgraph::module, and muonDTDigis_cfi::pset.

◆ operator=()

template<typename Base >
const MakeModuleHelper& edm::MakeModuleHelper< Base >::operator= ( const MakeModuleHelper< Base > &  )
delete
callgraph.module
module
Definition: callgraph.py:61
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27